Home
last modified time | relevance | path

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

/external/u-boot/drivers/pci/
Dpcie_dw_mvebu.c112 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 …]
Dpci-aardvark.c146 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()
Dpcie_intel_fpga.c42 ((((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()
Dfsl_pci_init.c313 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()
Dpci.c137 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()
Dpci_indirect.c27 b = b - hose->first_busno; \
42 b = b - hose->first_busno; \
Dpci_auto_old.c194 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()
Dpci_sh4.c20 hose->first_busno = 0; in pci_sh4_init()
Dpci_msc01.c97 hose->first_busno = 0; in msc01_pci_init()
Dpci_gt64120.c148 hose->first_busno = 0; in gt64120_pci_init()
Dpci_common.c86 if (dev == PCI_BDF(hose->first_busno, 0, 0)) { in pci_skip_dev()
Dpci_mvebu.c402 hose->first_busno = 0; in pci_init_board()
Dpci-uclass.c936 hose->first_busno = bus->seq; in pci_uclass_pre_probe()
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dctrl_pex.c22 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/
Dpci.c77 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()
Dpcie.c53 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/
Dpci.c52 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/
Dmpc8555cds.c414 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/
Dmpc8541cds.c413 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/
Dhigh_speed_env_lib.c1208 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/
Dmpc8572ds.c123 u8 uli_busno = hose->first_busno + 2; in pci_init_board()
/external/u-boot/arch/m68k/cpu/mcf547x_8x/
Dpci.c127 hose->first_busno = 0; in pci_mcf547x_8x_init()
/external/u-boot/arch/m68k/cpu/mcf5445x/
Dpci.c125 hose->first_busno = 0; in pci_mcf5445x_init()
/external/u-boot/board/armltd/integrator/
Dpci.c412 hose->first_busno = 0; in pci_init_board()
/external/u-boot/include/
Dpci.h550 int first_busno; member