Home
last modified time | relevance | path

Searched refs:pm_ops (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/platform/qcom/venus/
H A Dpm_helpers.h36 if (!core->pm_ops || !core->pm_ops->load_scale) in venus_pm_load_scale()
39 return core->pm_ops->load_scale(inst); in venus_pm_load_scale()
45 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_pm_acquire_core() local
48 if (pm_ops && pm_ops->coreid_power) in venus_pm_acquire_core()
49 ret = pm_ops->coreid_power(inst, POWER_ON); in venus_pm_acquire_core()
57 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_pm_release_core() local
60 if (pm_ops && pm_ops->coreid_power) in venus_pm_release_core()
61 ret = pm_ops->coreid_power(inst, POWER_OFF); in venus_pm_release_core()
/linux/drivers/soc/ti/
H A Dpm33xx.c57 static struct am33xx_pm_platform_data *pm_ops; variable
139 if (!m3_ipc || !pm_ops) in am33xx_do_sram_idle()
145 return pm_ops->cpu_suspend(am33xx_do_wfi_sram, wfi_flags); in am33xx_do_sram_idle()
193 pm_ops->check_off_mode_enable()) { in am33xx_pm_suspend()
200 pm_ops->save_context(); in am33xx_pm_suspend()
203 ret = pm_ops->soc_suspend(suspend_state, am33xx_rtc_only_idle, in am33xx_pm_suspend()
211 pm_ops->restore_context(); in am33xx_pm_suspend()
216 ret = pm_ops->soc_suspend(suspend_state, am33xx_do_wfi_sram, in am33xx_pm_suspend()
251 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend()
278 if (state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) { in am33xx_pm_begin()
[all …]
/linux/sound/soc/sof/
H A Dpm.c76 const struct sof_ipc_pm_ops *pm_ops = sof_ipc_get_ops(sdev, pm); in sof_resume() local
175 if (pm_ops && pm_ops->ctx_restore) { in sof_resume()
176 ret = pm_ops->ctx_restore(sdev); in sof_resume()
199 const struct sof_ipc_pm_ops *pm_ops = sof_ipc_get_ops(sdev, pm); in sof_suspend() local
253 if (pm_ops && pm_ops->ctx_save) { in sof_suspend()
254 ret = pm_ops->ctx_save(sdev); in sof_suspend()
298 const struct sof_ipc_pm_ops *pm_ops = sof_ipc_get_ops(sdev, pm); in snd_sof_dsp_power_down_notify() local
301 if (sof_ops(sdev)->remove && pm_ops && pm_ops->ctx_save) in snd_sof_dsp_power_down_notify()
302 return pm_ops->ctx_save(sdev); in snd_sof_dsp_power_down_notify()
/linux/sound/soc/sof/intel/
H A Dtgl.c34 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in tgl_dsp_core_get() local
40 if (pm_ops->set_core_state) in tgl_dsp_core_get()
41 return pm_ops->set_core_state(sdev, core, true); in tgl_dsp_core_get()
48 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in tgl_dsp_core_put() local
51 if (pm_ops->set_core_state) { in tgl_dsp_core_put()
52 ret = pm_ops->set_core_state(sdev, core, false); in tgl_dsp_core_put()
H A Dmtl.c684 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in mtl_dsp_core_get() local
689 if (pm_ops->set_core_state) in mtl_dsp_core_get()
690 return pm_ops->set_core_state(sdev, core, true); in mtl_dsp_core_get()
698 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in mtl_dsp_core_put() local
701 if (pm_ops->set_core_state) { in mtl_dsp_core_put()
702 ret = pm_ops->set_core_state(sdev, core, false); in mtl_dsp_core_put()
H A Dhda-dsp.c472 const struct sof_ipc_pm_ops *pm_ops = sof_ipc_get_ops(sdev, pm); in hda_dsp_send_pm_gate_ipc() local
474 if (pm_ops && pm_ops->set_pm_gate) in hda_dsp_send_pm_gate_ipc()
475 return pm_ops->set_pm_gate(sdev, flags); in hda_dsp_send_pm_gate_ipc()
1188 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in hda_dsp_core_get() local
1204 if (!pm_ops->set_core_state) in hda_dsp_core_get()
1208 ret = pm_ops->set_core_state(sdev, core, true); in hda_dsp_core_get()
/linux/include/trace/events/
H A Dpower.h200 TP_PROTO(struct device *dev, const char *pm_ops, int event),
202 TP_ARGS(dev, pm_ops, event),
208 __string(pm_ops, pm_ops ? pm_ops : "none ")
216 __assign_str(pm_ops);
221 __get_str(device), __get_str(parent), __get_str(pm_ops),