Lines Matching refs:pm_dev
121 struct device *pm_dev; member
138 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
492 ret = pm_runtime_resume_and_get(ina->pm_dev); in ina3221_write_enable()
510 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
518 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
877 ina->pm_dev = dev; in ina3221_probe()
882 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
889 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
906 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
907 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
910 pm_runtime_put_noidle(ina->pm_dev); in ina3221_probe()
921 pm_runtime_disable(ina->pm_dev); in ina3221_remove()
922 pm_runtime_set_suspended(ina->pm_dev); in ina3221_remove()
926 pm_runtime_put_noidle(ina->pm_dev); in ina3221_remove()