Lines Matching refs:pci
36 static unsigned long efipci_address ( struct pci_device *pci, in efipci_address() argument
38 return EFI_PCI_ADDRESS ( pci->bus, PCI_SLOT ( pci->devfn ), in efipci_address()
39 PCI_FUNC ( pci->devfn ), in efipci_address()
43 int efipci_read ( struct pci_device *pci, unsigned long location, in efipci_read() argument
48 efipci_address ( pci, location ), 1, in efipci_read()
51 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_read()
52 PCI_FUNC ( pci->devfn ), EFIPCI_OFFSET ( location ), in efipci_read()
60 int efipci_write ( struct pci_device *pci, unsigned long location, in efipci_write() argument
65 efipci_address ( pci, location ), 1, in efipci_write()
68 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_write()
69 PCI_FUNC ( pci->devfn ), EFIPCI_OFFSET ( location ), in efipci_write()