Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/u-boot/drivers/pci/
H A Dpci_gt64120.c49 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 Dpci_indirect.c26 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 Dpcie_intel_fpga.c96 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 Dpci.c358 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 Dpcie_aspeed.c115 (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 Dpcie_ecam_generic.c47 addr += PCI_FUNC(bdf) << 12; in pci_generic_ecam_conf_address()
H A Dpcie_xilinx.c63 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
H A Dpci-aardvark.c124 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 Dpci_msc01.c36 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
H A Dpci_mvebu.c53 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 Dpci_sandbox.c59 PCI_FUNC(devfn)); in sandbox_pci_read_config()
H A Dpcie_dw_mvebu.c252 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 Dpci-uclass.c735 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 Datibios.c254 (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 Driscv-iommu-pci.c96 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 Dutil.c44 PCI_SLOT(pci->devfn), PCI_FUNC(pci->devfn)); in append_pci_address()
/openbmc/qemu/hw/pci/
H A Dpci_host.c95 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 Dpci-hmp-cmds.c155 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 Dpcie_sriov.c45 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 Dxen_native.h443 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 Dpci.c92 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 Dirq.c259 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 Dpcie.c59 (PCI_FUNC(d) << 12) | o)
/openbmc/qemu/hw/acpi/
H A Dpcihp.c817 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 Dbios_interrupts.c148 PCI_FUNC(bdf); in int1a_handler()

12