Home
last modified time | relevance | path

Searched refs:pm_dev (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/maps/
Dl440gx.c62 struct pci_dev *dev, *pm_dev; in init_l440gx() local
69 pm_dev = pci_get_device(PCI_VENDOR_ID_INTEL, in init_l440gx()
74 if (!dev || !pm_dev) { in init_l440gx()
76 pci_dev_put(pm_dev); in init_l440gx()
84 pci_dev_put(pm_dev); in init_l440gx()
95 pm_iobase = &pm_dev->resource[PIIXE_IOBASE_RESOURCE]; in init_l440gx()
103 pci_read_config_dword(pm_dev, 0x40, &iobase); in init_l440gx()
108 pci_dev_put(pm_dev); in init_l440gx()
111 if (pci_assign_resource(pm_dev, PIIXE_IOBASE_RESOURCE) != 0) { in init_l440gx()
113 pci_dev_put(pm_dev); in init_l440gx()
[all …]
/drivers/misc/lis3lv02d/
Dlis3lv02d.c436 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()
[all …]
Dlis3lv02d.h244 struct device *pm_dev; /* for pm_runtime purposes */ member
Dlis3lv02d_i2c.c144 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
/drivers/net/wireless/bcmdhd/
Dbcmsdh_linux.c78 struct device *pm_dev; variable
235 pm_dev = dev; in bcmsdh_probe()
298 if (pm_dev) { in bcmsdh_remove()
299 device_init_wakeup(pm_dev, 0); in bcmsdh_remove()
300 pm_dev = NULL; in bcmsdh_remove()
Ddhd_linux.c5908 if (pm_dev)
5909 pm_stay_awake(pm_dev);
5943 if (pm_dev)
5944 pm_relax(pm_dev);
5971 if (dhd && (dhd->wakelock_counter > 0) && pm_dev)
/drivers/net/wireless/bcmdhd/include/
Dbcmsdh.h51 extern struct device *pm_dev;