Searched refs:pm_dev (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/mtd/maps/ |
H A D | l440gx.c | 63 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 …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | piix4-poweroff.c | 13 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()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ina3221.c | 121 struct device *pm_dev; member 138 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled() 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() 906 pm_runtime_disable(ina->pm_dev); in ina3221_probe() 907 pm_runtime_set_suspended(ina->pm_dev); in ina3221_probe() 910 pm_runtime_put_noidle(ina->pm_dev); in ina3221_probe() 921 pm_runtime_disable(ina->pm_dev); in ina3221_remove() [all …]
|
/openbmc/linux/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 463 if (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() 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() 885 if (lis3->pm_dev) { in lis3lv02d_remove_fs() 887 pm_runtime_barrier(lis3->pm_dev); in lis3lv02d_remove_fs() 1194 if (lis3->pm_dev) { in lis3lv02d_init_device() [all …]
|
H A D | lis3lv02d.h | 262 struct device *pm_dev; /* for pm_runtime purposes */ member
|
H A D | lis3lv02d_i2c.c | 156 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | pm.h | 21 struct platform_device *pm_dev; member
|
/openbmc/linux/include/linux/ |
H A D | irqdomain.h | 165 struct device *pm_dev; member 228 d->pm_dev = dev; in irq_domain_set_pm_device()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic.c | 405 if (gic->domain->pm_dev) in gic_irq_print_chip() 406 seq_printf(p, gic->domain->pm_dev->of_node->name); in gic_irq_print_chip()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-omap.c | 1026 static int omap_gpio_chip_init(struct gpio_bank *bank, struct device *pm_dev) in omap_gpio_chip_init() argument 1077 irq_domain_set_pm_device(bank->chip.irq.domain, pm_dev); in omap_gpio_chip_init()
|
/openbmc/linux/kernel/irq/ |
H A D | chip.c | 1579 return data->domain->pm_dev; in irq_get_pm_device()
|