Searched refs:pm_dev (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/mtd/maps/
H A Dl440gx.c62 struct pci_dev *dev, *pm_dev; init_l440gx() local
69 pm_dev = pci_get_device(PCI_VENDOR_ID_INTEL, init_l440gx()
74 if (!dev || !pm_dev) { init_l440gx()
76 pci_dev_put(pm_dev); init_l440gx()
84 pci_dev_put(pm_dev); init_l440gx()
95 pm_iobase = &pm_dev->resource[PIIXE_IOBASE_RESOURCE]; init_l440gx()
103 pci_read_config_dword(pm_dev, 0x40, &iobase); init_l440gx()
108 pci_dev_put(pm_dev); init_l440gx()
111 if (pci_assign_resource(pm_dev, PIIXE_IOBASE_RESOURCE) != 0) { init_l440gx()
113 pci_dev_put(pm_dev); init_l440gx()
121 pci_write_config_dword(pm_dev, 0x40, iobase | 1); init_l440gx()
/linux-4.4.14/drivers/net/wireless/cw1200/
H A Dpm.h24 struct platform_device *pm_dev; member in struct:cw1200_pm_state
/linux-4.4.14/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c467 if (lis3->pm_dev) lis3lv02d_joystick_open()
468 pm_runtime_get_sync(lis3->pm_dev); lis3lv02d_joystick_open()
484 if (lis3->pm_dev) lis3lv02d_joystick_close()
485 pm_runtime_put(lis3->pm_dev); lis3lv02d_joystick_close()
583 if (lis3->pm_dev) lis3lv02d_misc_open()
584 pm_runtime_get_sync(lis3->pm_dev); lis3lv02d_misc_open()
596 if (lis3->pm_dev) lis3lv02d_misc_release()
597 pm_runtime_put(lis3->pm_dev); lis3lv02d_misc_release()
770 if (lis3->pm_dev) { lis3lv02d_sysfs_poweron()
771 pm_runtime_get_sync(lis3->pm_dev); lis3lv02d_sysfs_poweron()
772 pm_runtime_put_noidle(lis3->pm_dev); lis3lv02d_sysfs_poweron()
773 pm_schedule_suspend(lis3->pm_dev, LIS3_SYSFS_POWERDOWN_DELAY); lis3lv02d_sysfs_poweron()
877 if (lis3->pm_dev) { lis3lv02d_remove_fs()
879 pm_runtime_barrier(lis3->pm_dev); lis3lv02d_remove_fs()
882 if (!pm_runtime_suspended(lis3->pm_dev)) lis3lv02d_remove_fs()
885 pm_runtime_disable(lis3->pm_dev); lis3lv02d_remove_fs()
886 pm_runtime_set_suspended(lis3->pm_dev); lis3lv02d_remove_fs()
1190 if (lis3->pm_dev) { lis3lv02d_init_device()
1191 pm_runtime_set_active(lis3->pm_dev); lis3lv02d_init_device()
1192 pm_runtime_enable(lis3->pm_dev); lis3lv02d_init_device()
H A Dlis3lv02d.h275 struct device *pm_dev; /* for pm_runtime purposes */ member in struct:lis3lv02d
H A Dlis3lv02d_i2c.c169 lis3_dev.pm_dev = &client->dev; lis3lv02d_i2c_probe()

Completed in 168 milliseconds