/external/u-boot/drivers/pci/ |
D | pcie_dw_mvebu.c | 112 int first_busno; member 185 if (PCI_BUS(d) == (pcie->first_busno + 1)) in set_cfg_address() 192 if (PCI_BUS(d) == pcie->first_busno) { in set_cfg_address() 196 d = PCI_MASK_BUS(d) | (PCI_BUS(d) - pcie->first_busno); in set_cfg_address() 218 static int pcie_dw_addr_valid(pci_dev_t d, int first_busno) in pcie_dw_addr_valid() argument 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() 254 if (!pcie_dw_addr_valid(bdf, pcie->first_busno)) { in pcie_dw_mvebu_read_config() 301 if (!pcie_dw_addr_valid(bdf, pcie->first_busno)) { in pcie_dw_mvebu_write_config() 499 pcie->first_busno = dev->seq; in pcie_dw_mvebu_probe() [all …]
|
D | pci-aardvark.c | 146 int first_busno; member 168 static int pcie_advk_addr_valid(pci_dev_t bdf, int first_busno) in pcie_advk_addr_valid() argument 175 if ((PCI_BUS(bdf) == first_busno) && (PCI_DEV(bdf) > 0)) in pcie_advk_addr_valid() 311 if (!pcie_advk_addr_valid(bdf, pcie->first_busno)) { in pcie_advk_read_config() 324 if (PCI_BUS(bdf) == pcie->first_busno) in pcie_advk_read_config() 409 if (!pcie_advk_addr_valid(bdf, pcie->first_busno)) { in pcie_advk_write_config() 421 if (PCI_BUS(bdf) == pcie->first_busno) in pcie_advk_write_config() 491 printf("PCIE-%d: Link up\n", pcie->first_busno); in pcie_advk_wait_for_link() 498 printf("PCIE-%d: Link down\n", pcie->first_busno); in pcie_advk_wait_for_link() 641 pcie->first_busno = dev->seq; in pcie_advk_probe()
|
D | pcie_intel_fpga.c | 42 ((((bus != pcie->first_busno) ? TLP_FMTTYPE_CFGRD0 \ 47 ((((bus != pcie->first_busno) ? TLP_FMTTYPE_CFGWR0 \ 52 (((TLP_REQ_ID(pcie->first_busno, RP_DEVFN)) << 16) | (tag << 8) | (be)) 63 ((PCI_BUS(bdf) == pcie->first_busno) ? true : false) 81 int first_busno; member 130 if ((PCI_BUS(bdf) == pcie->first_busno + 1) && PCI_DEV(bdf) > 0) in intel_fpga_pcie_addr_valid() 257 pcie->first_busno = (u8)(value); in intel_fpga_pcie_rp_wr_conf() 368 pcie->first_busno = dev->seq; in pcie_intel_fpga_probe()
|
D | fsl_pci_init.c | 313 pci_dev_t dev = PCI_BDF(hose->first_busno, 0, 0); in fsl_pci_init() 419 hose->current_busno = hose->first_busno; in fsl_pci_init() 529 hose->last_busno = hose->first_busno; in fsl_pci_init() 606 pci_dev_t dev = PCI_BDF(hose->first_busno, 0, 0); in fsl_is_pci_agent() 665 hose->first_busno = busno; in fsl_pci_init_port() 671 hose->last_busno = hose->first_busno; in fsl_pci_init_port() 688 hose->first_busno, hose->last_busno); in fsl_pci_init_port() 695 pci_dev_t dev = PCI_BDF(hose->first_busno,0,0); in fsl_pci_config_unlock() 915 bus_range[1] = hose->last_busno - hose->first_busno; in ft_fsl_pci_setup()
|
D | pci.c | 137 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose() 177 for (bus = hose->first_busno; bus <= hose->last_busno; bus++) { in pci_find_devices() 331 if (dev == PCI_BDF(hose->first_busno, 0, 0)) in pci_print_dev() 448 if (hose->first_busno > hose->current_busno) in pci_hose_scan() 449 hose->current_busno = hose->first_busno; in pci_hose_scan()
|
D | pci_indirect.c | 27 b = b - hose->first_busno; \ 42 b = b - hose->first_busno; \
|
D | pci_auto_old.c | 194 PCI_BUS(dev) - hose->first_busno); in pciauto_prescan_setup_bridge() 196 sub_bus - hose->first_busno); in pciauto_prescan_setup_bridge() 269 sub_bus - hose->first_busno); in pciauto_postscan_setup_bridge()
|
D | pci_sh4.c | 20 hose->first_busno = 0; in pci_sh4_init()
|
D | pci_msc01.c | 97 hose->first_busno = 0; in msc01_pci_init()
|
D | pci_gt64120.c | 148 hose->first_busno = 0; in gt64120_pci_init()
|
D | pci_common.c | 86 if (dev == PCI_BDF(hose->first_busno, 0, 0)) { in pci_skip_dev()
|
D | pci_mvebu.c | 402 hose->first_busno = 0; in pci_init_board()
|
D | pci-uclass.c | 936 hose->first_busno = bus->seq; in pci_uclass_pre_probe()
|
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
D | ctrl_pex.c | 22 u32 pex_idx, tmp, next_busno, first_busno, temp_pex_reg, in hws_pex_config() local 114 first_busno = next_busno; in hws_pex_config() 140 pex_local_bus_num_set(pex_idx, first_busno); in hws_pex_config() 147 addr = pex_config_read(pex_idx, first_busno, 0, 0, 0x34) & 0xff; in hws_pex_config() 156 while ((pex_config_read(pex_idx, first_busno, 0, 0, addr) in hws_pex_config() 158 addr = (pex_config_read(pex_idx, first_busno, 0, in hws_pex_config() 163 if ((pex_config_read(pex_idx, first_busno, 0, 0, in hws_pex_config()
|
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
D | pci.c | 77 hose->first_busno = pci_last_busno() + 1; in pci_init_bus() 89 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_init_bus() 174 dev = PCI_BDF(hose->first_busno, 0, 0); in mpc83xx_pcislave_unlock() 198 tmp[0] = cpu_to_be32(pci_hose[0].first_busno); in ft_pci_setup() 213 tmp[0] = cpu_to_be32(pci_hose[1].first_busno); in ft_pci_setup()
|
D | pcie.c | 53 int bus = PCI_BUS(dev) - hose->first_busno; in mpc83xx_pcie_remap_cfg() 141 hose->first_busno = pci_last_busno() + 1; in PCIE_OP()
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | pci.c | 52 hose->first_busno = 0; in pci_mpc85xx_init() 62 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init() 150 hose->first_busno = pci_hose[0].last_busno + 1; in pci_mpc85xx_init() 157 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init()
|
/external/u-boot/board/freescale/mpc8555cds/ |
D | mpc8555cds.c | 414 tmp[1] = hose[0].last_busno - hose[0].first_busno; in ft_pci_setup() 421 tmp[1] = hose[1].last_busno - hose[1].first_busno; in ft_pci_setup()
|
/external/u-boot/board/freescale/mpc8541cds/ |
D | mpc8541cds.c | 413 tmp[1] = hose[0].last_busno - hose[0].first_busno; in ft_pci_setup() 420 tmp[1] = hose[1].last_busno - hose[1].first_busno; in ft_pci_setup()
|
/external/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
D | high_speed_env_lib.c | 1208 u32 first_busno, next_busno; in serdes_phy_config() local 1232 first_busno = next_busno; in serdes_phy_config() 1291 first_busno); in serdes_phy_config() 1299 first_busno, 0, in serdes_phy_config() 1310 (pex_if, first_busno, 0, in serdes_phy_config() 1317 first_busno, 0, 0, in serdes_phy_config() 1322 (pex_if, first_busno, 0, 0, in serdes_phy_config()
|
/external/u-boot/board/freescale/mpc8572ds/ |
D | mpc8572ds.c | 123 u8 uli_busno = hose->first_busno + 2; in pci_init_board()
|
/external/u-boot/arch/m68k/cpu/mcf547x_8x/ |
D | pci.c | 127 hose->first_busno = 0; in pci_mcf547x_8x_init()
|
/external/u-boot/arch/m68k/cpu/mcf5445x/ |
D | pci.c | 125 hose->first_busno = 0; in pci_mcf5445x_init()
|
/external/u-boot/board/armltd/integrator/ |
D | pci.c | 412 hose->first_busno = 0; in pci_init_board()
|
/external/u-boot/include/ |
D | pci.h | 550 int first_busno; member
|