Searched refs:power_dev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/pmdomain/imx/ |
H A D | imx8m-blk-ctrl.c | 67 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() 262 dev_err_probe(dev, PTR_ERR(domain->power_dev), in imx8m_blk_ctrl_probe() 265 ret = PTR_ERR(domain->power_dev); in imx8m_blk_ctrl_probe() 279 dev_pm_domain_detach(domain->power_dev, true); in imx8m_blk_ctrl_probe() 325 dev_pm_domain_detach(bc->domains[i].power_dev, true); in imx8m_blk_ctrl_probe() 344 dev_pm_domain_detach(domain->power_dev, true); in imx8m_blk_ctrl_remove() [all …]
|
H A D | imx8mp-blk-ctrl.c | 66 struct device *power_dev; member 548 ret = pm_runtime_resume_and_get(domain->power_dev); in imx8mp_blk_ctrl_power_on() 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() 707 dev_pm_domain_detach(domain->power_dev, true); in imx8mp_blk_ctrl_probe() 755 dev_pm_domain_detach(bc->domains[i].power_dev, true); in imx8mp_blk_ctrl_probe() 774 dev_pm_domain_detach(domain->power_dev, true); in imx8mp_blk_ctrl_remove() [all …]
|