Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
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()
Dcore.c249 core->pm_ops = venus_pm_get(core->res->hfi_version); in venus_probe()
250 if (!core->pm_ops) in venus_probe()
253 if (core->pm_ops->core_get) { in venus_probe()
254 ret = core->pm_ops->core_get(core); in venus_probe()
345 if (core->pm_ops->core_put) in venus_probe()
346 core->pm_ops->core_put(core); in venus_probe()
353 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_remove() local
371 if (pm_ops->core_put) in venus_remove()
372 pm_ops->core_put(core); in venus_remove()
388 const struct venus_pm_ops *pm_ops = core->pm_ops; in venus_runtime_suspend() local
[all …]
Dvenc.c1162 if (core->pm_ops->venc_get) { in venc_probe()
1163 ret = core->pm_ops->venc_get(dev); in venc_probe()
1204 if (core->pm_ops->venc_put) in venc_remove()
1205 core->pm_ops->venc_put(core->dev_enc); in venc_remove()
1213 const struct venus_pm_ops *pm_ops = core->pm_ops; in venc_runtime_suspend() local
1216 if (pm_ops->venc_power) in venc_runtime_suspend()
1217 ret = pm_ops->venc_power(dev, POWER_OFF); in venc_runtime_suspend()
1225 const struct venus_pm_ops *pm_ops = core->pm_ops; in venc_runtime_resume() local
1228 if (pm_ops->venc_power) in venc_runtime_resume()
1229 ret = pm_ops->venc_power(dev, POWER_ON); in venc_runtime_resume()
Dvdec.c1583 if (core->pm_ops->vdec_get) { in vdec_probe()
1584 ret = core->pm_ops->vdec_get(dev); in vdec_probe()
1627 if (core->pm_ops->vdec_put) in vdec_remove()
1628 core->pm_ops->vdec_put(core->dev_dec); in vdec_remove()
1636 const struct venus_pm_ops *pm_ops = core->pm_ops; in vdec_runtime_suspend() local
1639 if (pm_ops->vdec_power) in vdec_runtime_suspend()
1640 ret = pm_ops->vdec_power(dev, POWER_OFF); in vdec_runtime_suspend()
1648 const struct venus_pm_ops *pm_ops = core->pm_ops; in vdec_runtime_resume() local
1651 if (pm_ops->vdec_power) in vdec_runtime_resume()
1652 ret = pm_ops->vdec_power(dev, POWER_ON); in vdec_runtime_resume()
Dcore.h187 const struct venus_pm_ops *pm_ops; member
/kernel/linux/linux-5.10/drivers/soc/ti/
Dpm33xx.c56 static struct am33xx_pm_platform_data *pm_ops; variable
140 if (!m3_ipc || !pm_ops) in am33xx_do_sram_idle()
146 return pm_ops->cpu_suspend(am33xx_do_wfi_sram, wfi_flags); in am33xx_do_sram_idle()
194 pm_ops->check_off_mode_enable()) { in am33xx_pm_suspend()
201 pm_ops->save_context(); in am33xx_pm_suspend()
204 ret = pm_ops->soc_suspend(suspend_state, am33xx_rtc_only_idle, in am33xx_pm_suspend()
212 pm_ops->restore_context(); in am33xx_pm_suspend()
217 ret = pm_ops->soc_suspend(suspend_state, am33xx_do_wfi_sram, in am33xx_pm_suspend()
252 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend()
279 if (state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) { in am33xx_pm_begin()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dpower.h178 TP_PROTO(struct device *dev, const char *pm_ops, int event),
180 TP_ARGS(dev, pm_ops, event),
186 __string(pm_ops, pm_ops ? pm_ops : "none ")
195 __assign_str(pm_ops, pm_ops ? pm_ops : "none ");
200 __get_str(device), __get_str(parent), __get_str(pm_ops),
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch22387 + const struct ls_pcie_host_pm_ops *pm_ops;
22746 + .pm_ops = &ls1021a_pcie_host_pm_ops,
22757 + .pm_ops = &ls1043a_pcie_host_pm_ops,
22769 + .pm_ops = &ls_pcie_host_pm_ops,
22803 + if (pcie->drvdata->pm_ops && pcie->drvdata->pm_ops->pm_init &&
22804 + !pcie->drvdata->pm_ops->pm_init(pcie))
22861 + pcie->drvdata->pm_ops->send_turn_off_message(pcie);
22887 + pcie->drvdata->pm_ops->exit_from_l2(pcie);