Searched refs:m3_ipc (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | wkup_m3_ipc.c | 69 static void am33xx_txev_eoi(struct wkup_m3_ipc *m3_ipc) in am33xx_txev_eoi() argument 72 m3_ipc->ipc_mem_base + AM33XX_CONTROL_M3_TXEV_EOI); in am33xx_txev_eoi() 75 static void am33xx_txev_enable(struct wkup_m3_ipc *m3_ipc) in am33xx_txev_enable() argument 78 m3_ipc->ipc_mem_base + AM33XX_CONTROL_M3_TXEV_EOI); in am33xx_txev_enable() 81 static void wkup_m3_ctrl_ipc_write(struct wkup_m3_ipc *m3_ipc, in wkup_m3_ctrl_ipc_write() argument 88 writel(val, m3_ipc->ipc_mem_base + in wkup_m3_ctrl_ipc_write() 92 static unsigned int wkup_m3_ctrl_ipc_read(struct wkup_m3_ipc *m3_ipc, in wkup_m3_ctrl_ipc_read() argument 99 return readl(m3_ipc->ipc_mem_base + in wkup_m3_ctrl_ipc_read() 103 static int wkup_m3_fw_version_read(struct wkup_m3_ipc *m3_ipc) in wkup_m3_fw_version_read() argument 107 val = wkup_m3_ctrl_ipc_read(m3_ipc, 2); in wkup_m3_fw_version_read() [all …]
|
D | pm33xx.c | 60 static struct wkup_m3_ipc *m3_ipc; variable 140 if (!m3_ipc || !pm_ops) in am33xx_do_sram_idle() 144 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_IDLE); in am33xx_do_sram_idle() 213 m3_ipc->ops->set_rtc_only(m3_ipc); in am33xx_pm_suspend() 224 i = m3_ipc->ops->request_pm_status(m3_ipc); in am33xx_pm_suspend() 248 m3_ipc->ops->request_wake_src(m3_ipc)); in am33xx_pm_suspend() 294 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_DEEPSLEEP); in am33xx_pm_begin() 297 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_STANDBY); in am33xx_pm_begin() 313 m3_ipc->ops->finish_low_power(m3_ipc); in am33xx_pm_end() 366 m3_ipc->ops->set_mem_type(m3_ipc, temp); in am33xx_pm_set_ipc_ops() [all …]
|
/kernel/linux/linux-5.10/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);
|