qseecom_priv.h 671 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef __QSEECOM_PRIV_H_
  6. #define __QSEECOM_PRIV_H_
  7. #include <linux/types.h>
  8. #if IS_ENABLED(CONFIG_QSEECOM) || IS_ENABLED(CONFIG_ARCH_SA8155)
  9. int qseecom_process_listener_from_smcinvoke(uint32_t *result,
  10. u64 *response_type, unsigned int *data);
  11. #else
  12. static inline int qseecom_process_listener_from_smcinvoke(uint32_t *result,
  13. u64 *response_type, unsigned int *data)
  14. {
  15. return -EOPNOTSUPP;
  16. }
  17. int get_qseecom_kernel_fun_ops(void);
  18. #endif
  19. #endif