/external/u-boot/drivers/pci/ |
D | pci_mvebu.c | 47 (PCIE_CONF_BUS(PCI_BUS(dev)) | PCIE_CONF_DEV(PCI_DEV(dev)) | \ 219 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_read_config_dword() 223 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_read_config_dword() 224 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_read_config_dword() 231 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_read_config_dword() 254 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_write_config_dword() 257 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_write_config_dword() 258 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_write_config_dword() 264 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_write_config_dword()
|
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_intel_fpga.c | 95 if (IS_ROOT_PORT(pcie, bdf) && PCI_DEV(bdf) == 0 && in intel_fpga_pcie_hide_rc_bar() 127 if (IS_ROOT_PORT(pcie, bdf) && PCI_DEV(bdf) > 0) in intel_fpga_pcie_addr_valid() 130 if ((PCI_BUS(bdf) == pcie->first_busno + 1) && PCI_DEV(bdf) > 0) in intel_fpga_pcie_addr_valid() 203 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read() 218 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write() 309 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in _pcie_intel_fpga_write_config() 332 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_intel_fpga_read_config()
|
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_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 | 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 | 332 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device() 352 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device() 359 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device()
|
D | pci_auto_old.c | 338 PCI_DEV(dev)); in pciauto_config_device() 368 PCI_DEV(dev)); in pciauto_config_device() 376 PCI_DEV(dev)); in pciauto_config_device()
|
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 | pci.c | 375 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus() 392 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus() 402 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
|
D | pcie_ecam_generic.c | 46 addr += PCI_DEV(bdf) << 15; in pci_generic_ecam_conf_address()
|
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 | pcie_imx.c | 339 if ((PCI_BUS(d) == 0) && (PCI_DEV(d) > 1)) in imx_pcie_addr_valid() 341 if ((PCI_BUS(d) == 1) && (PCI_DEV(d) > 0)) in imx_pcie_addr_valid()
|
D | pcie_layerscape.c | 237 if (PCI_BUS(bdf) <= (bus->seq + 1) && (PCI_DEV(bdf) > 0)) in ls_pcie_addr_valid() 258 PCIE_ATU_DEV(PCI_DEV(bdf)) | in ls_pcie_conf_address()
|
/external/u-boot/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()
|
/external/u-boot/drivers/bios_emulator/ |
D | atibios.c | 254 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST() 257 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST() 526 vga_info->device = PCI_DEV(bdf); in PCI_postController() 530 vga_info->device = PCI_DEV(pcidev); in PCI_postController() 561 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup() 564 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
|
/external/u-boot/board/gateworks/gw_ventana/ |
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() 879 (PCI_DEV(x->devfn)<<11)| \ 890 PCI_DEV(dev->devfn), PCI_FUNC(dev->devfn)); in fdt_add_pci_node() 980 b += PCI_DEV(d->devfn); in fdt_fixup_gw16082()
|
/external/u-boot/arch/x86/lib/ |
D | bios_interrupts.c | 147 busdevfn = (PCI_BUS(bdf) << 8) | PCI_DEV(bdf) << 3 | in int1a_handler()
|
D | bios.c | 252 num_dev = PCI_BUS(pcidev) << 8 | PCI_DEV(pcidev) << 3 | in bios_run_on_x86()
|
D | mpspec.c | 327 dev = PCI_DEV(pr.bdf); in mptable_add_intsrc()
|
/external/u-boot/cmd/ |
D | pci.c | 346 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo() 350 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo()
|
/external/u-boot/board/armltd/integrator/ |
D | pci.c | 109 int slot = PCI_DEV(bdf); in v3_open_config_window()
|
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
D | pcie.c | 58 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()
|