• Home
  • Raw
  • Download

Lines Matching refs:devfn

35 #define PCI_SLOT(devfn)		(((devfn) >> 3) & 0x1f)  argument
36 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
120 unsigned int devfn; /* encoded device & function index */ member
269 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
270 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
274 int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn,
276 int (*write)(unsigned int domain, unsigned int bus, unsigned int devfn,
427 int pci_scan_slot(struct pci_bus *bus, int devfn);
428 struct pci_dev * pci_scan_single_device(struct pci_bus *bus, int devfn);
445 struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn);
455 struct pci_dev *pci_get_slot (struct pci_bus *bus, unsigned int devfn);
459 int pci_bus_read_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 *val);
460 int pci_bus_read_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 *val);
461 int pci_bus_read_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 *val);
462 int pci_bus_write_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 val);
463 int pci_bus_write_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 val);
464 int pci_bus_write_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 val);
468 return pci_bus_read_config_byte (dev->bus, dev->devfn, where, val); in pci_read_config_byte()
472 return pci_bus_read_config_word (dev->bus, dev->devfn, where, val); in pci_read_config_word()
476 return pci_bus_read_config_dword (dev->bus, dev->devfn, where, val); in pci_read_config_dword()
480 return pci_bus_write_config_byte (dev->bus, dev->devfn, where, val); in pci_write_config_byte()
484 return pci_bus_write_config_word (dev->bus, dev->devfn, where, val); in pci_write_config_word()
488 return pci_bus_write_config_dword (dev->bus, dev->devfn, where, val); in pci_write_config_dword()
644 static inline struct pci_dev *pci_find_slot(unsigned int bus, unsigned int devfn) in pci_find_slot() argument