Lines Matching refs:bus_power_dev
41 struct device *bus_power_dev; member
167 ret = devm_clk_hw_register(bc->bus_power_dev, hw); in imx8mp_hsio_blk_ctrl_probe()
531 ret = pm_runtime_resume_and_get(bc->bus_power_dev); in imx8mp_blk_ctrl_power_on()
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()
645 bc->bus_power_dev = dev_pm_domain_attach_by_name(dev, "bus"); in imx8mp_blk_ctrl_probe()
646 if (IS_ERR(bc->bus_power_dev)) in imx8mp_blk_ctrl_probe()
647 return dev_err_probe(dev, PTR_ERR(bc->bus_power_dev), in imx8mp_blk_ctrl_probe()
734 ret = dev_pm_genpd_add_notifier(bc->bus_power_dev, &bc->power_nb); in imx8mp_blk_ctrl_probe()
758 dev_pm_domain_detach(bc->bus_power_dev, true); in imx8mp_blk_ctrl_probe()
777 dev_pm_genpd_remove_notifier(bc->bus_power_dev); in imx8mp_blk_ctrl_remove()
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()
833 pm_runtime_put(bc->bus_power_dev); in imx8mp_blk_ctrl_resume()