Searched refs:pm_dev (Results 1 – 4 of 4) sorted by relevance
62 struct pci_dev *dev, *pm_dev; in init_l440gx() local69 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 …]
436 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 …]
244 struct device *pm_dev; /* for pm_runtime purposes */ member
144 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()