Lines Matching refs:pm_dev
463 if (lis3->pm_dev) in lis3lv02d_joystick_open()
464 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_joystick_open()
482 if (lis3->pm_dev) in lis3lv02d_joystick_close()
483 pm_runtime_put(lis3->pm_dev); in lis3lv02d_joystick_close()
581 if (lis3->pm_dev) in lis3lv02d_misc_open()
582 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_misc_open()
594 if (lis3->pm_dev) in lis3lv02d_misc_release()
595 pm_runtime_put(lis3->pm_dev); in lis3lv02d_misc_release()
775 if (lis3->pm_dev) { in lis3lv02d_sysfs_poweron()
776 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_sysfs_poweron()
777 pm_runtime_put_noidle(lis3->pm_dev); in lis3lv02d_sysfs_poweron()
778 pm_schedule_suspend(lis3->pm_dev, LIS3_SYSFS_POWERDOWN_DELAY); in lis3lv02d_sysfs_poweron()
885 if (lis3->pm_dev) { in lis3lv02d_remove_fs()
887 pm_runtime_barrier(lis3->pm_dev); in lis3lv02d_remove_fs()
890 if (!pm_runtime_suspended(lis3->pm_dev)) in lis3lv02d_remove_fs()
893 pm_runtime_disable(lis3->pm_dev); in lis3lv02d_remove_fs()
894 pm_runtime_set_suspended(lis3->pm_dev); in lis3lv02d_remove_fs()
1194 if (lis3->pm_dev) { in lis3lv02d_init_device()
1195 pm_runtime_set_active(lis3->pm_dev); in lis3lv02d_init_device()
1196 pm_runtime_enable(lis3->pm_dev); in lis3lv02d_init_device()