| /rk3399_rockchip-uboot/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_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); \
|
| 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_msc01.c | 37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
|
| H A D | pcie_xilinx.c | 65 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
|
| H A D | pcie_dw_mvebu.c | 218 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_read_config() 260 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_write_config()
|
| H A D | pci-uclass.c | 392 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_reset_function() 810 PCI_FUNC(bdf)); in pci_find_and_bind_driver() 848 if (PCI_FUNC(bdf) && !found_multi) in pci_bind_bus_devices() 860 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices() 864 bus->seq, bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_bind_bus_devices()
|
| H A D | pci_common.c | 297 if (!PCI_FUNC(bdf)) { in pci_hose_find_devices()
|
| H A D | pci_mvebu.c | 49 PCIE_CONF_FUNC(PCI_FUNC(dev)) | PCIE_CONF_REG(reg) | \
|
| H A D | pcie_dw_rockchip.c | 538 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_rd_conf() 569 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_wr_conf()
|
| H A D | pcie_layerscape.c | 255 PCIE_ATU_FUNC(PCI_FUNC(bdf)); in ls_pcie_conf_address()
|
| H A D | pci_tegra.c | 283 (PCI_DEV(bdf) << 11) | (PCI_FUNC(bdf) << 8) | in tegra_pcie_conf_offset()
|
| /rk3399_rockchip-uboot/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()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | irq.c | 166 rt->rtr_devfn = (PCI_DEV(priv->bdf) << 3) | PCI_FUNC(priv->bdf); in create_pirq_routing_table() 183 PCI_FUNC(pr.bdf), 'A' + pr.pin - 1, in create_pirq_routing_table()
|
| /rk3399_rockchip-uboot/board/armltd/integrator/ |
| H A D | pci.c | 93 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window() 122 address = PCI_FUNC(bdf) << 8; in v3_open_config_window()
|
| /rk3399_rockchip-uboot/board/armltd/vexpress64/ |
| H A D | pcie.c | 59 (PCI_FUNC(d) << 12) | o)
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | bios_interrupts.c | 149 PCI_FUNC(bdf); in int1a_handler()
|
| H A D | bios.c | 252 PCI_FUNC(pcidev); in bios_run_on_x86()
|
| H A D | mpspec.c | 329 func = PCI_FUNC(pr.bdf); in mptable_add_intsrc()
|
| /rk3399_rockchip-uboot/board/gateworks/gw_ventana/ |
| H A D | gw_ventana.c | 530 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev), vendor, device); in board_pci_fixup_dev() 558 PCI_DEV(dev) == 0 && PCI_FUNC(dev) == 0) { in board_pci_fixup_dev() 880 (PCI_FUNC(x->devfn)<<8) \ 890 PCI_DEV(dev->devfn), PCI_FUNC(dev->devfn)); in fdt_add_pci_node()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | pci.c | 307 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo() 311 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo()
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | pcie.c | 59 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | pci.h | 520 #define PCI_FUNC(d) (((d) >> 8) & 0x7) macro
|