Lines Matching refs:pm_dev
125 struct device *pm_dev; member
143 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
498 ret = pm_runtime_resume_and_get(ina->pm_dev); in ina3221_write_enable()
516 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
524 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
888 ina->pm_dev = dev; in ina3221_probe()
893 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
900 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
923 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
924 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
927 pm_runtime_put_noidle(ina->pm_dev); in ina3221_probe()
938 pm_runtime_disable(ina->pm_dev); in ina3221_remove()
939 pm_runtime_set_suspended(ina->pm_dev); in ina3221_remove()
943 pm_runtime_put_noidle(ina->pm_dev); in ina3221_remove()