/linux-master/include/uapi/linux/ |
H A D | pci.h | 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
/linux-master/arch/arm/mach-footbridge/ |
H A D | ebsa285-pci.c | 23 switch (PCI_FUNC(dev->devfn)) {
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_pci.c | 61 PCI_FUNC(pdev->devfn));
|
/linux-master/arch/arm/plat-orion/ |
H A D | pcie.c | 213 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | 232 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | 239 PCI_FUNC(devfn) != 0) 255 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | 273 PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
|
/linux-master/drivers/xen/xen-pciback/ |
H A D | vpci.c | 49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { 73 int err = 0, slot, func = PCI_FUNC(dev->devfn); 109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn)) 251 PCI_FUNC(pcidev->devfn));
|
H A D | pci_stub.c | 167 && func == PCI_FUNC(psdev->dev->devfn)) { 784 PCI_FUNC(dev->devfn)); 841 PCI_FUNC(dev->devfn)); 898 PCI_FUNC(dev->devfn)); 951 PCI_FUNC(dev->devfn)); 1086 || PCI_FUNC(devfn) != func) 1112 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { 1225 PCI_FUNC(pci_dev_id->devfn)); 1339 PCI_FUNC(quirk->pdev->devfn),
|
/linux-master/drivers/platform/x86/ |
H A D | p2sb.c | 88 struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)]; 110 if (!p2sb_valid_resource(&p2sb_resources[PCI_FUNC(devfn)].res)) 209 cache = &p2sb_resources[PCI_FUNC(devfn)];
|
/linux-master/arch/powerpc/platforms/pasemi/ |
H A D | misc.c | 80 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info,
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | ocxl.c | 195 link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0; 204 link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag; 207 link->fn_desired_actags[PCI_FUNC(dev->devfn)]); 273 *base = link->fn_actags[PCI_FUNC(dev->devfn)].start; 274 *enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count; 275 *supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)]; 306 if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) {
|
/linux-master/drivers/ata/ |
H A D | ata_generic.c | 186 (!(PCI_FUNC(dev->devfn) & 1))) 191 (!(PCI_FUNC(dev->devfn) & 1)))
|
/linux-master/arch/mips/pci/ |
H A D | ops-msc.c | 46 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) |
|
H A D | ops-bonito64.c | 34 int function = PCI_FUNC(devfn);
|
H A D | fixup-lemote2f.c | 64 switch (PCI_FUNC(dev->devfn)) {
|
H A D | pci-rt2880.c | 68 PCI_FUNC(devfn), where); 95 PCI_FUNC(devfn), where);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | efivar.c | 123 PCI_FUNC(dd->pcidev->devfn));
|
/linux-master/arch/xtensa/lib/ |
H A D | pci-auto.c | 255 if (PCI_FUNC(pci_devfn) && !found_multi) 265 if (!PCI_FUNC(pci_devfn)) 312 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn));
|
/linux-master/drivers/pcmcia/ |
H A D | o2micro.h | 121 if (PCI_FUNC(socket->dev->devfn) == 0) {
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194-acpi.c | 85 PCIE_ATU_FUNC(PCI_FUNC(devfn));
|
/linux-master/drivers/pci/controller/ |
H A D | pci-ftpci100.c | 186 PCI_FUNC(fn), config), 206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); 218 PCI_FUNC(fn), config), 245 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value);
|
/linux-master/arch/alpha/kernel/ |
H A D | sys_miata.c | 185 if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) {
|
/linux-master/arch/x86/pci/ |
H A D | direct.c | 108 fn = PCI_FUNC(devfn); 148 fn = PCI_FUNC(devfn);
|
/linux-master/drivers/ssb/ |
H A D | driver_gige.c | 116 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) 146 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0))
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | i40iw_if.c | 63 pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn)); 155 PCI_FUNC(rf->pcidev->devfn));
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | pci.c | 328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) 351 PCI_FUNC(devfn), where, size, val); 361 PCI_FUNC(devfn), where, size, val);
|
/linux-master/arch/sh/drivers/pci/ |
H A D | ops-sh7786.c | 26 func = PCI_FUNC(devfn);
|