Searched refs:pm_ops (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/media/platform/qcom/venus/ |
| A 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()
|
| A D | core.c | 323 if (!core->pm_ops) in venus_probe() 326 if (core->pm_ops->core_get) { in venus_probe() 421 if (core->pm_ops->core_put) 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 480 if (pm_ops->core_power) { in venus_runtime_suspend() 499 if (pm_ops->core_power) in venus_runtime_suspend() 508 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_runtime_resume() local [all …]
|
| A 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()
|
| A 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()
|
| A D | core.h | 218 const struct venus_pm_ops *pm_ops; member
|
| /linux/drivers/soc/ti/ |
| A D | pm33xx.c | 139 if (!m3_ipc || !pm_ops) 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() 211 pm_ops->restore_context(); in am33xx_pm_suspend() 289 pm_ops->begin_suspend(); in am33xx_pm_begin() 333 pm_ops->finish_suspend(); in am33xx_pm_end() 492 pm_ops = dev->platform_data; in am33xx_pm_probe() 493 if (!pm_ops) { in am33xx_pm_probe() 504 pm_sram = pm_ops->get_sram_addrs(); in am33xx_pm_probe() 580 if (pm_ops->deinit) in am33xx_pm_remove() [all …]
|
| /linux/sound/soc/sof/ |
| A 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/sound/soc/sof/intel/ |
| A 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()
|
| A 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()
|
| A 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/include/trace/events/ |
| A 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),
|
Completed in 35 milliseconds