Home
last modified time | relevance | path

Searched refs:PCI_DEV (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/drivers/pci/
Dpci_mvebu.c47 (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()
Dpci_gt64120.c48 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()
Dpcie_intel_fpga.c95 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()
Dpcie_dw_mvebu.c220 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()
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); \
Dpci_msc01.c35 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()
Dpci-rcar-gen2.c99 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()
Dpci_auto.c332 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()
Dpci_auto_old.c338 PCI_DEV(dev)); in pciauto_config_device()
368 PCI_DEV(dev)); in pciauto_config_device()
376 PCI_DEV(dev)); in pciauto_config_device()
Dpci-aardvark.c175 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()
Dpci.c375 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()
Dpcie_ecam_generic.c46 addr += PCI_DEV(bdf) << 15; in pci_generic_ecam_conf_address()
Dpcie_xilinx.c62 unsigned int dev = PCI_DEV(bdf); in pcie_xilinx_config_address()
Dpci_tegra.c279 (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()
Dpcie_imx.c339 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()
Dpcie_layerscape.c237 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/
Dirq.c259 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/
Datibios.c254 (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/
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()
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/
Dbios_interrupts.c147 busdevfn = (PCI_BUS(bdf) << 8) | PCI_DEV(bdf) << 3 | in int1a_handler()
Dbios.c252 num_dev = PCI_BUS(pcidev) << 8 | PCI_DEV(pcidev) << 3 | in bios_run_on_x86()
Dmpspec.c327 dev = PCI_DEV(pr.bdf); in mptable_add_intsrc()
/external/u-boot/cmd/
Dpci.c346 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/
Dpci.c109 int slot = PCI_DEV(bdf); in v3_open_config_window()
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dpcie.c58 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()

12