Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pmdomain/imx/
H A Dimx8m-blk-ctrl.c33 struct device *bus_power_dev; member
93 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
95 pm_runtime_put_noidle(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
140 pm_runtime_put(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
162 pm_runtime_put(bc->bus_power_dev); in imx8m_blk_ctrl_power_off()
215 if (IS_ERR(bc->bus_power_dev)) { in imx8m_blk_ctrl_probe()
216 if (PTR_ERR(bc->bus_power_dev) == -ENODEV) in imx8m_blk_ctrl_probe()
368 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8m_blk_ctrl_suspend()
370 pm_runtime_put_noidle(bc->bus_power_dev); in imx8m_blk_ctrl_suspend()
390 pm_runtime_put(bc->bus_power_dev); in imx8m_blk_ctrl_suspend()
[all …]
H A Dimx8mp-blk-ctrl.c41 struct device *bus_power_dev; member
167 ret = devm_clk_hw_register(bc->bus_power_dev, hw); in imx8mp_hsio_blk_ctrl_probe()
565 pm_runtime_put(bc->bus_power_dev); in imx8mp_blk_ctrl_power_on()
592 pm_runtime_put(bc->bus_power_dev); in imx8mp_blk_ctrl_power_off()
646 if (IS_ERR(bc->bus_power_dev)) in imx8mp_blk_ctrl_probe()
758 dev_pm_domain_detach(bc->bus_power_dev, true); in imx8mp_blk_ctrl_probe()
779 dev_pm_domain_detach(bc->bus_power_dev, true); in imx8mp_blk_ctrl_remove()
798 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8mp_blk_ctrl_suspend()
800 pm_runtime_put_noidle(bc->bus_power_dev); in imx8mp_blk_ctrl_suspend()
820 pm_runtime_put(bc->bus_power_dev); in imx8mp_blk_ctrl_suspend()
[all …]