Home
last modified time | relevance | path

Searched refs:power_dev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/pmdomain/imx/
H A Dimx8m-blk-ctrl.c67 struct device *power_dev; member
114 ret = pm_runtime_get_sync(domain->power_dev); in imx8m_blk_ctrl_power_on()
159 pm_runtime_put(domain->power_dev); in imx8m_blk_ctrl_power_off()
259 domain->power_dev = in imx8m_blk_ctrl_probe()
261 if (IS_ERR(domain->power_dev)) { in imx8m_blk_ctrl_probe()
265 ret = PTR_ERR(domain->power_dev); in imx8m_blk_ctrl_probe()
344 dev_pm_domain_detach(domain->power_dev, true); in imx8m_blk_ctrl_remove()
377 ret = pm_runtime_get_sync(domain->power_dev); in imx8m_blk_ctrl_suspend()
379 pm_runtime_put_noidle(domain->power_dev); in imx8m_blk_ctrl_suspend()
388 pm_runtime_put(bc->domains[i].power_dev); in imx8m_blk_ctrl_suspend()
[all …]
H A Dimx8mp-blk-ctrl.c66 struct device *power_dev; member
589 pm_runtime_put(domain->power_dev); in imx8mp_blk_ctrl_power_off()
688 domain->power_dev = in imx8mp_blk_ctrl_probe()
690 if (IS_ERR(domain->power_dev)) { in imx8mp_blk_ctrl_probe()
691 dev_err_probe(dev, PTR_ERR(domain->power_dev), in imx8mp_blk_ctrl_probe()
694 ret = PTR_ERR(domain->power_dev); in imx8mp_blk_ctrl_probe()
774 dev_pm_domain_detach(domain->power_dev, true); in imx8mp_blk_ctrl_remove()
807 ret = pm_runtime_get_sync(domain->power_dev); in imx8mp_blk_ctrl_suspend()
809 pm_runtime_put_noidle(domain->power_dev); in imx8mp_blk_ctrl_suspend()
818 pm_runtime_put(bc->domains[i].power_dev); in imx8mp_blk_ctrl_suspend()
[all …]