Searched refs:m3_ipc (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/soc/ti/ |
D | wkup_m3_ipc.c | 76 static void am33xx_txev_eoi(struct wkup_m3_ipc *m3_ipc) in am33xx_txev_eoi() argument 79 m3_ipc->ipc_mem_base + AM33XX_CONTROL_M3_TXEV_EOI); in am33xx_txev_eoi() 82 static void am33xx_txev_enable(struct wkup_m3_ipc *m3_ipc) in am33xx_txev_enable() argument 85 m3_ipc->ipc_mem_base + AM33XX_CONTROL_M3_TXEV_EOI); in am33xx_txev_enable() 88 static void wkup_m3_ctrl_ipc_write(struct wkup_m3_ipc *m3_ipc, in wkup_m3_ctrl_ipc_write() argument 95 writel(val, m3_ipc->ipc_mem_base + in wkup_m3_ctrl_ipc_write() 99 static unsigned int wkup_m3_ctrl_ipc_read(struct wkup_m3_ipc *m3_ipc, in wkup_m3_ctrl_ipc_read() argument 106 return readl(m3_ipc->ipc_mem_base + in wkup_m3_ctrl_ipc_read() 110 static int wkup_m3_fw_version_read(struct wkup_m3_ipc *m3_ipc) in wkup_m3_fw_version_read() argument 114 val = wkup_m3_ctrl_ipc_read(m3_ipc, 2); in wkup_m3_fw_version_read() [all …]
|
D | pm33xx.c | 42 static struct wkup_m3_ipc *m3_ipc; variable 63 i = m3_ipc->ops->request_pm_status(m3_ipc); in am33xx_pm_suspend() 107 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_DEEPSLEEP); in am33xx_pm_begin() 110 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_STANDBY); in am33xx_pm_begin() 119 m3_ipc->ops->finish_low_power(m3_ipc); in am33xx_pm_end() 151 m3_ipc->ops->set_mem_type(m3_ipc, temp); in am33xx_pm_set_ipc_ops() 157 m3_ipc->ops->set_resume_address(m3_ipc, (void *)resume_address); in am33xx_pm_set_ipc_ops() 303 m3_ipc = wkup_m3_ipc_get(); in am33xx_pm_probe() 304 if (!m3_ipc) { in am33xx_pm_probe() 337 wkup_m3_ipc_put(m3_ipc); in am33xx_pm_probe() [all …]
|
/Linux-v4.19/include/linux/ |
D | wkup_m3_ipc.h | 52 void (*set_mem_type)(struct wkup_m3_ipc *m3_ipc, int mem_type); 53 void (*set_resume_address)(struct wkup_m3_ipc *m3_ipc, void *addr); 54 int (*prepare_low_power)(struct wkup_m3_ipc *m3_ipc, int state); 55 int (*finish_low_power)(struct wkup_m3_ipc *m3_ipc); 56 int (*request_pm_status)(struct wkup_m3_ipc *m3_ipc); 57 const char *(*request_wake_src)(struct wkup_m3_ipc *m3_ipc); 58 void (*set_rtc_only)(struct wkup_m3_ipc *m3_ipc); 62 void wkup_m3_ipc_put(struct wkup_m3_ipc *m3_ipc);
|