Lines Matching refs:pm_dev
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()
122 pci_write_config_dword(pm_dev, 0x40, iobase | 1); in init_l440gx()