Lines Matching refs:pm_dev
62 struct pci_dev *dev, *pm_dev; in init_l440gx() local
69 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()
121 pci_write_config_dword(pm_dev, 0x40, iobase | 1); in init_l440gx()