| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | ocxl.c | 194 link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0; in pnv_ocxl_fixup_actag() 203 link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag; in pnv_ocxl_fixup_actag() 206 link->fn_desired_actags[PCI_FUNC(dev->devfn)]); in pnv_ocxl_fixup_actag() 272 *base = link->fn_actags[PCI_FUNC(dev->devfn)].start; in pnv_ocxl_get_actag() 273 *enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count; in pnv_ocxl_get_actag() 274 *supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)]; in pnv_ocxl_get_actag() 305 if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) { in pnv_ocxl_get_pasid_count()
|
| /OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/ |
| H A 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() 256 PCI_FUNC(pcidev->devfn)); in __xen_pcibk_get_pcifront_dev()
|
| H A D | pci_stub.c | 166 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find_locked() 785 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset() 842 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled() 899 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected() 952 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume() 1087 || PCI_FUNC(devfn) != func) in pcistub_device_id_add() 1113 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove() 1226 PCI_FUNC(pci_dev_id->devfn)); in slots_show() 1340 PCI_FUNC(quirk->pdev->devfn), in quirks_show()
|
| /OK3568_Linux_fs/kernel/arch/arm/plat-orion/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-pci-generic.c | 118 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one() 123 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one() 128 PCI_FUNC(dev->devfn) != 1) in generic_init_one()
|
| H A D | serverworks.c | 199 if (!(PCI_FUNC(dev->devfn) & 1)) { in init_chipset_svwks() 251 if (!(PCI_FUNC(dev->devfn) & 1)) in init_chipset_svwks() 411 if ((PCI_FUNC(dev->devfn) & 1) == 0) { in svwks_init_one()
|
| H A D | cy82c693.c | 154 if (PCI_FUNC(dev->devfn) == 1) in init_iops_cy82c693() 186 PCI_FUNC(dev->devfn) == 1) { in cy82c693_init_one()
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pci_gt64120.c | 50 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access() 62 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access() 111 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
|
| H A D | pci.c | 362 if (PCI_FUNC(dev) && !found_multi) in pci_hose_scan_bus() 372 if (!PCI_FUNC(dev)) in pci_hose_scan_bus() 376 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 393 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 403 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
| H A D | pci_indirect.c | 27 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \ 42 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
|
| /OK3568_Linux_fs/u-boot/drivers/bios_emulator/ |
| H A D | atibios.c | 252 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST() 255 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST() 521 vga_info->function = PCI_FUNC(bdf); in PCI_postController() 525 vga_info->function = PCI_FUNC(pcidev); in PCI_postController() 557 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 560 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-ixp4xx/ |
| H A D | common-pci.c | 170 addr = BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr() 175 ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; in ixp4xx_config_addr() 244 bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_read_config() 267 size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_write_config()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/lib/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/mips/pci/ |
| H A D | pci-xlp.c | 75 !nlm_node_present(PCI_FUNC(devfn))) in pci_cfg_read_32bit() 203 return PCI_FUNC(lnkdev->bus->self->devfn); in xlp_socdev_to_node() 221 lnkfunc = PCI_FUNC(lnkdev->devfn); in pcibios_map_irq()
|
| H A D | pci-rt2880.c | 71 PCI_FUNC(devfn), where); in rt2880_pci_config_read() 101 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/ |
| H A D | pci-ftpci100.c | 195 PCI_CONF_FUNCTION(PCI_FUNC(fn)) | in faraday_raw_pci_read_config() 217 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config() 230 PCI_CONF_FUNCTION(PCI_FUNC(fn)) | in faraday_raw_pci_write_config() 259 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-iop32x/ |
| H A D | iq31244.c | 119 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in ep80219_pci_map_irq() 154 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq31244_pci_map_irq()
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/iommu/amd/ |
| H A D | init.c | 1242 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1254 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1268 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1272 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 1287 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1291 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 1305 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1318 PCI_FUNC(e->devid), in init_iommu_from_acpi() 1331 PCI_FUNC(e->devid)); in init_iommu_from_acpi() 1365 PCI_FUNC(devid)); in init_iommu_from_acpi() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/pci/ |
| H A D | direct.c | 108 fn = PCI_FUNC(devfn); in pci_conf2_read() 148 fn = PCI_FUNC(devfn); in pci_conf2_write()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ocxl/ |
| H A D | config.c | 116 if (!pos && PCI_FUNC(dev->devfn) == 0) { in read_dvsec_tl() 120 if (pos && PCI_FUNC(dev->devfn) != 0) { in read_dvsec_tl() 186 if (PCI_FUNC(dev->devfn) != 0) in read_dvsec_vendor() 212 if (PCI_FUNC(dev->devfn) != 0) { in get_dvsec_vendor0() 793 if (PCI_FUNC(dev->devfn) != 0) in ocxl_config_set_TL()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | pci.h | 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | pci.h | 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | pci.h | 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_pci.c | 119 PCI_FUNC(dev->pdev->devfn)); in drm_pci_set_busid() 131 p->devnum != PCI_SLOT(dev->pdev->devfn) || p->funcnum != PCI_FUNC(dev->pdev->devfn)) in drm_pci_irq_by_busid()
|