Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/hwmon/
Dina3221.c113 struct device *pm_dev; member
125 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
406 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_write_enable()
424 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
432 pm_runtime_put_sync(ina->pm_dev); in ina3221_write_enable()
775 ina->pm_dev = dev; in ina3221_probe()
780 pm_runtime_enable(ina->pm_dev); in ina3221_probe()
787 ret = pm_runtime_get_sync(ina->pm_dev); in ina3221_probe()
804 pm_runtime_disable(ina->pm_dev); in ina3221_probe()
805 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe()
[all …]
/Linux-v5.4/drivers/misc/lis3lv02d/
Dlis3lv02d.c455 if (lis3->pm_dev) in lis3lv02d_joystick_open()
456 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_joystick_open()
472 if (lis3->pm_dev) in lis3lv02d_joystick_close()
473 pm_runtime_put(lis3->pm_dev); in lis3lv02d_joystick_close()
571 if (lis3->pm_dev) in lis3lv02d_misc_open()
572 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_misc_open()
584 if (lis3->pm_dev) in lis3lv02d_misc_release()
585 pm_runtime_put(lis3->pm_dev); in lis3lv02d_misc_release()
758 if (lis3->pm_dev) { in lis3lv02d_sysfs_poweron()
759 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.c156 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
/Linux-v5.4/drivers/net/wireless/st/cw1200/
Dpm.h21 struct platform_device *pm_dev; member