Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/sysdev/
Dindirect_pci.c27 if (bus_number != hose->first_busno) in __indirect_read_config()
38 if (bus_number != hose->first_busno) in __indirect_read_config()
41 bus_no = (bus_number == hose->first_busno) ? in __indirect_read_config()
93 if (bus->number != hose->first_busno) in indirect_write_config()
104 if (bus->number != hose->first_busno) in indirect_write_config()
107 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
125 (bus->number == hose->first_busno)) in indirect_write_config()
Dfsl_pci.c74 __indirect_read_config(hose, hose->first_busno, 0, in fsl_pcie_check_link()
563 hose->first_busno = bus_range ? bus_range[0] : 0x0; in fsl_add_bridge()
635 (unsigned long long)rsrc.start, hose->first_busno, in fsl_add_bridge()
703 if (bus->number == hose->first_busno || in mpc83xx_pcie_exclude_device()
704 bus->primary == hose->first_busno) { in mpc83xx_pcie_exclude_device()
732 if (bus->number == hose->first_busno) in mpc83xx_pcie_remap_cfg()
751 if (offset == PCI_PRIMARY_BUS && bus->number == hose->first_busno) in mpc83xx_pcie_write_config()
870 hose->first_busno = bus_range ? bus_range[0] : 0; in mpc83xx_add_bridge()
884 (unsigned long long)rsrc_reg.start, hose->first_busno, in mpc83xx_add_bridge()
Dtsi108_pci.c215 hose->first_busno = bus_range ? bus_range[0] : 0; in tsi108_setup_pci()
221 &rsrc.start, hose->first_busno, hose->last_busno); in tsi108_setup_pci()
/linux-6.6.21/arch/powerpc/platforms/maple/
Dpci.c101 if (bus == hose->first_busno) { in u3_agp_cfg_access()
198 if (bus == hose->first_busno) { in u3_ht_cfg_access()
264 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_read_config()
302 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_write_config()
357 if (bus == hose->first_busno) in u4_pcie_cfg_access()
451 hose->first_busno = 0xf0; in setup_u3_agp()
483 hose->first_busno = 0; in setup_u3_ht()
508 hose->first_busno = bus_range ? bus_range[0] : 0; in maple_add_bridge()
527 disp_name, hose->first_busno, hose->last_busno); in maple_add_bridge()
/linux-6.6.21/arch/powerpc/kernel/
Dpci_32.c137 make_one_node_map(node, hose->first_busno); in pcibios_make_OF_bus_map()
269 hose->first_busno = next_busno; in pcibios_init()
315 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose()
338 return (long)hose->first_busno; in SYSCALL_DEFINE3()
Drtas_pci.c222 phb->first_busno = be32_to_cpu(bus_range[0]); in phb_set_bus_ranges()
Dpci_64.c266 return (long)hose->first_busno; in SYSCALL_DEFINE3()
Dpci-common.c1661 hose->busn.start = hose->first_busno; in pcibios_scan_phb()
1667 bus = pci_create_root_bus(hose->parent, hose->first_busno, in pcibios_scan_phb()
/linux-6.6.21/arch/powerpc/platforms/52xx/
Defika.c39 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
54 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config()
120 hose->first_busno = bus_range[0]; in efika_pcisetup()
Dmpc52xx_pci.c391 hose->first_busno = bus_range ? bus_range[0] : 0; in mpc52xx_add_bridge()
/linux-6.6.21/arch/powerpc/platforms/4xx/
Dpci.c312 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
314 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
316 early_write_config_word(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
369 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pci_bridge()
572 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pcix_bridge()
1553 if (port->endpoint && bus->number != port->hose->first_busno) in ppc4xx_pciex_validate_bdf()
1567 if (bus->number == port->hose->first_busno && devfn != 0) in ppc4xx_pciex_validate_bdf()
1571 if (bus->number == (port->hose->first_busno + 1) && in ppc4xx_pciex_validate_bdf()
1576 if ((bus->number != port->hose->first_busno) && !port->link) in ppc4xx_pciex_validate_bdf()
1591 if (bus->number == port->hose->first_busno) in ppc4xx_pciex_get_config_base()
[all …]
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dpci.c146 if (bus->number == hose->first_busno) { in macrisc_cfg_map_bus()
274 if (bus == hose->first_busno) { in u3_ht_cfg_access()
410 if (bus->number == hose->first_busno) { in u4_pcie_cfg_map_bus()
636 hose->first_busno = 0xf0; in setup_u3_agp()
660 hose->first_busno = 0x00; in setup_u4_pcie()
735 hose->first_busno = 0; in setup_u3_ht()
796 hose->first_busno = bus_range ? bus_range[0] : 0; in pmac_add_bridge()
818 " %d->%d\n", disp_name, hose->first_busno, hose->last_busno); in pmac_add_bridge()
840 disp_name, (unsigned long long)rsrc.start, hose->first_busno, in pmac_add_bridge()
/linux-6.6.21/arch/powerpc/platforms/chrp/
Dpci.c102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
117 | (((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()
/linux-6.6.21/arch/xtensa/lib/
Dpci-auto.c239 if (current_bus == pci_ctrl->first_busno) in pciauto_bus_scan()
250 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
/linux-6.6.21/arch/xtensa/include/asm/
Dpci-bridge.h39 int first_busno; member
/linux-6.6.21/arch/powerpc/platforms/
Dfsl_uli1575.c336 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288()
349 if (hose->dn == fsl_pci_primary && bus == (hose->first_busno + 2)) { in uli_exclude_device()
/linux-6.6.21/arch/powerpc/platforms/embedded6xx/
Dstorcenter.c53 hose->first_busno = bus_range ? bus_range[0] : 0; in storcenter_add_bridge()
Dlinkstation.c53 hose->first_busno = bus_range ? bus_range[0] : 0; in linkstation_add_bridge()
Dmvme5100.c121 hose->first_busno = bus_range ? bus_range[0] : 0; in mvme5100_add_bridge()
/linux-6.6.21/arch/powerpc/platforms/amigaone/
Dsetup.c56 hose->first_busno = bus_range ? bus_range[0] : 0; in amigaone_add_bridge()
/linux-6.6.21/drivers/pci/controller/
Dpcie-xilinx-nwl.c628 u32 breg_val, ecam_val, first_busno = 0; in nwl_pcie_bridge_init() local
690 ecam_val = first_busno; in nwl_pcie_bridge_init()
691 ecam_val |= (first_busno + 1) << 8; in nwl_pcie_bridge_init()
/linux-6.6.21/arch/powerpc/platforms/pasemi/
Dpci.c251 hose->first_busno = 0; in pas_add_bridge()
/linux-6.6.21/arch/powerpc/include/asm/
Dpci-bridge.h66 int first_busno; member
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dpci-ioda.c2609 hose->first_busno = be32_to_cpu(prop32[0]); in pnv_pci_init_ioda_phb()
2613 hose->first_busno = 0; in pnv_pci_init_ioda_phb()