| /openbmc/u-boot/drivers/pci/ |
| H A D | pci_gt64120.c | 49 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access() 61 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access() 110 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
|
| H A D | pci_indirect.c | 26 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \ 41 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
|
| H A D | pcie_intel_fpga.c | 96 PCI_FUNC(bdf) == 0 && offset == PCI_BASE_ADDRESS_0) in intel_fpga_pcie_hide_rc_bar() 203 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read() 218 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write() 309 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in _pcie_intel_fpga_write_config() 332 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_intel_fpga_read_config()
|
| H A D | pci.c | 358 if (PCI_FUNC(dev) && !found_multi) in pci_hose_scan_bus() 368 if (!PCI_FUNC(dev)) in pci_hose_scan_bus() 372 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 389 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 399 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
| H A D | pcie_aspeed.c | 115 (PCI_FUNC(bdf) << 16) | in aspeed_pcie_cfg_read() 247 (PCI_FUNC(bdf) << 16) | in aspeed_pcie_cfg_write() 308 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_aspeed_read_config() 346 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_aspeed_write_config()
|
| H A D | pcie_ecam_generic.c | 47 addr += PCI_FUNC(bdf) << 12; in pci_generic_ecam_conf_address()
|
| H A D | pcie_xilinx.c | 63 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
|
| H A D | pci-aardvark.c | 124 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where)) 309 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_read_config() 405 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_write_config()
|
| H A D | pci_msc01.c | 36 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
|
| H A D | pci_mvebu.c | 53 PCIE_CONF_FUNC(PCI_FUNC(dev)) | PCIE_CONF_REG(reg) | \ 150 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_read_config() 193 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_write_config()
|
| H A D | pci_sandbox.c | 59 PCI_FUNC(devfn)); in sandbox_pci_read_config()
|
| H A D | pcie_dw_mvebu.c | 252 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_read_config() 298 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_write_config()
|
| H A D | pci-uclass.c | 735 PCI_FUNC(bdf)); in pci_find_and_bind_driver() 773 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices() 775 if (PCI_FUNC(bdf) && !found_multi) in pci_bind_bus_devices() 790 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices() 794 bus->seq, bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_bind_bus_devices()
|
| /openbmc/u-boot/drivers/bios_emulator/ |
| H A D | atibios.c | 254 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST() 257 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST() 525 vga_info->function = PCI_FUNC(bdf); in PCI_postController() 529 vga_info->function = PCI_FUNC(pcidev); in PCI_postController() 561 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 564 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
| /openbmc/qemu/hw/riscv/ |
| H A D | riscv-iommu-pci.c | 96 pci_dev_bus_num(dev), PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in riscv_iommu_pci_realize() 134 PCI_FUNC(dev->devfn)); in riscv_iommu_pci_realize()
|
| /openbmc/qemu/ui/ |
| H A D | util.c | 44 PCI_SLOT(pci->devfn), PCI_FUNC(pci->devfn)); in append_pci_address()
|
| /openbmc/qemu/hw/pci/ |
| H A D | pci_host.c | 95 PCI_FUNC(pci_dev->devfn), addr, val); in pci_host_config_write_common() 121 PCI_FUNC(pci_dev->devfn), addr, ret); in pci_host_config_read_common()
|
| H A D | pci-hmp-cmds.c | 155 PCI_SLOT(d->devfn), PCI_FUNC(d->devfn), in pcibus_dev_print() 245 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in hmp_pcie_aer_inject_error()
|
| H A D | pcie_sriov.c | 45 PCI_FUNC(dev->devfn), num_vfs); in register_vfs() 59 PCI_FUNC(dev->devfn)); in unregister_vfs() 431 PCI_FUNC(dev->devfn), off, val, len); in pcie_sriov_config_write()
|
| /openbmc/qemu/include/hw/xen/ |
| H A D | xen_native.h | 443 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_map_pcidev() 447 PCI_FUNC(pci_dev->devfn)); in xen_map_pcidev() 459 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_unmap_pcidev() 463 PCI_FUNC(pci_dev->devfn)); in xen_unmap_pcidev()
|
| /openbmc/u-boot/board/armltd/integrator/ |
| H A D | pci.c | 92 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window() 121 address = PCI_FUNC(bdf) << 8; in v3_open_config_window()
|
| /openbmc/u-boot/arch/x86/cpu/ |
| H A D | irq.c | 259 rt->rtr_devfn = (PCI_DEV(priv->bdf) << 3) | PCI_FUNC(priv->bdf); in create_pirq_routing_table() 276 PCI_FUNC(pr.bdf), 'A' + pr.pin - 1, in create_pirq_routing_table()
|
| /openbmc/u-boot/board/armltd/vexpress64/ |
| H A D | pcie.c | 59 (PCI_FUNC(d) << 12) | o)
|
| /openbmc/qemu/hw/acpi/ |
| H A D | pcihp.c | 817 if (PCI_FUNC(devfn)) { in is_devfn_ignored_generic() 844 if (PCI_FUNC(devfn) || in is_devfn_ignored_hotplug() 866 int adr = slot << 16 | PCI_FUNC(devfn); in build_append_pcihp_slots() 909 int adr = PCI_SLOT(devfn) << 16 | PCI_FUNC(devfn); in build_append_pci_bus_devices()
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | bios_interrupts.c | 148 PCI_FUNC(bdf); in int1a_handler()
|