/linux-6.12.1/drivers/media/platform/qcom/venus/ |
D | pm_helpers.h | 36 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()
|
D | core.c | 322 core->pm_ops = venus_pm_get(core->res->hfi_version); in venus_probe() 323 if (!core->pm_ops) in venus_probe() 326 if (core->pm_ops->core_get) { in venus_probe() 327 ret = core->pm_ops->core_get(core); in venus_probe() 421 if (core->pm_ops->core_put) in venus_probe() 422 core->pm_ops->core_put(core); in venus_probe() 429 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_remove() local 448 if (pm_ops->core_put) in venus_remove() 449 pm_ops->core_put(core); in venus_remove() 473 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_runtime_suspend() local [all …]
|
D | venc.c | 1560 if (core->pm_ops->venc_get) { in venc_probe() 1561 ret = core->pm_ops->venc_get(dev); in venc_probe() 1604 if (core->pm_ops->venc_put) in venc_remove() 1605 core->pm_ops->venc_put(core->dev_enc); in venc_remove() 1611 const struct venus_pm_ops *pm_ops = core->pm_ops; in venc_runtime_suspend() local 1614 if (pm_ops->venc_power) in venc_runtime_suspend() 1615 ret = pm_ops->venc_power(dev, POWER_OFF); in venc_runtime_suspend() 1623 const struct venus_pm_ops *pm_ops = core->pm_ops; in venc_runtime_resume() local 1626 if (pm_ops->venc_power) in venc_runtime_resume() 1627 ret = pm_ops->venc_power(dev, POWER_ON); in venc_runtime_resume()
|
D | vdec.c | 1792 if (core->pm_ops->vdec_get) { in vdec_probe() 1793 ret = core->pm_ops->vdec_get(dev); in vdec_probe() 1836 if (core->pm_ops->vdec_put) in vdec_remove() 1837 core->pm_ops->vdec_put(core->dev_dec); in vdec_remove() 1843 const struct venus_pm_ops *pm_ops = core->pm_ops; in vdec_runtime_suspend() local 1846 if (pm_ops->vdec_power) in vdec_runtime_suspend() 1847 ret = pm_ops->vdec_power(dev, POWER_OFF); in vdec_runtime_suspend() 1855 const struct venus_pm_ops *pm_ops = core->pm_ops; in vdec_runtime_resume() local 1858 if (pm_ops->vdec_power) in vdec_runtime_resume() 1859 ret = pm_ops->vdec_power(dev, POWER_ON); in vdec_runtime_resume()
|
D | core.h | 218 const struct venus_pm_ops *pm_ops; member
|
/linux-6.12.1/drivers/soc/ti/ |
D | pm33xx.c | 57 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-6.12.1/sound/soc/sof/ |
D | pm.c | 76 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-6.12.1/sound/soc/sof/intel/ |
D | tgl.c | 34 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()
|
D | mtl.c | 684 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()
|
D | hda-dsp.c | 472 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() 1193 const struct sof_ipc_pm_ops *pm_ops = sdev->ipc->ops->pm; in hda_dsp_core_get() local 1209 if (!pm_ops->set_core_state) in hda_dsp_core_get() 1213 ret = pm_ops->set_core_state(sdev, core, true); in hda_dsp_core_get()
|
/linux-6.12.1/include/trace/events/ |
D | power.h | 200 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),
|