Searched refs:pm_dev (Results 1 – 8 of 8) sorted by relevance
63 struct pci_dev *dev, *pm_dev; in init_l440gx() local70 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 …]
13 static struct pci_dev *pm_dev; variable54 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()
121 struct device *pm_dev; member138 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 …]
463 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 …]
262 struct device *pm_dev; /* for pm_runtime purposes */ member
156 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
21 struct platform_device *pm_dev; member
990 struct device *pm_dev) in omap_gpio_chip_init() argument1056 irq_domain_set_pm_device(bank->chip.irq.domain, pm_dev); in omap_gpio_chip_init()