Searched refs:devfn (Results 276 - 300 of 492) sorted by relevance

<<11121314151617181920

/linux-master/drivers/iommu/intel/
H A Dirq_remapping.c36 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 Dquirks.c1147 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 Dcsio_hw.h598 #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 Dbt878.c440 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
/linux-master/arch/alpha/kernel/
H A Dsys_marvel.c352 PCI_SLOT(dev->devfn),
353 PCI_FUNC(dev->devfn),
H A Dcore_cia.c209 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 Daic7xxx_osm.h478 return (PCI_FUNC(pci->devfn));
485 return (PCI_SLOT(pci->devfn));
H A Daic79xx_osm.h468 return (PCI_FUNC(pci->devfn));
475 return (PCI_SLOT(pci->devfn));
/linux-master/drivers/pci/controller/
H A Dpci-aardvark.c1092 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 D8250_mid.c71 PCI_DEVFN(PCI_SLOT(pdev->devfn), 3));
114 int index = PCI_FUNC(pdev->devfn);
H A D8250_lpss.c139 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 Dhcd-pci.c50 unsigned int slot = PCI_SLOT(pdev->devfn);
60 PCI_SLOT(companion->devfn) != slot)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c390 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) &&
391 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) &&
/linux-master/drivers/infiniband/hw/irdma/
H A Dmain.c220 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 Dsysfs.c290 PCI_SLOT(hdev->pdev->devfn),
291 PCI_FUNC(hdev->pdev->devfn));
/linux-master/drivers/pci/controller/dwc/
H A Dpci-meson.c307 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 Drtas.h521 * 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 Df81601.c109 PCI_SLOT(pdev->devfn));
/linux-master/arch/sh/drivers/pci/
H A Dpci.c236 if (dev->bus->number == 0 && dev->devfn == 0)
/linux-master/drivers/dma/dw/
H A Didma32.c43 return to_pci_dev(slave)->devfn;
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn);
640 for (dev->devfn = 0; dev->devfn < 256; dev->devfn += 8) {
H A Drpadlpar_core.c147 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn);
/linux-master/drivers/edac/
H A Di7300_edac.c947 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 Ddmi_scan.c358 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 Dohci-pci.c77 b = pci_get_slot (pdev->bus, PCI_DEVFN (PCI_SLOT (pdev->devfn), 1));

Completed in 230 milliseconds

<<11121314151617181920