| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pci_mvebu.c | 48 (PCIE_CONF_BUS(PCI_BUS(dev)) | PCIE_CONF_DEV(PCI_DEV(dev)) | \ 220 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_read_config_dword() 224 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_read_config_dword() 225 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_read_config_dword() 232 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_read_config_dword() 255 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_write_config_dword() 258 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_write_config_dword() 259 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_write_config_dword() 265 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_write_config_dword()
|
| H A D | pci_gt64120.c | 49 unsigned int dev = PCI_DEV(bdf); in gt_config_access() 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 | pcie_dw_mvebu.c | 186 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 188 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in pcie_dw_addr_valid() 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_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_msc01.c | 36 unsigned int dev = PCI_DEV(bdf); in msc01_config_access() 37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
|
| H A D | pci_auto.c | 331 PCI_DEV(dm_pci_get_bdf(dev))); in dm_pciauto_config_device() 351 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()
|
| H A 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()
|
| H A D | pci.c | 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 | pcie_dw_rockchip.c | 377 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid() 379 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid() 437 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_rd_conf() 468 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in rockchip_pcie_wr_conf()
|
| H A D | pci_tegra.c | 283 (PCI_DEV(bdf) << 11) | (PCI_FUNC(bdf) << 8) | in tegra_pcie_conf_offset() 293 unsigned int dev = PCI_DEV(bdf); in tegra_pcie_conf_address() 305 unsigned int dev = PCI_DEV(bdf); in tegra_pcie_conf_address() 477 *index = PCI_DEV(addr.phys_hi) - 1; in tegra_pcie_parse_port_info()
|
| H A D | pcie_imx.c | 340 if ((PCI_BUS(d) == 0) && (PCI_DEV(d) > 1)) in imx_pcie_addr_valid() 342 if ((PCI_BUS(d) == 1) && (PCI_DEV(d) > 0)) in imx_pcie_addr_valid()
|
| H A D | pcie_xilinx.c | 64 unsigned int dev = PCI_DEV(bdf); in pcie_xilinx_config_address()
|
| H A D | pcie_layerscape.c | 238 if (PCI_BUS(bdf) <= (bus->seq + 1) && (PCI_DEV(bdf) > 0)) in ls_pcie_addr_valid() 254 PCIE_ATU_DEV(PCI_DEV(bdf)) | in ls_pcie_conf_address()
|
| H A D | pci-uclass.c | 652 sprintf(name, "pci_%x:%x.%x", parent->seq, PCI_DEV(bdf), in pci_find_and_bind_driver() 707 bus->seq, bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_bind_bus_devices()
|
| /OK3568_Linux_fs/u-boot/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() 182 i, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table() 187 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 190 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table() 211 fill_irq_info(priv, slot, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
|
| /OK3568_Linux_fs/u-boot/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() 522 vga_info->device = PCI_DEV(bdf); in PCI_postController() 526 vga_info->device = PCI_DEV(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()
|
| /OK3568_Linux_fs/u-boot/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() 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()
|
| /OK3568_Linux_fs/u-boot/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()
|
| /OK3568_Linux_fs/u-boot/arch/x86/lib/ |
| H A D | bios_interrupts.c | 148 busdevfn = (PCI_BUS(bdf) << 8) | PCI_DEV(bdf) << 3 | in int1a_handler()
|
| H A D | bios.c | 251 num_dev = PCI_BUS(pcidev) << 8 | PCI_DEV(pcidev) << 3 | in bios_run_on_x86()
|
| H A D | mpspec.c | 328 dev = PCI_DEV(pr.bdf); in mptable_add_intsrc()
|
| /OK3568_Linux_fs/u-boot/board/armltd/integrator/ |
| H A D | pci.c | 110 int slot = PCI_DEV(bdf); in v3_open_config_window()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | pcie.c | 59 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | pci.h | 499 #define PCI_DEV(d) (((d) >> 11) & 0x1f) macro
|