/u-boot/drivers/pci/ |
A D | pci_gt64120.c | 51 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access() 63 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access() 112 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
|
A D | pci_octeontx.c | 61 func = PCI_FUNC(bdf); in octeontx_cfg_addr() 131 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), size, offset, *valuep); in octeontx_ecam_read_config() 149 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), size, offset, value); in octeontx_ecam_write_config() 211 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), size, offset, in octeontx_pem_write_config() 236 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), size, offset, in octeontx2_pem_read_config() 259 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), size, offset, in octeontx2_pem_write_config()
|
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); \
|
A D | pcie_phytium.c | 41 addr += PCI_FUNC(parent) << 12; in phytium_pci_skip_dev() 94 addr += PCI_FUNC(bdf) << 12; in pci_phytium_conf_address()
|
A D | pcie_intel_fpga.c | 99 PCI_FUNC(bdf) == 0 && offset == PCI_BASE_ADDRESS_0) in intel_fpga_pcie_hide_rc_bar() 208 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read() 223 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write() 314 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in _pcie_intel_fpga_write_config() 337 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_intel_fpga_read_config()
|
A D | pcie_layerscape_fixup.c | 197 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in fdt_fixup_pcie_device_ls() 205 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in fdt_fixup_pcie_device_ls() 467 PCI_DEV(entry->bdf), PCI_FUNC(entry->bdf)); in fdt_fixup_pci_vfs() 492 PCI_DEV(entry->bdf), PCI_FUNC(entry->bdf)); in fdt_fixup_pci_vfs() 547 PCI_FUNC(bdf)); in fdt_fixup_pcie_ls() 564 PCI_FUNC(entries[i].bdf)); in fdt_fixup_pcie_ls()
|
A D | pci.c | 363 if (PCI_FUNC(dev) && !found_multi) in pci_hose_scan_bus() 373 if (!PCI_FUNC(dev)) in pci_hose_scan_bus() 377 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 394 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 404 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
A D | pcie_xilinx.c | 65 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
|
A D | pci_msc01.c | 37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
|
A D | pcie_ecam_generic.c | 51 addr += PCI_FUNC(bdf) << 12; in pci_generic_ecam_conf_address()
|
A D | pci-aardvark.c | 132 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where)) 318 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_read_config() 414 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_write_config()
|
A D | pci_sandbox.c | 60 PCI_FUNC(devfn)); in sandbox_pci_read_config()
|
A D | pci_mvebu.c | 57 PCIE_CONF_FUNC(PCI_FUNC(dev)) | PCIE_CONF_REG(reg) | \ 175 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_read_config() 202 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_write_config()
|
A D | pci-uclass.c | 769 PCI_FUNC(bdf)); in pci_find_and_bind_driver() 808 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices() 810 if (PCI_FUNC(bdf) && !found_multi) in pci_bind_bus_devices() 825 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices() 829 dev_seq(bus), bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_bind_bus_devices() 890 PCI_FUNC(ari_cap)); in pci_bind_bus_devices() 1745 dev_seq(bus), bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_sriov_init() 1777 PCI_FUNC(bdf), vendor, device, class, pplat->virtid); in pci_sriov_init()
|
A D | pcie_dw_mvebu.c | 255 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_read_config() 301 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_write_config()
|
/u-boot/board/theadorable/ |
A D | theadorable.c | 360 ven_id, dev_id, PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_get_link_speed_width() 409 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in do_pcie_test() 425 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in do_pcie_test()
|
/u-boot/drivers/bios_emulator/ |
A D | atibios.c | 256 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST() 259 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST() 527 vga_info->function = PCI_FUNC(bdf); in PCI_postController() 531 vga_info->function = PCI_FUNC(pcidev); in PCI_postController() 563 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 566 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
/u-boot/arch/x86/cpu/intel_common/ |
A D | generic_wifi.c | 75 address = (PCI_DEV(bdf) << 16) | PCI_FUNC(bdf); in generic_wifi_fill_ssdt()
|
/u-boot/board/armltd/integrator/ |
A D | pci.c | 96 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window() 125 address = PCI_FUNC(bdf) << 8; in v3_open_config_window()
|
/u-boot/drivers/net/ |
A D | fsl_enetc.c | 73 devfn = PCI_FUNC(ppdata->devfn); in fdt_fixup_enetc_mac() 78 PCI_DEV(ppdata->devfn), PCI_FUNC(ppdata->devfn)); in fdt_fixup_enetc_mac() 103 sprintf(name, "enetc-%u", PCI_FUNC(pci_get_devfn(dev))); in enetc_bind() 371 int devfn = PCI_FUNC(ppdata->devfn); in enetc_ls1028a_write_hwaddr()
|
A D | fsl_enetc_mdio.c | 116 sprintf(name, "emdio-%u", PCI_FUNC(pci_get_devfn(dev))); in enetc_mdio_bind()
|
/u-boot/board/armltd/vexpress64/ |
A D | pcie.c | 61 (PCI_FUNC(d) << 12) | o)
|
/u-boot/arch/x86/cpu/ |
A D | irq.c | 262 rt->rtr_devfn = (PCI_DEV(priv->bdf) << 3) | PCI_FUNC(priv->bdf); in create_pirq_routing_table() 279 PCI_FUNC(pr.bdf), 'A' + pr.pin - 1, in create_pirq_routing_table()
|
/u-boot/arch/x86/cpu/apollolake/ |
A D | cpu_spl.c | 54 if (PCI_FUNC(PCH_DEV_UART) == 1) { in pch_uart_init()
|
/u-boot/arch/x86/lib/ |
A D | bios_interrupts.c | 149 PCI_FUNC(bdf); in int1a_handler()
|