arch/alpha/kernel/pci.c
81
if (PCI_FUNC(dev->devfn) == 2) {
arch/alpha/kernel/sys_marvel.c
352
PCI_FUNC(dev->devfn),
arch/alpha/kernel/sys_miata.c
185
if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) {
arch/arm/kernel/bios32.c
229
} else if (PCI_FUNC(dev->devfn) == 0) {
arch/arm/mach-footbridge/ebsa285-pci.c
23
switch (PCI_FUNC(dev->devfn)) {
arch/arm/mach-orion5x/pci.c
328
if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0)
arch/arm/mach-orion5x/pci.c
351
PCI_FUNC(devfn), where, size, val);
arch/arm/mach-orion5x/pci.c
361
PCI_FUNC(devfn), where, size, val);
arch/arm/plat-orion/pcie.c
213
PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
arch/arm/plat-orion/pcie.c
232
PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
arch/arm/plat-orion/pcie.c
239
PCI_FUNC(devfn) != 0)
arch/arm/plat-orion/pcie.c
255
PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
arch/arm/plat-orion/pcie.c
273
PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
arch/mips/pci/fixup-fuloong2e.c
23
switch (PCI_FUNC(dev->devfn)) {
arch/mips/pci/fixup-lemote2f.c
64
switch (PCI_FUNC(dev->devfn)) {
arch/mips/pci/ops-bcm63xx.c
71
func = PCI_FUNC(devfn);
arch/mips/pci/ops-bonito64.c
34
int function = PCI_FUNC(devfn);
arch/mips/pci/ops-loongson2.c
42
int function = PCI_FUNC(devfn);
arch/mips/pci/ops-msc.c
46
(PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) |
arch/mips/pci/ops-rc32434.c
51
u8 func = PCI_FUNC(devfn);
arch/mips/pci/pci-alchemy.c
104
unsigned int function = PCI_FUNC(dev_fn);
arch/mips/pci/pci-ar2315.c
215
int func = PCI_FUNC(devfn);
arch/mips/pci/pci-ar71xx.c
87
ret = (1 << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) |
arch/mips/pci/pci-ar71xx.c
92
(PCI_FUNC(devfn) << 8) | (where & ~3) | 1;
arch/mips/pci/pci-mt7620.c
141
u8 func = PCI_FUNC(devfn);
arch/mips/pci/pci-mt7620.c
173
u8 func = PCI_FUNC(devfn);
arch/mips/pci/pci-rt2880.c
68
PCI_FUNC(devfn), where);
arch/mips/pci/pci-rt2880.c
95
PCI_FUNC(devfn), where);
arch/mips/pci/pci-rt3883.c
238
PCI_FUNC(devfn), where);
arch/mips/pci/pci-rt3883.c
271
PCI_FUNC(devfn), where);
arch/mips/pci/pci-xtalk-bridge.c
125
int fn = PCI_FUNC(devfn);
arch/mips/pci/pci-xtalk-bridge.c
163
int fn = PCI_FUNC(devfn);
arch/mips/pci/pci-xtalk-bridge.c
210
int fn = PCI_FUNC(devfn);
arch/mips/pci/pci-xtalk-bridge.c
249
int fn = PCI_FUNC(devfn);
arch/mips/txx9/generic/pci.c
62
if (PCI_FUNC(pci_devfn))
arch/parisc/kernel/drivers.c
317
path->mod = PCI_FUNC(devfn);
arch/parisc/kernel/drivers.c
325
path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5);
arch/parisc/kernel/drivers.c
666
(modpath->mod == PCI_FUNC(devfn)));
arch/parisc/kernel/drivers.c
673
id = PCI_SLOT(pdev->devfn) | (PCI_FUNC(pdev->devfn) << 5);
arch/powerpc/include/asm/eeh.h
158
PCI_SLOT((edev)->bdfn), PCI_FUNC((edev)->bdfn), \
arch/powerpc/kernel/eeh.c
177
PCI_SLOT(edev->bdfn), PCI_FUNC(edev->bdfn));
arch/powerpc/kernel/eeh.c
180
PCI_SLOT(edev->bdfn), PCI_FUNC(edev->bdfn));
arch/powerpc/kernel/pci_of_scan.c
204
dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
arch/powerpc/platforms/fsl_uli1575.c
351
if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1))
arch/powerpc/platforms/fsl_uli1575.c
355
if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2))
arch/powerpc/platforms/pasemi/misc.c
80
i2c_register_board_info(PCI_FUNC(pdev->devfn), &info,
arch/powerpc/platforms/pasemi/pci.c
48
return ((busno == 0) && (PCI_FUNC(devfn) < 4) &&
arch/powerpc/platforms/powermac/pci.c
1152
if (PCI_FUNC(dev->devfn) > 0) {
arch/powerpc/platforms/powermac/pci.c
126
| (((unsigned int)PCI_FUNC(dev_fn)) << 8) \
arch/powerpc/platforms/powermac/pci.c
385
| (((unsigned int)PCI_FUNC(dev_fn)) << 8) \
arch/powerpc/platforms/powermac/pci.c
587
if (PCI_FUNC(devfn) != 0)
arch/powerpc/platforms/powernv/eeh-powernv.c
345
PCI_SLOT(config_addr), PCI_FUNC(config_addr));
arch/powerpc/platforms/powernv/eeh-powernv.c
925
PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn));
arch/powerpc/platforms/powernv/ocxl.c
194
link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0;
arch/powerpc/platforms/powernv/ocxl.c
203
link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag;
arch/powerpc/platforms/powernv/ocxl.c
206
link->fn_desired_actags[PCI_FUNC(dev->devfn)]);
arch/powerpc/platforms/powernv/ocxl.c
270
*base = link->fn_actags[PCI_FUNC(dev->devfn)].start;
arch/powerpc/platforms/powernv/ocxl.c
271
*enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count;
arch/powerpc/platforms/powernv/ocxl.c
272
*supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)];
arch/powerpc/platforms/powernv/ocxl.c
301
if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) {
arch/powerpc/platforms/powernv/pci-ioda.c
74
PCI_SLOT(pe->rid), PCI_FUNC(pe->rid));
arch/powerpc/platforms/powernv/pci-sriov.c
647
PCI_SLOT(vf_devfn), PCI_FUNC(vf_devfn), pe_num);
arch/powerpc/platforms/pseries/pci.c
72
PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)),
arch/powerpc/sysdev/mpic.c
479
PCI_SLOT(devfn), PCI_FUNC(devfn),
arch/powerpc/sysdev/mpic.c
587
if (PCI_FUNC(devfn) == 0 && (hdr_type & 0x80) == 0)
arch/sh/drivers/pci/common.c
61
if (PCI_FUNC(pci_devfn))
arch/sh/drivers/pci/ops-sh7786.c
26
func = PCI_FUNC(devfn);
arch/sh/drivers/pci/pci.c
201
if (PCI_FUNC(pci_devfn))
arch/sparc/kernel/leon_pci_grpci1.c
270
busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, *val, size);
arch/sparc/kernel/leon_pci_grpci1.c
291
busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val);
arch/sparc/kernel/leon_pci_grpci2.c
407
"size=%d\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where,
arch/sparc/kernel/leon_pci_grpci2.c
428
"val=%x\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn),
arch/sparc/kernel/pci.c
345
dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
arch/sparc/kernel/pci_common.c
265
unsigned int func = PCI_FUNC(devfn);
arch/sparc/kernel/pci_common.c
298
unsigned int func = PCI_FUNC(devfn);
arch/sparc/kernel/pci_sun4v.c
277
fun = PCI_FUNC(pdev->devfn);
arch/x86/hyperv/irqdomain.c
134
dev_id.pci.bdf.function = PCI_FUNC(data.rid);
arch/x86/kernel/cpu/mce/inject.c
457
__func__, PCI_FUNC(F3->devfn), NBCFG);
arch/x86/kernel/cpu/mce/inject.c
471
__func__, PCI_FUNC(F3->devfn), NBCFG);
arch/x86/pci/common.c
662
(PCI_FUNC(dev->devfn) == rom->function) &&
arch/x86/pci/direct.c
108
fn = PCI_FUNC(devfn);
arch/x86/pci/direct.c
148
fn = PCI_FUNC(devfn);
arch/xtensa/lib/pci-auto.c
255
if (PCI_FUNC(pci_devfn) && !found_multi)
arch/xtensa/lib/pci-auto.c
265
if (!PCI_FUNC(pci_devfn))
arch/xtensa/lib/pci-auto.c
312
current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn));
drivers/accel/habanalabs/common/sysfs.c
302
PCI_FUNC(hdev->pdev->devfn));
drivers/ata/ata_generic.c
186
(!(PCI_FUNC(dev->devfn) & 1)))
drivers/ata/ata_generic.c
191
(!(PCI_FUNC(dev->devfn) & 1)))
drivers/ata/pata_cypress.c
144
if (PCI_FUNC(pdev->devfn) != 1)
drivers/ata/pata_hpt37x.c
658
(PCI_FUNC(pdev->devfn) & 1)) {
drivers/ata/pata_hpt37x.c
879
if (!(PCI_FUNC(dev->devfn) & 1))
drivers/ata/pata_serverworks.c
306
if (!(PCI_FUNC(pdev->devfn) & 1)) {
drivers/ata/pata_serverworks.c
343
if (!(PCI_FUNC(pdev->devfn) & 1))
drivers/atm/fore200e.c
609
pci_dev->bus->number, PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn));
drivers/atm/iphase.c
3173
pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));)
drivers/bcma/driver_pci_host.c
244
PCI_FUNC(devfn), reg, val, size);
drivers/bcma/driver_pci_host.c
264
PCI_FUNC(devfn), reg, &val, size);
drivers/char/agp/intel-gtt.c
1404
if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) {
drivers/crypto/ccp/sp-pci.c
201
if (PCI_FUNC(pdev_new->devfn) != PCI_FUNC(pdev_cur->devfn))
drivers/crypto/ccp/sp-pci.c
202
return PCI_FUNC(pdev_new->devfn) < PCI_FUNC(pdev_cur->devfn);
drivers/crypto/intel/qat/qat_common/adf_ctl_drv.c
358
dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn);
drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c
25
PCI_FUNC(accel_to_pci_dev(vf)->devfn) +
drivers/crypto/intel/qat/qat_common/adf_vf_isr.c
188
PCI_FUNC(pdev->devfn));
drivers/edac/amd64_edac.c
83
func, PCI_FUNC(pdev->devfn), offset);
drivers/edac/amd64_edac.c
96
func, PCI_FUNC(pdev->devfn), offset);
drivers/edac/i5000_edac.c
1365
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/edac/i5000_edac.c
1368
if (PCI_FUNC(pdev->devfn) != 0)
drivers/edac/i5000_edac.c
807
if (PCI_FUNC(pdev->devfn) == 1)
drivers/edac/i5000_edac.c
833
if (PCI_FUNC(pdev->devfn) == 2)
drivers/edac/i5100_edac.c
639
if (PCI_FUNC(ret->devfn) == func)
drivers/edac/i5100_edac.c
986
if (PCI_FUNC(pdev->devfn) != 1)
drivers/edac/i5400_edac.c
1265
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/edac/i5400_edac.c
1268
if (PCI_FUNC(pdev->devfn) != 0)
drivers/edac/i5400_edac.c
748
if (PCI_FUNC(pdev->devfn) == 1)
drivers/edac/i5400_edac.c
772
if (PCI_FUNC(pdev->devfn) == 2)
drivers/edac/i7300_edac.c
1036
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/edac/i7300_edac.c
1039
if (PCI_FUNC(pdev->devfn) != 0)
drivers/edac/i7300_edac.c
948
switch (PCI_FUNC(pdev->devfn)) {
drivers/edac/i7core_edac.c
1243
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/edac/i7core_edac.c
1383
PCI_FUNC(pdev->devfn) != dev_descr->func)) {
drivers/edac/i7core_edac.c
1388
bus, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/edac/i7core_edac.c
1465
func = PCI_FUNC(pdev->devfn);
drivers/edac/i7core_edac.c
1509
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/edac/i7core_edac.c
1513
PCI_FUNC(pdev->devfn) == 2)
drivers/edac/i7core_edac.c
870
dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn),
drivers/edac/i7core_edac.c
885
dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn),
drivers/edac/sb_edac.c
2442
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/edac/sb_edac.c
2751
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/edac/sb_edac.c
2842
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/edac/sb_edac.c
2923
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/edac/thunderx_edac.c
503
xbits = PCI_FUNC(lmc->pdev->devfn);
drivers/edac/thunderx_edac.c
648
int ret = PCI_FUNC(pdev->devfn);
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
411
vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) &&
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1339
PCI_FUNC(pdev->devfn),
drivers/gpu/drm/drm_file.c
992
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/gpu/drm/drm_pci.c
60
PCI_FUNC(pdev->devfn));
drivers/gpu/drm/i915/i915_pci.c
988
if (PCI_FUNC(pdev->devfn))
drivers/gpu/drm/nouveau/nouveau_drm.c
138
return name | PCI_FUNC(pdev->devfn);
drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c
1705
PCI_FUNC(pci_dev->devfn), name,
drivers/gpu/drm/radeon/radeon_bios.c
638
vhdr->PCIFunction == PCI_FUNC(rdev->pdev->devfn) &&
drivers/gpu/drm/xe/xe_configfs.c
965
PCI_FUNC(PCI_DEVFN(slot, function)));
drivers/hwtracing/ptt/hisi_ptt.c
379
PCI_BUS_NUM(devid), PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/hwtracing/ptt/hisi_ptt.c
383
PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/i2c/busses/i2c-amd756.c
327
if (PCI_FUNC(pdev->devfn) != 1)
drivers/i2c/busses/i2c-amd756.c
333
if (PCI_FUNC(pdev->devfn) != 3)
drivers/i2c/busses/i2c-designware-pcidrv.c
134
c->bus_num = PCI_FUNC(pdev->devfn) + 0 + 1;
drivers/i2c/busses/i2c-designware-pcidrv.c
137
c->bus_num = PCI_FUNC(pdev->devfn) + 4 + 1;
drivers/infiniband/hw/bnxt_re/hw_counters.c
162
fid = PCI_FUNC(rdev->en_dev->pdev->devfn);
drivers/infiniband/hw/bnxt_re/hw_counters.c
283
u32 fid = PCI_FUNC(rdev->en_dev->pdev->devfn);
drivers/infiniband/hw/bnxt_re/hw_counters.c
328
u32 fid = PCI_FUNC(rdev->en_dev->pdev->devfn);
drivers/infiniband/hw/efa/efa_main.c
287
PCI_FUNC(dev->pdev->devfn));
drivers/infiniband/hw/hfi1/efivar.c
123
PCI_FUNC(dd->pcidev->devfn));
drivers/infiniband/hw/hns/hns_roce_bond.c
228
main_func_idx = PCI_FUNC(bond_grp->main_hr_dev->pci_dev->devfn);
drivers/infiniband/hw/hns/hns_roce_bond.c
369
u8 main_func_idx = PCI_FUNC(bond_grp->main_hr_dev->pci_dev->devfn);
drivers/infiniband/hw/hns/hns_roce_bond.c
420
if (i == PCI_FUNC(bond_grp->main_hr_dev->pci_dev->devfn))
drivers/infiniband/hw/hns/hns_roce_bond.c
468
func_idx = PCI_FUNC(hr_dev->pci_dev->devfn);
drivers/infiniband/hw/irdma/i40iw_if.c
158
PCI_FUNC(rf->pcidev->devfn));
drivers/infiniband/hw/irdma/i40iw_if.c
63
pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn));
drivers/infiniband/hw/irdma/icrdma_if.c
292
ibdev_dbg(&iwdev->ibdev, "INIT: Gen2 PF[%d] device probe success\n", PCI_FUNC(rf->pcidev->devfn));
drivers/infiniband/hw/irdma/icrdma_if.c
327
rdma_ver, PCI_FUNC(cdev_info->pdev->devfn));
drivers/infiniband/hw/ocrdma/ocrdma_main.c
276
dev->id = PCI_FUNC(dev->nic_info.pdev->devfn);
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
90
PCI_FUNC(us_ibdev->pdev->devfn),
drivers/iommu/amd/debugfs.c
204
PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid));
drivers/iommu/amd/debugfs.c
230
PCI_SLOT(devid), PCI_FUNC(devid));
drivers/iommu/amd/debugfs.c
303
pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid));
drivers/iommu/amd/debugfs.c
324
PCI_SLOT(devid), PCI_FUNC(devid));
drivers/iommu/amd/init.c
1498
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1509
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1522
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1526
PCI_FUNC(e->ext >> 8));
drivers/iommu/amd/init.c
1539
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1543
PCI_FUNC(e->ext >> 8));
drivers/iommu/amd/init.c
1556
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1568
PCI_FUNC(e->devid),
drivers/iommu/amd/init.c
1581
PCI_FUNC(e->devid));
drivers/iommu/amd/init.c
1612
PCI_FUNC(devid),
drivers/iommu/amd/init.c
1677
PCI_FUNC(devid),
drivers/iommu/amd/init.c
2036
PCI_SLOT(h->devid), PCI_FUNC(h->devid),
drivers/iommu/amd/init.c
2683
PCI_FUNC(e->devid_start), m->pci_seg,
drivers/iommu/amd/init.c
2685
PCI_SLOT(e->devid_end), PCI_FUNC(e->devid_end),
drivers/iommu/amd/init.c
288
PCI_FUNC(iommu->devid));
drivers/iommu/amd/iommu.c
1214
PCI_SLOT(iommu->devid), PCI_FUNC(iommu->devid));
drivers/iommu/amd/iommu.c
805
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
838
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
876
PCI_FUNC(devid), domain_id);
drivers/iommu/amd/iommu.c
894
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
939
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
947
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
952
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
965
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
970
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/iommu.c
983
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/ppr.c
89
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/amd/ppr.c
97
iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid),
drivers/iommu/intel/debugfs.c
163
PCI_FUNC(tbl_wlk->devfn), tbl_wlk->rt_entry->hi,
drivers/iommu/intel/debugfs.c
454
iommu->segment, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/iommu/intel/debugfs.c
571
PCI_SLOT(ri_entry->sid), PCI_FUNC(ri_entry->sid),
drivers/iommu/intel/debugfs.c
595
PCI_SLOT(pi_entry->sid), PCI_FUNC(pi_entry->sid),
drivers/iommu/intel/dmar.c
164
info->path[level].function = PCI_FUNC(tmp->devfn);
drivers/iommu/intel/dmar.c
1910
PCI_FUNC(source_id & 0xFF), addr >> 48,
drivers/iommu/intel/dmar.c
1920
PCI_FUNC(source_id & 0xFF), addr,
drivers/iommu/intel/dmar.c
1926
PCI_FUNC(source_id & 0xFF), addr,
drivers/iommu/intel/iommu.c
1160
bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/media/pci/bt8xx/bt878.c
440
PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
drivers/media/pci/cx18/cx18-driver.c
834
PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn),
drivers/media/pci/cx88/cx88-cards.c
3688
PCI_FUNC(pci->devfn),
drivers/media/pci/ivtv/ivtv-driver.c
854
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
drivers/media/pci/mantis/mantis_pci.c
49
PCI_FUNC(mantis->pdev->devfn));
drivers/media/pci/netup_unidvb/netup_unidvb_core.c
826
ndev->pci_func = PCI_FUNC(pci_dev->devfn);
drivers/message/fusion/mptbase.c
2642
unsigned int func = PCI_FUNC(pdev->devfn);
drivers/message/fusion/mptctl.c
1299
karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn );
drivers/message/fusion/mptctl.c
1305
karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn );
drivers/misc/ocxl/config.c
105
if (!pos && PCI_FUNC(dev->devfn) == 0) {
drivers/misc/ocxl/config.c
109
if (pos && PCI_FUNC(dev->devfn) != 0) {
drivers/misc/ocxl/config.c
175
if (PCI_FUNC(dev->devfn) != 0)
drivers/misc/ocxl/config.c
213
if (PCI_FUNC(dev->devfn) != 0) {
drivers/misc/ocxl/config.c
800
if (PCI_FUNC(dev->devfn) != 0)
drivers/mmc/host/sdhci-pci-core.c
1311
unsigned int func = PCI_FUNC(slot->chip->pdev->devfn);
drivers/net/ethernet/alacritech/slicoss.c
1595
unsigned int devfn = PCI_FUNC(sdev->pdev->devfn);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13135
bp->pf_num = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c
215
rc = snprintf(buf, len, "pf%dvf%d", PCI_FUNC(pf_pdev->devfn),
drivers/net/ethernet/broadcom/cnic.c
5330
cp->func = PCI_FUNC(dev->pcidev->devfn);
drivers/net/ethernet/broadcom/tg3.c
16687
tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3;
drivers/net/ethernet/brocade/bna/bnad.c
3643
pcidev_info.pci_func = PCI_FUNC(bnad->pcidev->devfn);
drivers/net/ethernet/cavium/liquidio/lio_main.c
4067
PCI_FUNC(octeon_dev->pci_dev->devfn),
drivers/net/ethernet/cavium/liquidio/lio_main.c
884
function = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6310
PCI_FUNC(pbridge->devfn));
drivers/net/ethernet/huawei/hinic3/hinic3_lld.c
367
bdf_info.function = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/e100.c
3129
if (0 != PCI_FUNC(pdev->devfn))
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1275
PCI_SLOT(fault->func), PCI_FUNC(fault->func));
drivers/net/ethernet/intel/i40e/i40e_main.c
15615
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/iavf/iavf_main.c
5382
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/ice/ice_main.c
5296
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/mellanox/mlx4/main.c
3223
return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn);
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
122
pfnum = PCI_FUNC(dev->pdev->devfn);
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
32
pfnum = PCI_FUNC(dev->pdev->devfn);
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
285
if (new_attr->pfnum != PCI_FUNC(dev->pdev->devfn)) {
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1443
int pci_func_id = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/qlogic/qed/qed_main.c
762
PCI_FUNC(cdev->pdev->devfn));
drivers/net/ethernet/qlogic/qede/qede_main.c
1193
PCI_SLOT(edev->pdev->devfn), PCI_FUNC(edev->pdev->devfn),
drivers/net/ethernet/realtek/r8169_main.c
1027
snprintf(pfun, sizeof(pfun), "f%d", PCI_FUNC(pdev->devfn));
drivers/net/ethernet/realtek/r8169_main.c
2877
u32 func = PCI_FUNC(tp->pci_dev->devfn);
drivers/net/ethernet/realtek/r8169_main.c
2888
u32 func = PCI_FUNC(tp->pci_dev->devfn);
drivers/net/ethernet/sfc/siena/siena_sriov.c
1269
PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
98
int func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/sun/niu.c
9812
&niu_pci_ops, PCI_FUNC(pdev->devfn));
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
2205
int func = PCI_FUNC(pdev->devfn);
drivers/net/wireless/realtek/rtlwifi/pci.c
1939
pcipriv->ndis_adapter.funcnumber = PCI_FUNC(pdev->devfn);
drivers/net/wireless/realtek/rtlwifi/pci.c
1966
PCI_FUNC(bridge_pdev->devfn);
drivers/parisc/iosapic.c
724
if (PCI_FUNC(pcidev->devfn) != SUPERIO_USB_FN)
drivers/parisc/iosapic.c
787
PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn),
drivers/parisc/superio.c
340
fn = PCI_FUNC(pcidev->devfn);
drivers/pci/access.c
173
PCI_SLOT(devfn), PCI_FUNC(devfn), where);
drivers/pci/controller/dwc/pci-keystone.c
471
CFG_FUNC(PCI_FUNC(devfn));
drivers/pci/controller/dwc/pcie-designware-host.c
745
PCIE_ATU_FUNC(PCI_FUNC(devfn));
drivers/pci/controller/dwc/pcie-tegra194-acpi.c
85
PCIE_ATU_FUNC(PCI_FUNC(devfn));
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
70
PCI_FUNC(devfn) << PAB_FUNCTION_SHIFT;
drivers/pci/controller/pci-ftpci100.c
186
PCI_FUNC(fn), config),
drivers/pci/controller/pci-ftpci100.c
206
PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value);
drivers/pci/controller/pci-ftpci100.c
218
PCI_FUNC(fn), config),
drivers/pci/controller/pci-ftpci100.c
245
PCI_SLOT(fn), PCI_FUNC(fn), config, size, value);
drivers/pci/controller/pci-hyperv.c
1075
wslot.bits.func = PCI_FUNC(devfn);
drivers/pci/controller/pci-hyperv.c
648
PCI_FUNC(pdev->devfn);
drivers/pci/controller/pci-ixp4xx.c
191
return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) &
drivers/pci/controller/pci-ixp4xx.c
196
PCI_FUNC(devfn), where) &
drivers/pci/controller/pci-ixp4xx.c
312
where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);
drivers/pci/controller/pci-ixp4xx.c
360
value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);
drivers/pci/controller/pci-loongson.c
149
pdev->pin = 1 + (PCI_FUNC(pdev->devfn) & 3);
drivers/pci/controller/pci-loongson.c
229
unsigned int function = PCI_FUNC(devfn);
drivers/pci/controller/pci-mvebu.c
1271
if (PCI_FUNC(port->devfn) != 0) {
drivers/pci/controller/pci-mvebu.c
55
PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
drivers/pci/controller/pci-rcar-gen2.c
111
if (!pci_is_root_bus(bus) || PCI_FUNC(devfn))
drivers/pci/controller/pci-tegra.c
424
(PCI_FUNC(devfn) << 8) | (where & 0xff);
drivers/pci/controller/pci-v3-semi.c
330
address = PCI_FUNC(devfn) << 8;
drivers/pci/controller/pci-v3-semi.c
410
PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value);
drivers/pci/controller/pci-v3-semi.c
424
PCI_SLOT(fn), PCI_FUNC(fn), config, size, value);
drivers/pci/controller/pci-xgene.c
123
f = PCI_FUNC(devfn);
drivers/pci/controller/pcie-aspeed.c
324
(PCI_FUNC(devfn) << 16) | (where & ~3);
drivers/pci/controller/pcie-aspeed.c
365
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn), cfg_val);
drivers/pci/controller/pcie-aspeed.c
385
PCI_FUNC(devfn), isr);
drivers/pci/controller/pcie-aspeed.c
525
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn), status);
drivers/pci/controller/pcie-aspeed.c
536
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn), status);
drivers/pci/controller/pcie-hisi-error.c
167
domain, busnr, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/pci/controller/pcie-mediatek.c
301
writel(CFG_HEADER_DW2(where, PCI_FUNC(devfn), PCI_SLOT(devfn), bus),
drivers/pci/controller/pcie-mediatek.c
331
writel(CFG_HEADER_DW2(where, PCI_FUNC(devfn), PCI_SLOT(devfn), bus),
drivers/pci/controller/pcie-mediatek.c
761
writel(PCIE_CONF_ADDR(where, PCI_FUNC(devfn), PCI_SLOT(devfn),
drivers/pci/controller/pcie-mediatek.c
776
u32 func = PCI_FUNC(port->slot);
drivers/pci/controller/pcie-mt7621.c
131
PCI_FUNC(devfn), where);
drivers/pci/controller/pcie-rcar-host.c
165
func = PCI_FUNC(devfn);
drivers/pci/controller/pcie-rzg3s-host.c
299
func = PCI_FUNC(devfn);
drivers/pci/controller/pcie-rzg3s-host.c
406
PCI_SLOT(devfn), PCI_FUNC(devfn), where);
drivers/pci/hotplug/acpiphp_glue.c
423
if (PCI_FUNC(dev->devfn) == func->function) {
drivers/pci/hotplug/cpci_hotplug_pci.c
247
slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn));
drivers/pci/hotplug/cpqphp_core.c
1032
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), ctrl->rev);
drivers/pci/hotplug/cpqphp_nvram.c
279
rc = add_byte(&pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available);
drivers/pci/hotplug/cpqphp_nvram.c
467
(function != PCI_FUNC(ctrl->pci_dev->devfn))) {
drivers/pci/hotplug/pciehp_hpc.c
272
PCI_FUNC(devfn), count, step, l);
drivers/pci/of.c
695
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/pci/of_property.c
60
FIELD_PREP(OF_PCI_ADDR_FIELD_FUNC, PCI_FUNC(pdev->devfn));
drivers/pci/pci-acpi.c
1340
addr = (PCI_SLOT(pci_dev->devfn) << 16) | PCI_FUNC(pci_dev->devfn);
drivers/pci/pci.c
6263
PCI_SLOT(devfn_from), PCI_FUNC(devfn_from));
drivers/pci/pci.c
6266
PCI_SLOT(devfn_from), PCI_FUNC(devfn_from),
drivers/pci/pci.c
6267
PCI_SLOT(devfn_to), PCI_FUNC(devfn_to));
drivers/pci/pcie/aer.c
1232
PCI_FUNC(entry.devfn));
drivers/pci/pcie/aer.c
1281
domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/pci/pcie/aer.c
861
PCI_SLOT(source), PCI_FUNC(source),
drivers/pci/pcie/aspm.c
286
if (PCI_FUNC(child->devfn) == 0)
drivers/pci/pcie/aspm.c
455
child_old_ccc[PCI_FUNC(child->devfn)] = reg16 & PCI_EXP_LNKCTL_CCC;
drivers/pci/pcie/aspm.c
471
child_old_ccc[PCI_FUNC(child->devfn)]);
drivers/pci/pcie/dpc.c
292
PCI_SLOT(source), PCI_FUNC(source));
drivers/pci/pcie/pme.c
201
busnr, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/pci/probe.c
2057
PCI_FUNC(dev->devfn));
drivers/pci/probe.c
2546
PCI_SLOT(devfn), PCI_FUNC(devfn), delay - 1);
drivers/pci/probe.c
2553
PCI_SLOT(devfn), PCI_FUNC(devfn), delay - 1);
drivers/pci/probe.c
2565
PCI_SLOT(devfn), PCI_FUNC(devfn), delay - 1);
drivers/pci/probe.c
2635
if (PCI_FUNC(dev->devfn) != 0 || dev->is_virtfn)
drivers/pci/proc.c
440
sprintf(name, "%02x.%x", PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
drivers/pci/quirks.c
1842
if (PCI_FUNC(pdev->devfn))
drivers/pci/quirks.c
3323
if (PCI_FUNC(dev->devfn))
drivers/pci/quirks.c
3354
if (PCI_FUNC(dev->devfn))
drivers/pci/quirks.c
4298
if (PCI_FUNC(dev->devfn) != 0)
drivers/pci/quirks.c
4316
if (PCI_FUNC(dev->devfn) != 1)
drivers/pci/quirks.c
5741
if (PCI_FUNC(pdev->devfn) != consumer)
drivers/pci/quirks.c
5943
pp, PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/pci/tsm.c
646
if (PCI_FUNC(pf_dev->devfn) == 0)
drivers/pci/tsm.c
650
pf_dev->devfn - PCI_FUNC(pf_dev->devfn));
drivers/pci/vgaarb.c
1300
PCI_FUNC(devfn));
drivers/pci/vgaarb.c
1306
domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn),
drivers/pci/vpd.c
553
if (!PCI_FUNC(dev->devfn))
drivers/pci/xen-pcifront.c
193
PCI_FUNC(devfn), where, size);
drivers/pci/xen-pcifront.c
230
PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val);
drivers/pci/xen-pcifront.c
431
PCI_SLOT(devfn), PCI_FUNC(devfn));
drivers/pcmcia/o2micro.h
121
if (PCI_FUNC(socket->dev->devfn) == 0) {
drivers/pcmcia/ti113x.h
240
if(PCI_FUNC(socket->dev->devfn)==1)
drivers/pcmcia/ti113x.h
789
if ((PCI_FUNC(socket->dev->devfn) == 0) ||
drivers/pcmcia/ti113x.h
848
if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) {
drivers/pcmcia/ti113x.h
871
if (PCI_FUNC(socket->dev->devfn) == 0)
drivers/perf/hisilicon/hns3_pmu.c
483
PCI_SLOT(bdf), PCI_FUNC(bdf));
drivers/perf/hisilicon/hns3_pmu.c
494
PCI_SLOT(bdf), PCI_FUNC(bdf));
drivers/platform/x86/p2sb.c
116
if (!p2sb_valid_resource(&p2sb_resources[PCI_FUNC(devfn)].res))
drivers/platform/x86/p2sb.c
182
struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)];
drivers/platform/x86/p2sb.c
86
struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)];
drivers/scsi/advansys.c
10334
if (PCI_FUNC(pdev->devfn) != 0) {
drivers/scsi/advansys.c
5612
if (PCI_FUNC(pdev->devfn) == 0) {
drivers/scsi/aic7xxx/aic79xx_osm.h
468
return (PCI_FUNC(pci->devfn));
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
198
if ((ahd->features & AHD_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0)
drivers/scsi/aic7xxx/aic7xxx_osm.h
478
return (PCI_FUNC(pci->devfn));
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
240
if ((ahc->features & AHC_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0)
drivers/scsi/be2iscsi/be_cmds.c
1008
pci_func_id, ctxt, PCI_FUNC(ctrl->pdev->devfn));
drivers/scsi/be2iscsi/be_cmds.c
755
PCI_FUNC(ctrl->pdev->devfn));
drivers/scsi/be2iscsi/be_cmds.c
808
PCI_FUNC(ctrl->pdev->devfn));
drivers/scsi/be2iscsi/be_cmds.c
879
PCI_FUNC(phba->pcidev->devfn));
drivers/scsi/be2iscsi/be_main.c
761
(PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE));
drivers/scsi/bfa/bfad.c
1271
(PCI_FUNC(pdev->devfn) != 0))
drivers/scsi/bfa/bfad.c
752
bfad->hal_pcidev.pci_func = PCI_FUNC(pdev->devfn);
drivers/scsi/bfa/bfad.c
762
bfad->pci_attr.pcifn = PCI_FUNC(pdev->devfn);
drivers/scsi/bnx2i/bnx2i_iscsi.c
809
hba->pci_func = PCI_FUNC(hba->pcidev->devfn);
drivers/scsi/csiostor/csio_hw.h
599
#define CSIO_PCI_FUNC(hw) (PCI_FUNC((hw)->pdev->devfn))
drivers/scsi/elx/efct/efct_hw.c
55
if (PCI_FUNC(efct->pci->devfn) != 0)
drivers/scsi/esas2r/esas2r_ioctl.c
456
gcc->pci_addr.function_num = PCI_FUNC(a->pcid->devfn);
drivers/scsi/esas2r/esas2r_ioctl.c
786
gai->pci.func_num = PCI_FUNC(a->pcid->devfn);
drivers/scsi/lpfc/lpfc_attr.c
6007
if (phba->cfg_ras_fwlog_func != PCI_FUNC(phba->pcidev->devfn))
drivers/scsi/lpfc/lpfc_init.c
15620
if (phba->cfg_ras_fwlog_func == PCI_FUNC(phba->pcidev->devfn) &&
drivers/scsi/megaraid.c
4400
mcontroller[i].pcifun = PCI_FUNC (pci_dev_func);
drivers/scsi/megaraid/megaraid_mbox.c
419
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)));
drivers/scsi/megaraid/megaraid_mm.c
891
cinfo->pcifun = PCI_FUNC(hinfo->pci_dev_fn);
drivers/scsi/mpi3mr/mpi3mr_app.c
1639
adpinfo.pci_func = PCI_FUNC(mrioc->pdev->devfn);
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1241
karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn);
drivers/scsi/qla2xxx/qla_nx.c
2237
ha->portnum = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla2xxx/qla_nx2.c
2935
((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4);
drivers/scsi/qla2xxx/qla_os.c
3134
ha->portnum = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla2xxx/qla_os.c
3165
ha->portnum = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla2xxx/qla_os.c
3182
ha->portnum = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla4xxx/ql4_nx.c
2050
dma_desc.cmd.dma_desc_cmd |= ((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4);
drivers/scsi/qla4xxx/ql4_os.c
5928
func_num = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla4xxx/ql4_os.c
8662
ha->func_num = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/qla4xxx/ql4_os.c
8913
if (PCI_FUNC(ha->pdev->devfn) & BIT_1)
drivers/scsi/qla4xxx/ql4_os.c
9677
fn = PCI_FUNC(ha->pdev->devfn);
drivers/scsi/snic/snic_main.c
361
PCI_FUNC(pdev->devfn));
drivers/scsi/snic/snic_main.c
382
PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
drivers/scsi/snic/snic_main.c
732
PCI_FUNC(pdev->devfn));
drivers/scsi/snic/snic_main.c
751
PCI_FUNC(pdev->devfn));
drivers/scsi/sym53c8xx_2/sym_glue.c
1881
if (PCI_FUNC(pdev->devfn) == 0) {
drivers/spi/spi-pxa2xx-pci.c
201
switch (PCI_FUNC(dev->devfn)) {
drivers/ssb/driver_gige.c
116
if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0))
drivers/ssb/driver_gige.c
146
if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0))
drivers/ssb/driver_pcicore.c
213
PCI_FUNC(devfn), reg, val, size);
drivers/ssb/driver_pcicore.c
227
PCI_FUNC(devfn), reg, &val, size);
drivers/tty/serial/8250/8250_mid.c
114
int index = PCI_FUNC(pdev->devfn);
drivers/video/fbdev/sis/sis_main.c
5855
ivideo->pcifunc = PCI_FUNC(pdev->devfn);
drivers/video/fbdev/tgafb.c
1523
PCI_FUNC(to_pci_dev(dev)->devfn));
drivers/xen/xen-pciback/pci_stub.c
1129
|| PCI_FUNC(devfn) != func)
drivers/xen/xen-pciback/pci_stub.c
1155
&& (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) {
drivers/xen/xen-pciback/pci_stub.c
1268
PCI_FUNC(pci_dev_id->devfn));
drivers/xen/xen-pciback/pci_stub.c
1382
PCI_FUNC(quirk->pdev->devfn),
drivers/xen/xen-pciback/pci_stub.c
186
&& func == PCI_FUNC(psdev->dev->devfn)) {
drivers/xen/xen-pciback/pci_stub.c
236
int func = PCI_FUNC(sbdf);
drivers/xen/xen-pciback/pci_stub.c
827
PCI_FUNC(dev->devfn));
drivers/xen/xen-pciback/pci_stub.c
884
PCI_FUNC(dev->devfn));
drivers/xen/xen-pciback/pci_stub.c
941
PCI_FUNC(dev->devfn));
drivers/xen/xen-pciback/pci_stub.c
994
PCI_FUNC(dev->devfn));
drivers/xen/xen-pciback/vpci.c
109
if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn))
drivers/xen/xen-pciback/vpci.c
251
PCI_FUNC(pcidev->devfn));
drivers/xen/xen-pciback/vpci.c
49
if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) {
drivers/xen/xen-pciback/vpci.c
73
int err = 0, slot, func = PCI_FUNC(dev->devfn);
drivers/xen/xen-pciback/xenbus.c
220
PCI_SLOT(devfn), PCI_FUNC(devfn));
include/linux/mlx5/driver.h
1314
return PCI_FUNC(dev->pdev->devfn);
include/linux/pci-tsm.h
159
return PCI_FUNC(pdev->devfn) == 0;