Searched refs:pm_dev (Results 1 – 5 of 5) 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 …]
475 if (lis3->pm_dev) in lis3lv02d_joystick_open()476 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_joystick_open()492 if (lis3->pm_dev) in lis3lv02d_joystick_close()493 pm_runtime_put(lis3->pm_dev); in lis3lv02d_joystick_close()591 if (lis3->pm_dev) in lis3lv02d_misc_open()592 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_misc_open()604 if (lis3->pm_dev) in lis3lv02d_misc_release()605 pm_runtime_put(lis3->pm_dev); in lis3lv02d_misc_release()778 if (lis3->pm_dev) { in lis3lv02d_sysfs_poweron()779 pm_runtime_get_sync(lis3->pm_dev); in lis3lv02d_sysfs_poweron()[all …]
275 struct device *pm_dev; /* for pm_runtime purposes */ member
169 lis3_dev.pm_dev = &client->dev; in lis3lv02d_i2c_probe()
24 struct platform_device *pm_dev; member