qcom_llcc_pmu.h 417 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _QCOM_LLCC_PMU_H
  6. #define _QCOM_LLCC_PMU_H
  7. #include <linux/kernel.h>
  8. #define QCOM_LLCC_PMU_RD_EV 0x1000
  9. #if IS_ENABLED(CONFIG_QCOM_LLCC_PMU)
  10. int qcom_llcc_pmu_hw_type(u32 *type);
  11. #else
  12. static inline int qcom_llcc_pmu_hw_type(u32 *type)
  13. {
  14. return 0;
  15. }
  16. #endif
  17. #endif /* _QCOM_LLCC_PMU_H */