/linux-master/drivers/iommu/intel/ |
H A D | irq_remapping.c | 36 unsigned int devfn; /* PCI devfn number */ member in struct:ioapic_scope 43 unsigned int devfn; member in struct:hpet_scope 312 sid = (ir_ioapic[i].bus << 8) | ir_ioapic[i].devfn; 337 sid = (ir_hpet[i].bus << 8) | ir_hpet[i].devfn; 398 * from multiple devfn numbers on the same bus. 882 ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function); 925 ir_ioapic[free].devfn = PCI_DEVFN(path->device, path->function);
|
/linux-master/drivers/pci/ |
H A D | quirks.c | 1147 dev->sriov->link = dev->devfn; 1199 via_vlink_dev_lo = PCI_SLOT(dev->devfn); 1200 via_vlink_dev_hi = PCI_SLOT(dev->devfn); 1252 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi || 1253 PCI_SLOT(dev->devfn) < via_vlink_dev_lo) 1818 if (PCI_FUNC(pdev->devfn)) 2962 dev_no = host_bridge->devfn >> 3; 3020 dev_no = dev->devfn >> 3; 3298 if (PCI_FUNC(dev->devfn)) 3329 if (PCI_FUNC(dev->devfn)) 5752 pci_idt_bus_quirk(struct pci_bus *bus, int devfn, u32 *l, int timeout) argument 5848 u8 devfn; local [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 598 #define CSIO_PCI_DEV(hw) (PCI_SLOT((hw)->pdev->devfn)) 599 #define CSIO_PCI_FUNC(hw) (PCI_FUNC((hw)->pdev->devfn))
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bt878.c | 440 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
|
/linux-master/arch/alpha/kernel/ |
H A D | sys_marvel.c | 352 PCI_SLOT(dev->devfn), 353 PCI_FUNC(dev->devfn),
|
H A D | core_cia.c | 209 cia_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument 217 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 228 cia_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument 235 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
|
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.h | 478 return (PCI_FUNC(pci->devfn)); 485 return (PCI_SLOT(pci->devfn));
|
H A D | aic79xx_osm.h | 468 return (PCI_FUNC(pci->devfn)); 475 return (PCI_SLOT(pci->devfn));
|
/linux-master/drivers/pci/controller/ |
H A D | pci-aardvark.c | 1092 int devfn) 1094 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0) 1140 static int advk_pcie_rd_conf(struct pci_bus *bus, u32 devfn, argument 1149 if (!advk_pcie_valid_device(pcie, bus, devfn)) 1178 reg = ALIGN_DOWN(PCIE_ECAM_OFFSET(bus->number, devfn, where), 4); 1226 static int advk_pcie_wr_conf(struct pci_bus *bus, u32 devfn, argument 1236 if (!advk_pcie_valid_device(pcie, bus, devfn)) 1259 reg = ALIGN_DOWN(PCIE_ECAM_OFFSET(bus->number, devfn, where), 4); 1091 advk_pcie_valid_device(struct advk_pcie *pcie, struct pci_bus *bus, int devfn) argument
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_mid.c | 71 PCI_DEVFN(PCI_SLOT(pdev->devfn), 3)); 114 int index = PCI_FUNC(pdev->devfn);
|
H A D | 8250_lpss.c | 139 dma_dev = pci_get_slot(pdev->bus, PCI_DEVFN(PCI_SLOT(pdev->devfn), 0)); 212 chip->id = pdev->devfn;
|
/linux-master/drivers/usb/core/ |
H A D | hcd-pci.c | 50 unsigned int slot = PCI_SLOT(pdev->devfn); 60 PCI_SLOT(companion->devfn) != slot)
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bios.c | 390 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && 391 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) &&
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | main.c | 220 pr_debug("INIT: Gen2 PF[%d] device remove success\n", PCI_FUNC(pf->pdev->devfn)); 304 ibdev_dbg(&iwdev->ibdev, "INIT: Gen2 PF[%d] device probe success\n", PCI_FUNC(rf->pcidev->devfn));
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | sysfs.c | 290 PCI_SLOT(hdev->pdev->devfn), 291 PCI_FUNC(hdev->pdev->devfn));
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pci-meson.c | 307 static int meson_pcie_rd_own_conf(struct pci_bus *bus, u32 devfn, argument 312 ret = pci_generic_config_read(bus, devfn, where, size, val);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | rtas.h | 521 * rtas_config_addr - Format a busno, devfn and reg for RTAS. 523 * @devfn: The device and function number as encoded by PCI_DEVFN(). 526 * This function encodes the given busno, devfn and register number as 530 static inline u32 rtas_config_addr(int busno, int devfn, int reg) argument 533 (devfn << 8) | (reg & 0xff);
|
/linux-master/drivers/net/can/sja1000/ |
H A D | f81601.c | 109 PCI_SLOT(pdev->devfn));
|
/linux-master/arch/sh/drivers/pci/ |
H A D | pci.c | 236 if (dev->bus->number == 0 && dev->devfn == 0)
|
/linux-master/drivers/dma/dw/ |
H A D | idma32.c | 43 return to_pci_dev(slave)->devfn;
|
/linux-master/drivers/pci/hotplug/ |
H A D | ibmphp_core.c | 135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); 640 for (dev->devfn = 0; dev->devfn < 256; dev->devfn += 8) {
|
H A D | rpadlpar_core.c | 147 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn);
|
/linux-master/drivers/edac/ |
H A D | i7300_edac.c | 947 switch (PCI_FUNC(pdev->devfn)) { 1035 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); 1038 if (PCI_FUNC(pdev->devfn) != 0)
|
/linux-master/drivers/firmware/ |
H A D | dmi_scan.c | 358 int devfn, const char *name, int type) 364 segment == 0xFFFF && bus == 0xFF && devfn == 0xFF) 374 dev->devfn = devfn; 357 dmi_save_dev_pciaddr(int instance, int segment, int bus, int devfn, const char *name, int type) argument
|
/linux-master/drivers/usb/host/ |
H A D | ohci-pci.c | 77 b = pci_get_slot (pdev->bus, PCI_DEVFN (PCI_SLOT (pdev->devfn), 1));
|