#include "iosm_ipc_protocol.h"
#define IPC_PM_ACTIVE_TIMEOUT_MS …
#define IPC_PM_SLEEP …
#define CONSUME_STATE …
#define IPC_PM_ACTIVE …
void ipc_pm_signal_hpda_doorbell(struct iosm_pm *ipc_pm, u32 identifier,
bool host_slp_check)
{ … }
static bool ipc_pm_link_activate(struct iosm_pm *ipc_pm)
{ … }
bool ipc_pm_wait_for_device_active(struct iosm_pm *ipc_pm)
{ … }
static void ipc_pm_on_link_sleep(struct iosm_pm *ipc_pm)
{ … }
static void ipc_pm_on_link_wake(struct iosm_pm *ipc_pm, bool ack)
{ … }
bool ipc_pm_trigger(struct iosm_pm *ipc_pm, enum ipc_pm_unit unit, bool active)
{ … }
bool ipc_pm_prepare_host_sleep(struct iosm_pm *ipc_pm)
{ … }
bool ipc_pm_prepare_host_active(struct iosm_pm *ipc_pm)
{ … }
void ipc_pm_set_s2idle_sleep(struct iosm_pm *ipc_pm, bool sleep)
{ … }
bool ipc_pm_dev_slp_notification(struct iosm_pm *ipc_pm, u32 cp_pm_req)
{ … }
void ipc_pm_init(struct iosm_protocol *ipc_protocol)
{ … }
void ipc_pm_deinit(struct iosm_protocol *proto)
{ … }