qseecom_priv.h 632 B

123456789101112131415161718192021222324
  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. #endif
  18. #endif