/third_party/uboot/u-boot-2020.01/drivers/pci/ |
D | pci_mvebu.c | 52 (PCIE_CONF_BUS(PCI_BUS(dev)) | PCIE_CONF_DEV(PCI_DEV(dev)) | \ 145 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_read_config() 150 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_read_config() 153 if (PCI_BUS(bdf) == local_bus && PCI_DEV(bdf) != local_dev) { in mvebu_pcie_read_config() 154 if (local_dev == 0 && PCI_DEV(bdf) != 1) { in mvebu_pcie_read_config() 162 } else if (local_dev != 0 && PCI_DEV(bdf) != 0) { in mvebu_pcie_read_config() 189 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_write_config() 193 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in mvebu_pcie_write_config() 197 if (PCI_BUS(bdf) == local_bus && PCI_DEV(bdf) != local_dev) { in mvebu_pcie_write_config() 198 if (local_dev == 0 && PCI_DEV(bdf) != 1) { in mvebu_pcie_write_config() [all …]
|
D | pci_gt64120.c | 48 unsigned int dev = PCI_DEV(bdf); in gt_config_access() 49 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()
|
D | pcie_phytium.c | 39 addr += PCI_DEV(parent) << 15; in phytium_pci_skip_dev() 87 unsigned int dev_no = PCI_DEV(bdf); in pci_phytium_conf_address() 93 addr += PCI_DEV(bdf) << 15; in pci_phytium_conf_address()
|
D | pcie_intel_fpga.c | 97 if (IS_ROOT_PORT(pcie, bdf) && PCI_DEV(bdf) == 0 && in intel_fpga_pcie_hide_rc_bar() 129 if (IS_ROOT_PORT(pcie, bdf) && PCI_DEV(bdf) > 0) in intel_fpga_pcie_addr_valid() 132 if ((PCI_BUS(bdf) == pcie->first_busno + 1) && PCI_DEV(bdf) > 0) in intel_fpga_pcie_addr_valid() 207 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read() 222 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write() 313 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in _pcie_intel_fpga_write_config() 336 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_intel_fpga_read_config()
|
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); \
|
D | pci_msc01.c | 35 unsigned int dev = PCI_DEV(bdf); in msc01_config_access() 36 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
|
D | pcie_dw_mvebu.c | 220 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 222 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 252 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()
|
D | pci-rcar-gen2.c | 99 slot = PCI_DEV(d); in rcar_gen2_pci_addr_valid() 114 return priv->cfg_base + (PCI_DEV(bdf) >> 1) * 0x100 + (offset & ~3); in get_bus_address() 122 reg = PCI_DEV(bdf) ? RCAR_AHBPCI_WIN1_DEVICE : RCAR_AHBPCI_WIN1_HOST; in setup_bus_address()
|
D | pci_auto.c | 338 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device() 358 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device() 365 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device()
|
D | pci_auto_old.c | 343 PCI_DEV(dev)); in pciauto_config_device() 373 PCI_DEV(dev)); in pciauto_config_device() 381 PCI_DEV(dev)); in pciauto_config_device()
|
D | pcie_dw_ti.c | 269 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 271 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 301 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_ti_read_config() 347 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_ti_write_config()
|
D | pcie_bvt.c | 118 if (PCI_DEV(d) == 0) in pcie_write_to_dbi() 129 if (PCI_DEV(d) == 0) { in pcie_write_to_device()
|
D | pcie_mediatek.c | 110 u32 slot = PCI_DEV(port->slot << 11); in mtk_pcie_startup_port() 253 slot = PCI_DEV(addr.phys_hi); in mtk_pcie_probe()
|
D | pci-aardvark.c | 175 if ((PCI_BUS(bdf) == first_busno) && (PCI_DEV(bdf) > 0)) in pcie_advk_addr_valid() 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()
|
D | pcie_ecam_generic.c | 46 addr += PCI_DEV(bdf) << 15; in pci_generic_ecam_conf_address()
|
D | pci.c | 374 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 391 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 401 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
D | pcie_xilinx.c | 62 unsigned int dev = PCI_DEV(bdf); in pcie_xilinx_config_address()
|
D | pci_tegra.c | 279 (PCI_DEV(bdf) << 11) | (PCI_FUNC(bdf) << 8) | in tegra_pcie_conf_offset() 289 unsigned int dev = PCI_DEV(bdf); in tegra_pcie_conf_address() 301 unsigned int dev = PCI_DEV(bdf); in tegra_pcie_conf_address() 473 *index = PCI_DEV(addr.phys_hi) - 1; in tegra_pcie_parse_port_info()
|
D | pci_sandbox.c | 58 devfn = SANDBOX_PCI_DEVFN(PCI_DEV(devfn), in sandbox_pci_read_config()
|
D | pci_sh7751.c | 85 return BIT(31) | (PCI_DEV(bdf) << 8) | (offset & ~3); in get_bus_address()
|
D | pcie_imx.c | 350 if ((PCI_BUS(d) == 0) && (PCI_DEV(d) > 1)) in imx_pcie_addr_valid() 352 if ((PCI_BUS(d) == 1) && (PCI_DEV(d) > 0)) in imx_pcie_addr_valid()
|
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/ |
D | irq.c | 259 rt->rtr_devfn = (PCI_DEV(priv->bdf) << 3) | PCI_FUNC(priv->bdf); in create_pirq_routing_table() 275 i, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table() 280 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 283 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 304 fill_irq_info(priv, slot, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
|
/third_party/uboot/u-boot-2020.01/drivers/bios_emulator/ |
D | atibios.c | 253 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST() 256 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST() 525 vga_info->device = PCI_DEV(bdf); in PCI_postController() 529 vga_info->device = PCI_DEV(pcidev); in PCI_postController() 560 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 563 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
/third_party/uboot/u-boot-2020.01/board/gateworks/gw_ventana/ |
D | gw_ventana.c | 553 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev), vendor, device); in board_pci_fixup_dev() 581 PCI_DEV(dev) == 0 && PCI_FUNC(dev) == 0) { in board_pci_fixup_dev() 885 (PCI_DEV(x->devfn)<<11)| \ 895 PCI_DEV(dev->devfn), PCI_FUNC(dev->devfn)); in fdt_add_pci_node() 985 b += PCI_DEV(d->devfn); in fdt_fixup_gw16082()
|
/third_party/uboot/u-boot-2020.01/arch/x86/lib/ |
D | bios_interrupts.c | 147 busdevfn = (PCI_BUS(bdf) << 8) | PCI_DEV(bdf) << 3 | in int1a_handler()
|