mt_spm_notifier.h 469 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2021, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef MT_SPM_SSPM_NOTIFIER_H
  7. #define MT_SPM_SSPM_NOTIFIER_H
  8. enum MT_SPM_SSPM_NOTIFY_ID {
  9. MT_SPM_NOTIFY_LP_ENTER,
  10. MT_SPM_NOTIFY_LP_LEAVE,
  11. };
  12. int mt_spm_sspm_notify(int type, unsigned int lp_mode);
  13. static inline int mt_spm_sspm_notify_u32(int type, unsigned int lp_mode)
  14. {
  15. return mt_spm_sspm_notify(type, lp_mode);
  16. }
  17. #endif /* MT_SPM_SSPM_NOTIFIER_H */