/Linux-v6.6/drivers/xen/xen-pciback/ |
D | vpci.c | 49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev() 73 int err = 0, slot, func = PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev() 109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn)) in __xen_pcibk_add_pci_dev() 251 PCI_FUNC(pcidev->devfn)); in __xen_pcibk_get_pcifront_dev()
|
D | pci_stub.c | 167 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find_locked() 784 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset() 841 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled() 898 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected() 951 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume() 1086 || PCI_FUNC(devfn) != func) in pcistub_device_id_add() 1112 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove() 1225 PCI_FUNC(pci_dev_id->devfn)); in slots_show() 1339 PCI_FUNC(quirk->pdev->devfn), in quirks_show()
|
/Linux-v6.6/arch/arm/plat-orion/ |
D | pcie.c | 213 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf() 232 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_tlp() 239 PCI_FUNC(devfn) != 0) in orion_pcie_rd_conf_tlp() 255 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_wa() 273 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_wr_conf()
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | ocxl.c | 195 link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0; in pnv_ocxl_fixup_actag() 204 link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag; in pnv_ocxl_fixup_actag() 207 link->fn_desired_actags[PCI_FUNC(dev->devfn)]); in pnv_ocxl_fixup_actag() 273 *base = link->fn_actags[PCI_FUNC(dev->devfn)].start; in pnv_ocxl_get_actag() 274 *enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count; in pnv_ocxl_get_actag() 275 *supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)]; in pnv_ocxl_get_actag() 306 if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) { in pnv_ocxl_get_pasid_count()
|
/Linux-v6.6/arch/xtensa/lib/ |
D | pci-auto.c | 253 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan() 263 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan() 310 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
|
/Linux-v6.6/drivers/pci/controller/ |
D | pci-ftpci100.c | 186 PCI_FUNC(fn), config), in faraday_raw_pci_read_config() 206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config() 218 PCI_FUNC(fn), config), in faraday_raw_pci_write_config() 245 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
|
D | pci-ixp4xx.c | 191 return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) & in ixp4xx_config_addr() 196 PCI_FUNC(devfn), where) & in ixp4xx_config_addr() 310 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_read_config() 358 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_write_config()
|
/Linux-v6.6/include/uapi/linux/ |
D | pci.h | 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_pci.c | 67 PCI_FUNC(pdev->devfn)); in drm_pci_set_busid() 83 p->devnum != PCI_SLOT(pdev->devfn) || p->funcnum != PCI_FUNC(pdev->devfn)) in drm_legacy_pci_irq_by_busid()
|
/Linux-v6.6/drivers/ata/ |
D | ata_generic.c | 186 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one() 191 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
|
/Linux-v6.6/arch/mips/pci/ |
D | pci-rt2880.c | 68 PCI_FUNC(devfn), where); in rt2880_pci_config_read() 95 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
|
D | pci-mt7620.c | 141 u8 func = PCI_FUNC(devfn); in pci_config_read() 173 u8 func = PCI_FUNC(devfn); in pci_config_write()
|
D | ops-msc.c | 46 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc_pcibios_config_access()
|
/Linux-v6.6/arch/x86/pci/ |
D | direct.c | 108 fn = PCI_FUNC(devfn); in pci_conf2_read() 148 fn = PCI_FUNC(devfn); in pci_conf2_write()
|
/Linux-v6.6/drivers/infiniband/hw/irdma/ |
D | i40iw_if.c | 63 pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn)); in i40iw_close() 155 PCI_FUNC(rf->pcidev->devfn)); in i40iw_open()
|
/Linux-v6.6/arch/arm/mach-footbridge/ |
D | ebsa285-pci.c | 23 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
|
/Linux-v6.6/drivers/misc/ocxl/ |
D | config.c | 105 if (!pos && PCI_FUNC(dev->devfn) == 0) { in read_dvsec_tl() 109 if (pos && PCI_FUNC(dev->devfn) != 0) { in read_dvsec_tl() 175 if (PCI_FUNC(dev->devfn) != 0) in read_dvsec_vendor() 213 if (PCI_FUNC(dev->devfn) != 0) { in get_dvsec_vendor0() 800 if (PCI_FUNC(dev->devfn) != 0) in ocxl_config_set_TL()
|
/Linux-v6.6/arch/powerpc/platforms/pasemi/ |
D | misc.c | 80 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info, in pasemi_register_i2c_devices()
|
/Linux-v6.6/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 351 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1)) in uli_exclude_device() 355 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2)) in uli_exclude_device()
|
/Linux-v6.6/arch/arm/mach-orion5x/ |
D | pci.c | 328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) in orion5x_pci_valid_config() 351 PCI_FUNC(devfn), where, size, val); in orion5x_pci_rd_conf() 361 PCI_FUNC(devfn), where, size, val); in orion5x_pci_wr_conf()
|
/Linux-v6.6/drivers/pcmcia/ |
D | ti113x.h | 240 if(PCI_FUNC(socket->dev->devfn)==1) in ti1250_zoom_video() 789 if ((PCI_FUNC(socket->dev->devfn) == 0) || in ti12xx_power_hook() 848 if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) { in ti12xx_override() 871 if (PCI_FUNC(socket->dev->devfn) == 0) in ti12xx_override()
|
/Linux-v6.6/drivers/iommu/amd/ |
D | init.c | 298 PCI_FUNC(iommu->devid)); in get_global_efr() 1413 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1425 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1439 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1443 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 1458 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1462 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 1476 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1489 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1502 PCI_FUNC(e->devid)); in init_iommu_from_acpi() [all …]
|
/Linux-v6.6/drivers/ssb/ |
D | driver_gige.c | 116 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_read_config() 146 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_write_config()
|
/Linux-v6.6/drivers/scsi/snic/ |
D | snic_main.c | 362 PCI_FUNC(pdev->devfn)); in snic_probe() 383 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in snic_probe() 733 PCI_FUNC(pdev->devfn)); in snic_probe() 752 PCI_FUNC(pdev->devfn)); in snic_remove()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | efivar.c | 123 PCI_FUNC(dd->pcidev->devfn)); in read_hfi1_efi_var()
|