Home
last modified time | relevance | path

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

12

/arch/microblaze/pci/
Dindirect_pci.c32 if (bus->number != hose->first_busno) in indirect_read_config()
39 if (bus->number != hose->first_busno) in indirect_read_config()
42 bus_no = (bus->number == hose->first_busno) ? in indirect_read_config()
86 if (bus->number != hose->first_busno) in indirect_write_config()
93 if (bus->number != hose->first_busno) in indirect_write_config()
96 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
114 (bus->number == hose->first_busno)) in indirect_write_config()
Dpci-common.c1276 bus = pci_scan_root_bus(hose->parent, hose->first_busno, in pcibios_scan_phb()
1284 bus->busn_res.start = hose->first_busno; in pcibios_scan_phb()
1323 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose()
1345 return (long)hose->first_busno; in sys_pciconfig_iobase()
/arch/powerpc/sysdev/
Dindirect_pci.c32 if (bus_number != hose->first_busno) in __indirect_read_config()
43 if (bus_number != hose->first_busno) in __indirect_read_config()
46 bus_no = (bus_number == hose->first_busno) ? in __indirect_read_config()
98 if (bus->number != hose->first_busno) in indirect_write_config()
109 if (bus->number != hose->first_busno) in indirect_write_config()
112 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
130 (bus->number == hose->first_busno)) in indirect_write_config()
Dmv64x60_pci.c146 hose->first_busno = bus_range ? bus_range[0] : 0; in mv64x60_add_bridge()
150 hose->self_busno = hose->first_busno; in mv64x60_add_bridge()
154 (unsigned long long)rsrc.start, hose->first_busno, in mv64x60_add_bridge()
159 primary = (hose->first_busno == 0); in mv64x60_add_bridge()
Dppc4xx_pci.c315 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
317 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
319 early_write_config_word(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
373 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pci_bridge()
580 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pcix_bridge()
1565 if (port->endpoint && bus->number != port->hose->first_busno) in ppc4xx_pciex_validate_bdf()
1579 if (bus->number == port->hose->first_busno && devfn != 0) in ppc4xx_pciex_validate_bdf()
1583 if (bus->number == (port->hose->first_busno + 1) && in ppc4xx_pciex_validate_bdf()
1588 if ((bus->number != port->hose->first_busno) && !port->link) in ppc4xx_pciex_validate_bdf()
1603 if (bus->number == port->hose->first_busno) in ppc4xx_pciex_get_config_base()
[all …]
Dfsl_pci.c75 __indirect_read_config(hose, hose->first_busno, 0, in fsl_pcie_check_link()
560 hose->first_busno = bus_range ? bus_range[0] : 0x0; in fsl_add_bridge()
625 (unsigned long long)rsrc.start, hose->first_busno, in fsl_add_bridge()
693 if (bus->number == hose->first_busno || in mpc83xx_pcie_exclude_device()
694 bus->primary == hose->first_busno) { in mpc83xx_pcie_exclude_device()
722 if (bus->number == hose->first_busno) in mpc83xx_pcie_remap_cfg()
741 if (offset == PCI_PRIMARY_BUS && bus->number == hose->first_busno) in mpc83xx_pcie_write_config()
860 hose->first_busno = bus_range ? bus_range[0] : 0; in mpc83xx_add_bridge()
874 (unsigned long long)rsrc_reg.start, hose->first_busno, in mpc83xx_add_bridge()
Dtsi108_pci.c229 hose->first_busno = bus_range ? bus_range[0] : 0; in tsi108_setup_pci()
236 rsrc.start, hose->first_busno, hose->last_busno); in tsi108_setup_pci()
/arch/powerpc/platforms/maple/
Dpci.c104 if (bus == hose->first_busno) { in u3_agp_cfg_access()
201 if (bus == hose->first_busno) { in u3_ht_cfg_access()
267 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_read_config()
305 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_write_config()
360 if (bus == hose->first_busno) in u4_pcie_cfg_access()
454 hose->first_busno = 0xf0; in setup_u3_agp()
486 hose->first_busno = 0; in setup_u3_ht()
511 hose->first_busno = bus_range ? bus_range[0] : 0; in maple_add_bridge()
530 disp_name, hose->first_busno, hose->last_busno); in maple_add_bridge()
/arch/powerpc/kernel/
Dpci_32.c135 make_one_node_map(node, hose->first_busno); in pcibios_make_OF_bus_map()
240 hose->first_busno = next_busno; in pcibios_init()
274 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose()
296 return (long)hose->first_busno; in sys_pciconfig_iobase()
Dpci_64.c246 return (long)hose->first_busno; in sys_pciconfig_iobase()
Drtas_pci.c259 phb->first_busno = be32_to_cpu(bus_range[0]); in phb_set_bus_ranges()
/arch/powerpc/platforms/52xx/
Defika.c40 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
55 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config()
123 hose->first_busno = bus_range[0]; in efika_pcisetup()
/arch/powerpc/platforms/powermac/
Dpci.c149 if (bus->number == hose->first_busno) { in macrisc_cfg_map_bus()
277 if (bus == hose->first_busno) { in u3_ht_cfg_access()
413 if (bus->number == hose->first_busno) { in u4_pcie_cfg_map_bus()
641 hose->first_busno = 0xf0; in setup_u3_agp()
665 hose->first_busno = 0x00; in setup_u4_pcie()
740 hose->first_busno = 0; in setup_u3_ht()
801 hose->first_busno = bus_range ? bus_range[0] : 0; in pmac_add_bridge()
823 " %d->%d\n", disp_name, hose->first_busno, hose->last_busno); in pmac_add_bridge()
845 disp_name, (unsigned long long)rsrc.start, hose->first_busno, in pmac_add_bridge()
/arch/xtensa/include/asm/
Dpci-bridge.h41 int first_busno; member
/arch/xtensa/lib/
Dpci-auto.c253 if (current_bus == pci_ctrl->first_busno) in pciauto_bus_scan()
264 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
/arch/tile/include/asm/
Dpci.h174 int first_busno; member
/arch/powerpc/platforms/embedded6xx/
Dstorcenter.c54 hose->first_busno = bus_range ? bus_range[0] : 0; in storcenter_add_bridge()
Dlinkstation.c54 hose->first_busno = bus_range ? bus_range[0] : 0; in linkstation_add_bridge()
Dmvme5100.c126 hose->first_busno = bus_range ? bus_range[0] : 0; in mvme5100_add_bridge()
/arch/powerpc/platforms/chrp/
Dpci.c101 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
116 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config()
264 hose->first_busno = hose->self_busno = bus_range[0]; in chrp_find_bridges()
/arch/powerpc/platforms/
Dfsl_uli1575.c336 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288()
350 if (bus == (hose->first_busno + 2)) { in uli_exclude_device()
/arch/microblaze/include/asm/
Dpci-bridge.h36 int first_busno; member
/arch/powerpc/platforms/amigaone/
Dsetup.c59 hose->first_busno = bus_range ? bus_range[0] : 0; in amigaone_add_bridge()
/arch/powerpc/platforms/pasemi/
Dpci.c202 hose->first_busno = 0; in pas_add_bridge()
/arch/powerpc/include/asm/
Dpci-bridge.h65 int first_busno; member

12