Lines Matching refs:pm_dev
123 struct device *pm_dev; member
140 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
495 ret = pm_runtime_resume_and_get(ina->pm_dev); in ina3221_write_enable()
513 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
521 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
873 ina->pm_dev = dev; in ina3221_probe()
877 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
884 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
907 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
908 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
911 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()