Home
last modified time | relevance | path

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

12

/u-boot/drivers/pci/
A Dpci_gt64120.c51 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 Dpci_octeontx.c61 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 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); \
A Dpcie_phytium.c41 addr += PCI_FUNC(parent) << 12; in phytium_pci_skip_dev()
94 addr += PCI_FUNC(bdf) << 12; in pci_phytium_conf_address()
A Dpcie_intel_fpga.c99 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 Dpcie_layerscape_fixup.c197 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 Dpci.c363 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 Dpcie_xilinx.c65 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
A Dpci_msc01.c37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
A Dpcie_ecam_generic.c51 addr += PCI_FUNC(bdf) << 12; in pci_generic_ecam_conf_address()
A Dpci-aardvark.c132 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 Dpci_sandbox.c60 PCI_FUNC(devfn)); in sandbox_pci_read_config()
A Dpci_mvebu.c57 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 Dpci-uclass.c769 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 Dpcie_dw_mvebu.c255 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 Dtheadorable.c360 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 Datibios.c256 (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 Dgeneric_wifi.c75 address = (PCI_DEV(bdf) << 16) | PCI_FUNC(bdf); in generic_wifi_fill_ssdt()
/u-boot/board/armltd/integrator/
A Dpci.c96 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 Dfsl_enetc.c73 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 Dfsl_enetc_mdio.c116 sprintf(name, "emdio-%u", PCI_FUNC(pci_get_devfn(dev))); in enetc_mdio_bind()
/u-boot/board/armltd/vexpress64/
A Dpcie.c61 (PCI_FUNC(d) << 12) | o)
/u-boot/arch/x86/cpu/
A Dirq.c262 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 Dcpu_spl.c54 if (PCI_FUNC(PCH_DEV_UART) == 1) { in pch_uart_init()
/u-boot/arch/x86/lib/
A Dbios_interrupts.c149 PCI_FUNC(bdf); in int1a_handler()

Completed in 30 milliseconds

12