mss_pm_ipc.h 954 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (C) 2018 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. #ifndef MSS_PM_IPC_H
  8. #define MSS_PM_IPC_H
  9. #include <mss_ipc_drv.h>
  10. /* Currently MSS does not support Cluster level Power Down */
  11. #define DISABLE_CLUSTER_LEVEL
  12. /*****************************************************************************
  13. * mss_pm_ipc_msg_send
  14. *
  15. * DESCRIPTION: create and transmit IPC message
  16. *****************************************************************************
  17. */
  18. int mss_pm_ipc_msg_send(unsigned int channel_id, unsigned int msg_id,
  19. const psci_power_state_t *target_state);
  20. /*****************************************************************************
  21. * mss_pm_ipc_msg_trigger
  22. *
  23. * DESCRIPTION: Trigger IPC message interrupt to MSS
  24. *****************************************************************************
  25. */
  26. int mss_pm_ipc_msg_trigger(void);
  27. #endif /* MSS_PM_IPC_H */