Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/pci/controller/
Dpci-loongson.c147 if (!pci_is_root_bus(bus)) { in cfg0_map()
161 if (!pci_is_root_bus(bus)) { in cfg1_map()
172 return !(pci_is_root_bus(bus) && in pdev_may_exist()
188 if (!pci_is_root_bus(bus) && (device > 0)) in pci_loongson_map_bus()
Dpcie-rockchip-host.c76 if (pci_is_root_bus(bus) || pci_is_root_bus(bus->parent)) in rockchip_pcie_valid_device()
166 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_rd_other_conf()
197 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_wr_other_conf()
224 if (pci_is_root_bus(bus)) in rockchip_pcie_rd_conf()
239 if (pci_is_root_bus(bus)) in rockchip_pcie_wr_conf()
Dpci-xgene.c126 if (!pci_is_root_bus(bus)) in xgene_pcie_set_rtdid_reg()
144 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars()
154 if ((pci_is_root_bus(bus) && devfn != 0) || in xgene_pcie_map_bus()
181 if (pci_is_root_bus(bus) && (port->version == XGENE_PCIE_IP_VER_1) && in xgene_pcie_config_read32()
Dpci-aardvark.c1094 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device()
1105 if (!pci_is_root_bus(bus) && !advk_pcie_link_up(pcie)) in advk_pcie_valid_device()
1152 if (pci_is_root_bus(bus)) in advk_pcie_rd_conf()
1171 if (pci_is_root_bus(bus->parent)) in advk_pcie_rd_conf()
1239 if (pci_is_root_bus(bus)) in advk_pcie_wr_conf()
1252 if (pci_is_root_bus(bus->parent)) in advk_pcie_wr_conf()
1696 if (pci_is_root_bus(dev->bus)) in advk_pcie_map_irq()
Dpci-rcar-gen2.c111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
Dpcie-brcmstb.c693 if (pci_is_root_bus(bus)) in brcm_pcie_map_bus()
714 if (pci_is_root_bus(bus)) in brcm7425_pcie_map_bus()
1121 if (!bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_add_bus()
Dpcie-xilinx.c158 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
Dpcie-rcar-host.c186 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()
206 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
/Linux-v6.6/include/linux/
Dpci-acpi.h37 while (!pci_is_root_bus(pbus)) in acpi_find_root_bridge_handle()
47 if (pci_is_root_bus(pbus)) in acpi_pci_get_bridge_handle()
/Linux-v6.6/drivers/pci/
Dremove.c136 if (!pci_is_root_bus(bus)) in pci_stop_root_bus()
154 if (!pci_is_root_bus(bus)) in pci_remove_root_bus()
Dsearch.c60 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) { in pci_for_each_dma_alias()
Dvc.c123 pci_is_root_bus(dev->bus)) in pci_vc_enable()
/Linux-v6.6/drivers/pci/hotplug/
Dacpiphp_glue.c515 if (pci_is_root_bus(bus)) in enable_slot()
520 if (pci_is_root_bus(bus)) in enable_slot()
892 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_enumerate_slots()
945 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_drop_bridge()
/Linux-v6.6/arch/sh/drivers/pci/
Dops-sh7786.c48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
Dpcie-sh7786.c141 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
/Linux-v6.6/drivers/pci/controller/cadence/
Dpci-j721e.c265 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_read()
275 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_write()
Dpcie-cadence-host.c37 if (pci_is_root_bus(bus)) { in cdns_pci_map_bus()
/Linux-v6.6/drivers/pci/controller/dwc/
Dpci-keystone.c437 if (!pci_is_root_bus(bus->parent)) in ks_pcie_other_map_bus()
462 if (!pci_is_root_bus(bus)) in ks_pcie_v3_65_add_bus()
543 if (pci_is_root_bus(bus)) in ks_pcie_quirk()
547 while (!pci_is_root_bus(bus)) { in ks_pcie_quirk()
/Linux-v6.6/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c30 if (pci_is_root_bus(bus) && (devfn > 0)) in mobiveil_pcie_valid_device()
58 if (pci_is_root_bus(bus)) in mobiveil_pcie_map_bus()
/Linux-v6.6/arch/mips/pci/
Dpci-xtalk-bridge.c198 if (!pci_is_root_bus(bus)) in pci_read_config()
287 if (!pci_is_root_bus(bus)) in pci_write_config()
/Linux-v6.6/arch/powerpc/platforms/powernv/
Deeh-powernv.c898 if (pci_is_root_bus(dev->bus)) { in pnv_pci_reset_secondary_bus()
1089 if (pci_is_root_bus(bus)) in pnv_eeh_reset()
1118 if (pci_is_root_bus(bus->parent)) in pnv_eeh_reset()
/Linux-v6.6/drivers/xen/
Dgrant-dma-ops.c303 while (!pci_is_root_bus(bus)) in xen_dt_get_node()
/Linux-v6.6/arch/powerpc/kernel/
Dpci_dn.c42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
Deeh_pe.c823 if (pci_is_root_bus(bus)) in eeh_pe_loc_get()
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_pcie.c458 if (!pci_is_root_bus(parent->bus)) { in qib_tune_pcie_caps()

123