Lines Matching refs:pm_dev
113 struct device *pm_dev; member
125 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
406 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_write_enable()
424 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
432 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
775 ina->pm_dev = dev; in ina3221_probe()
780 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
787 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
804 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
805 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
808 pm_runtime_put_noidle(ina->pm_dev); in ina3221_probe()
819 pm_runtime_disable(ina->pm_dev); in ina3221_remove()
820 pm_runtime_set_suspended(ina->pm_dev); in ina3221_remove()
824 pm_runtime_put_noidle(ina->pm_dev); in ina3221_remove()