Lines Matching refs:pm_dev
436 if (lis3->pm_dev) in lis3lv02d_joystick_open()
437 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_joystick_open()
453 if (lis3->pm_dev) in lis3lv02d_joystick_close()
454 pm_runtime_put(lis3->pm_dev); in lis3lv02d_joystick_close()
552 if (lis3->pm_dev) in lis3lv02d_misc_open()
553 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_misc_open()
566 if (lis3->pm_dev) in lis3lv02d_misc_release()
567 pm_runtime_put(lis3->pm_dev); in lis3lv02d_misc_release()
740 if (lis3->pm_dev) { in lis3lv02d_sysfs_poweron()
741 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_sysfs_poweron()
742 pm_runtime_put_noidle(lis3->pm_dev); in lis3lv02d_sysfs_poweron()
743 pm_schedule_suspend(lis3->pm_dev, LIS3_SYSFS_POWERDOWN_DELAY); in lis3lv02d_sysfs_poweron()
845 if (lis3->pm_dev) { in lis3lv02d_remove_fs()
847 pm_runtime_barrier(lis3->pm_dev); in lis3lv02d_remove_fs()
850 if (!pm_runtime_suspended(lis3->pm_dev)) in lis3lv02d_remove_fs()
853 pm_runtime_disable(lis3->pm_dev); in lis3lv02d_remove_fs()
854 pm_runtime_set_suspended(lis3->pm_dev); in lis3lv02d_remove_fs()
982 if (lis3->pm_dev) { in lis3lv02d_init_device()
983 pm_runtime_set_active(lis3->pm_dev); in lis3lv02d_init_device()
984 pm_runtime_enable(lis3->pm_dev); in lis3lv02d_init_device()