Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_gt64120.c50 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 Dpci_indirect.c27 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 Dpci.c362 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 Dpci_msc01.c37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
H A Dpcie_xilinx.c65 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
H A Dpcie_dw_mvebu.c218 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 Dpci-uclass.c392 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 Dpci_common.c297 if (!PCI_FUNC(bdf)) { in pci_hose_find_devices()
H A Dpci_mvebu.c49 PCIE_CONF_FUNC(PCI_FUNC(dev)) | PCIE_CONF_REG(reg) | \
H A Dpcie_dw_rockchip.c538 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 Dpcie_layerscape.c255 PCIE_ATU_FUNC(PCI_FUNC(bdf)); in ls_pcie_conf_address()
H A Dpci_tegra.c283 (PCI_DEV(bdf) << 11) | (PCI_FUNC(bdf) << 8) | in tegra_pcie_conf_offset()
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Datibios.c252 (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 Dirq.c166 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 Dpci.c93 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 Dpcie.c59 (PCI_FUNC(d) << 12) | o)
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dbios_interrupts.c149 PCI_FUNC(bdf); in int1a_handler()
H A Dbios.c252 PCI_FUNC(pcidev); in bios_run_on_x86()
H A Dmpspec.c329 func = PCI_FUNC(pr.bdf); in mptable_add_intsrc()
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/
H A Dgw_ventana.c530 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 Dpci.c307 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 Dpcie.c59 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()
/rk3399_rockchip-uboot/include/
H A Dpci.h520 #define PCI_FUNC(d) (((d) >> 8) & 0x7) macro