Home
last modified time | relevance | path

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

/drivers/mtd/maps/
Dl440gx.c63 struct pci_dev *dev, *pm_dev; in init_l440gx() local
70 pm_dev = pci_get_device(PCI_VENDOR_ID_INTEL, in init_l440gx()
75 if (!dev || !pm_dev) { in init_l440gx()
77 pci_dev_put(pm_dev); in init_l440gx()
85 pci_dev_put(pm_dev); in init_l440gx()
96 pm_iobase = &pm_dev->resource[PIIXE_IOBASE_RESOURCE]; in init_l440gx()
104 pci_read_config_dword(pm_dev, 0x40, &iobase); in init_l440gx()
109 pci_dev_put(pm_dev); in init_l440gx()
112 if (pci_assign_resource(pm_dev, PIIXE_IOBASE_RESOURCE) != 0) { in init_l440gx()
114 pci_dev_put(pm_dev); in init_l440gx()
[all …]
/drivers/power/reset/
Dpiix4-poweroff.c13 static struct pci_dev *pm_dev; variable
54 pci_bus_write_config_dword(pm_dev->bus, spec_devid, 0, in piix4_poweroff()
67 if (pm_dev) in piix4_poweroff_probe()
79 pm_dev = dev; in piix4_poweroff_probe()
92 pm_dev = NULL; in piix4_poweroff_remove()
/drivers/hwmon/
Dina3221.c121 struct device *pm_dev; member
138 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
492 ret = pm_runtime_resume_and_get(ina->pm_dev); in ina3221_write_enable()
510 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
518 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
877 ina->pm_dev = dev; in ina3221_probe()
882 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
889 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
906 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
907 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
[all …]
/drivers/misc/lis3lv02d/
Dlis3lv02d.c463 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()
[all …]
Dlis3lv02d.h262 struct device *pm_dev; /* for pm_runtime purposes */ member
Dlis3lv02d_i2c.c157 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
/drivers/net/wireless/st/cw1200/
Dpm.h21 struct platform_device *pm_dev; member
/drivers/gpio/
Dgpio-omap.c990 struct device *pm_dev) in omap_gpio_chip_init() argument
1056 irq_domain_set_pm_device(bank->chip.irq.domain, pm_dev); in omap_gpio_chip_init()