Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/pci/
H A Dpcie_dw_mvebu.c113 int first_busno; member
154 if (PCI_BUS(d) == (pcie->first_busno + 1)) in set_cfg_address()
161 if (PCI_BUS(d) == pcie->first_busno) { in set_cfg_address()
184 static int pcie_dw_addr_valid(pci_dev_t d, int first_busno) in pcie_dw_addr_valid() argument
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()
220 if (!pcie_dw_addr_valid(bdf, pcie->first_busno)) { in pcie_dw_mvebu_read_config()
263 if (!pcie_dw_addr_valid(bdf, pcie->first_busno)) { in pcie_dw_mvebu_write_config()
485 pcie->first_busno = dev->seq; in pcie_dw_mvebu_probe()
494 hose->first_busno); in pcie_dw_mvebu_probe()
H A Dpci_indirect.c28 b = b - hose->first_busno; \
43 b = b - hose->first_busno; \
H A Dtsi108_pci.c113 hose->first_busno = 0; in pci_init_board()
160 tmp[0] = cpu_to_be32(local_hose.first_busno); in ft_pci_setup()
H A Dfsl_pci_init.c314 pci_dev_t dev = PCI_BDF(hose->first_busno, 0, 0); in fsl_pci_init()
420 hose->current_busno = hose->first_busno; in fsl_pci_init()
530 hose->last_busno = hose->first_busno; in fsl_pci_init()
607 pci_dev_t dev = PCI_BDF(hose->first_busno, 0, 0); in fsl_is_pci_agent()
666 hose->first_busno = busno; in fsl_pci_init_port()
672 hose->last_busno = hose->first_busno; in fsl_pci_init_port()
689 hose->first_busno, hose->last_busno); in fsl_pci_init_port()
696 pci_dev_t dev = PCI_BDF(hose->first_busno,0,0); in fsl_pci_config_unlock()
916 bus_range[1] = hose->last_busno - hose->first_busno; in ft_fsl_pci_setup()
H A Dpci.c138 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose()
178 for (bus = hose->first_busno; bus <= hose->last_busno; bus++) { in pci_find_devices()
332 if (dev == PCI_BDF(hose->first_busno, 0, 0)) in pci_print_dev()
449 if (hose->first_busno > hose->current_busno) in pci_hose_scan()
450 hose->current_busno = hose->first_busno; in pci_hose_scan()
H A Dpci_sh4.c21 hose->first_busno = 0; in pci_sh4_init()
H A Dpcie_dw_rockchip.c68 int first_busno; member
476 static int rk_pcie_addr_valid(pci_dev_t d, int first_busno) in rk_pcie_addr_valid() argument
478 if ((PCI_BUS(d) == first_busno) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid()
480 if ((PCI_BUS(d) == first_busno + 1) && (PCI_DEV(d) > 0)) in rk_pcie_addr_valid()
489 int bus = PCI_BUS(d) - pcie->first_busno; in set_cfg_address()
540 if (!rk_pcie_addr_valid(bdf, pcie->first_busno)) { in rockchip_pcie_rd_conf()
571 if (!rk_pcie_addr_valid(bdf, pcie->first_busno)) { in rockchip_pcie_wr_conf()
870 priv->first_busno = dev->seq; in rockchip_pcie_probe()
884 hose->first_busno); in rockchip_pcie_probe()
H A 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()
H A Dpci_msc01.c98 hose->first_busno = 0; in msc01_pci_init()
H A Dpci_gt64120.c149 hose->first_busno = 0; in gt64120_pci_init()
H A Dpci_common.c87 if (dev == PCI_BDF(hose->first_busno, 0, 0)) { in pci_skip_dev()
H A Dpci_mvebu.c403 hose->first_busno = 0; in pci_init_board()
/rk3399_rockchip-uboot/arch/arm/mach-mvebu/serdes/a38x/
H A Dctrl_pex.c23 u32 pex_idx, tmp, next_busno, first_busno, temp_pex_reg, in hws_pex_config() local
115 first_busno = next_busno; in hws_pex_config()
141 pex_local_bus_num_set(pex_idx, first_busno); in hws_pex_config()
148 addr = pex_config_read(pex_idx, first_busno, 0, 0, 0x34) & 0xff; in hws_pex_config()
157 while ((pex_config_read(pex_idx, first_busno, 0, 0, addr) in hws_pex_config()
159 addr = (pex_config_read(pex_idx, first_busno, 0, in hws_pex_config()
164 if ((pex_config_read(pex_idx, first_busno, 0, 0, in hws_pex_config()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/
H A Dpci.c78 hose->first_busno = pci_last_busno() + 1; in pci_init_bus()
90 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_init_bus()
175 dev = PCI_BDF(hose->first_busno, 0, 0); in mpc83xx_pcislave_unlock()
199 tmp[0] = cpu_to_be32(pci_hose[0].first_busno); in ft_pci_setup()
214 tmp[0] = cpu_to_be32(pci_hose[1].first_busno); in ft_pci_setup()
H A Dpcie.c54 int bus = PCI_BUS(dev) - hose->first_busno; in mpc83xx_pcie_remap_cfg()
142 hose->first_busno = pci_last_busno() + 1; in PCIE_OP()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/
H A Dpci.c53 hose->first_busno = 0; in pci_mpc85xx_init()
63 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init()
151 hose->first_busno = pci_hose[0].last_busno + 1; in pci_mpc85xx_init()
158 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init()
/rk3399_rockchip-uboot/board/freescale/mpc8541cds/
H A Dmpc8541cds.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()
/rk3399_rockchip-uboot/board/freescale/mpc8555cds/
H A Dmpc8555cds.c415 tmp[1] = hose[0].last_busno - hose[0].first_busno; in ft_pci_setup()
422 tmp[1] = hose[1].last_busno - hose[1].first_busno; in ft_pci_setup()
/rk3399_rockchip-uboot/arch/arm/mach-mvebu/serdes/axp/
H A Dhigh_speed_env_lib.c1209 u32 first_busno, next_busno; in serdes_phy_config() local
1233 first_busno = next_busno; in serdes_phy_config()
1292 first_busno); in serdes_phy_config()
1300 first_busno, 0, in serdes_phy_config()
1311 (pex_if, first_busno, 0, in serdes_phy_config()
1318 first_busno, 0, 0, in serdes_phy_config()
1323 (pex_if, first_busno, 0, 0, in serdes_phy_config()
/rk3399_rockchip-uboot/board/freescale/mpc8572ds/
H A Dmpc8572ds.c124 u8 uli_busno = hose->first_busno + 2; in pci_init_board()
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf547x_8x/
H A Dpci.c128 hose->first_busno = 0; in pci_mcf547x_8x_init()
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5445x/
H A Dpci.c126 hose->first_busno = 0; in pci_mcf5445x_init()
/rk3399_rockchip-uboot/board/armltd/integrator/
H A Dpci.c413 hose->first_busno = 0; in pci_init_board()
/rk3399_rockchip-uboot/cmd/
H A Dpci.c456 printf("Buses %02x-%02x\n", hose->first_busno, hose->last_busno); in pci_show_regions()
/rk3399_rockchip-uboot/include/
H A Dpci.h579 int first_busno; member

12