Lines Matching refs:devfn

49 #define PCI_DEVID(bus, devfn)  ((((u16)(bus)) << 8) | (devfn))
50 /* return bus from PCI devid = ((u16)bus_number) << 8) | devfn */
58 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */
267 unsigned int devfn; /* encoded device & function index */
282 u8 dma_alias_devfn;/* devfn of DMA alias, if any */
582 void __iomem *(*map_bus)(struct pci_bus *bus, unsigned int devfn, int where);
583 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
584 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
591 int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn,
593 int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn,
825 int pci_scan_slot(struct pci_bus *bus, int devfn);
826 struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn);
872 struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn);
874 unsigned int devfn);
876 unsigned int devfn)
878 return pci_get_domain_bus_and_slot(0, bus, devfn);
883 int pci_bus_read_config_byte(struct pci_bus *bus, unsigned int devfn,
885 int pci_bus_read_config_word(struct pci_bus *bus, unsigned int devfn,
887 int pci_bus_read_config_dword(struct pci_bus *bus, unsigned int devfn,
889 int pci_bus_write_config_byte(struct pci_bus *bus, unsigned int devfn,
891 int pci_bus_write_config_word(struct pci_bus *bus, unsigned int devfn,
893 int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn,
896 int pci_generic_config_read(struct pci_bus *bus, unsigned int devfn,
898 int pci_generic_config_write(struct pci_bus *bus, unsigned int devfn,
900 int pci_generic_config_read32(struct pci_bus *bus, unsigned int devfn,
902 int pci_generic_config_write32(struct pci_bus *bus, unsigned int devfn,
909 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
913 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
918 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
922 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
926 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
931 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);
1093 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
1485 unsigned int devfn)
1488 unsigned int devfn)