mpm.h 490 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef __QCOM_MPM_H__
  7. #define __QCOM_MPM_H__
  8. #include <linux/cpumask.h>
  9. #if IS_ENABLED(CONFIG_MPM_LEGACY)
  10. int msm_mpm_enter_sleep(struct cpumask *cpumask);
  11. #else
  12. static inline int msm_mpm_enter_sleep(struct cpumask *cpumask)
  13. {
  14. return -ENODEV;
  15. }
  16. #endif
  17. #endif /* __QCOM_MPM_H__ */