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 */
570 void __iomem *(*map_bus)(struct pci_bus *bus, unsigned int devfn, int where);
571 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
572 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
579 int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn,
581 int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn,
805 int pci_scan_slot(struct pci_bus *bus, int devfn);
806 struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn);
851 struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn);
853 unsigned int devfn);
855 unsigned int devfn)
857 return pci_get_domain_bus_and_slot(0, bus, devfn);
862 int pci_bus_read_config_byte(struct pci_bus *bus, unsigned int devfn,
864 int pci_bus_read_config_word(struct pci_bus *bus, unsigned int devfn,
866 int pci_bus_read_config_dword(struct pci_bus *bus, unsigned int devfn,
868 int pci_bus_write_config_byte(struct pci_bus *bus, unsigned int devfn,
870 int pci_bus_write_config_word(struct pci_bus *bus, unsigned int devfn,
872 int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn,
875 int pci_generic_config_read(struct pci_bus *bus, unsigned int devfn,
877 int pci_generic_config_write(struct pci_bus *bus, unsigned int devfn,
879 int pci_generic_config_read32(struct pci_bus *bus, unsigned int devfn,
881 int pci_generic_config_write32(struct pci_bus *bus, unsigned int devfn,
888 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
892 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
897 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
901 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
905 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
910 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);
1073 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
1449 unsigned int devfn)
1452 unsigned int devfn)