Home
last modified time | relevance | path

Searched refs:m3_ipc (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/soc/ti/
Dwkup_m3_ipc.c97 static unsigned long wkup_m3_copy_aux_data(struct wkup_m3_ipc *m3_ipc, in wkup_m3_copy_aux_data() argument
104 aux_data_addr = rproc_da_to_va(m3_ipc->rproc, in wkup_m3_copy_aux_data()
117 struct wkup_m3_ipc *m3_ipc = context; in wkup_m3_scale_data_fw_cb() local
118 struct device *dev = m3_ipc->dev; in wkup_m3_scale_data_fw_cb()
132 aux_base = wkup_m3_copy_aux_data(m3_ipc, fw->data + sizeof(hdr), in wkup_m3_scale_data_fw_cb()
138 m3_ipc->volt_scale_offsets = val; in wkup_m3_scale_data_fw_cb()
144 static int wkup_m3_init_scale_data(struct wkup_m3_ipc *m3_ipc, in wkup_m3_init_scale_data() argument
154 if (!m3_ipc->sd_fw_name) in wkup_m3_init_scale_data()
158 m3_ipc->sd_fw_name, dev, GFP_ATOMIC, in wkup_m3_init_scale_data()
159 m3_ipc, wkup_m3_scale_data_fw_cb); in wkup_m3_init_scale_data()
[all …]
Dpm33xx.c61 static struct wkup_m3_ipc *m3_ipc; variable
139 if (!m3_ipc || !pm_ops) in am33xx_do_sram_idle()
143 m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_IDLE); in am33xx_do_sram_idle()
212 m3_ipc->ops->set_rtc_only(m3_ipc); in am33xx_pm_suspend()
223 i = m3_ipc->ops->request_pm_status(m3_ipc); in am33xx_pm_suspend()
247 m3_ipc->ops->request_wake_src(m3_ipc)); in am33xx_pm_suspend()
293 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_DEEPSLEEP); in am33xx_pm_begin()
296 ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_STANDBY); in am33xx_pm_begin()
312 m3_ipc->ops->finish_low_power(m3_ipc); in am33xx_pm_end()
365 m3_ipc->ops->set_mem_type(m3_ipc, temp); in am33xx_pm_set_ipc_ops()
[all …]
/Linux-v6.1/include/linux/
Dwkup_m3_ipc.h57 void (*set_mem_type)(struct wkup_m3_ipc *m3_ipc, int mem_type);
58 void (*set_resume_address)(struct wkup_m3_ipc *m3_ipc, void *addr);
59 int (*prepare_low_power)(struct wkup_m3_ipc *m3_ipc, int state);
60 int (*finish_low_power)(struct wkup_m3_ipc *m3_ipc);
61 int (*request_pm_status)(struct wkup_m3_ipc *m3_ipc);
62 const char *(*request_wake_src)(struct wkup_m3_ipc *m3_ipc);
63 void (*set_rtc_only)(struct wkup_m3_ipc *m3_ipc);
67 void wkup_m3_ipc_put(struct wkup_m3_ipc *m3_ipc);