Home
last modified time | relevance | path

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

123

/Linux-v5.10/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-v5.10/drivers/pci/
Dremove.c134 if (!pci_is_root_bus(bus)) in pci_stop_root_bus()
152 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()
Dprobe.c519 if (pci_is_root_bus(child)) /* It's a host bus, nothing to read */ in pci_read_bridge_bases()
865 for (b = bus, d = NULL; !d && !pci_is_root_bus(b); b = b->parent) { in pci_set_bus_msi_domain()
3046 if (!pci_is_root_bus(b)) in pci_bus_insert_busn_res()
3058 res, pci_is_root_bus(b) ? "domain " : "", in pci_bus_insert_busn_res()
/Linux-v5.10/drivers/pci/controller/
Dpcie-rockchip-host.c79 if (pci_is_root_bus(bus) || pci_is_root_bus(bus->parent)) in rockchip_pcie_valid_device()
170 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_rd_other_conf()
201 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_wr_other_conf()
230 if (pci_is_root_bus(bus)) in rockchip_pcie_rd_conf()
245 if (pci_is_root_bus(bus)) in rockchip_pcie_wr_conf()
Dpci-xgene.c129 if (!pci_is_root_bus(bus)) in xgene_pcie_set_rtdid_reg()
147 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars()
157 if ((pci_is_root_bus(bus) && devfn != 0) || in xgene_pcie_map_bus()
183 if (pci_is_root_bus(bus) && (port->version == XGENE_PCIE_IP_VER_1) && in xgene_pcie_config_read32()
Dpci-aardvark.c647 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device()
654 if (!pci_is_root_bus(bus) && !advk_pcie_link_up(pcie)) in advk_pcie_valid_device()
672 if (pci_is_root_bus(bus)) in advk_pcie_rd_conf()
683 if (pci_is_root_bus(bus->parent)) in advk_pcie_rd_conf()
730 if (pci_is_root_bus(bus)) in advk_pcie_wr_conf()
744 if (pci_is_root_bus(bus->parent)) in advk_pcie_wr_conf()
Dpci-loongson.c75 while (!pci_is_root_bus(bus)) { in loongson_mrrs_quirk()
Dpci-rcar-gen2.c111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
Dpcie-xilinx.c163 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
Dpcie-rcar-host.c97 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()
117 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
/Linux-v5.10/arch/sh/drivers/pci/
Dops-sh7786.c48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
Dpcie-sh7786.c142 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
/Linux-v5.10/drivers/pci/controller/cadence/
Dpci-j721e.c248 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_read()
258 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_write()
Dpcie-cadence-host.c35 if (pci_is_root_bus(bus)) { in cdns_pci_map_bus()
/Linux-v5.10/drivers/pci/controller/dwc/
Dpci-keystone.c444 if (!pci_is_root_bus(bus->parent)) in ks_pcie_other_map_bus()
468 if (!pci_is_root_bus(bus)) in ks_pcie_v3_65_add_bus()
553 if (pci_is_root_bus(bus)) in ks_pcie_quirk()
557 while (!pci_is_root_bus(bus)) { in ks_pcie_quirk()
/Linux-v5.10/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c33 if (pci_is_root_bus(bus) && (devfn > 0)) in mobiveil_pcie_valid_device()
61 if (pci_is_root_bus(bus)) in mobiveil_pcie_map_bus()
/Linux-v5.10/drivers/pci/hotplug/
Dacpiphp_glue.c879 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_enumerate_slots()
932 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_drop_bridge()
/Linux-v5.10/arch/mips/pci/
Dpci-xtalk-bridge.c197 if (!pci_is_root_bus(bus)) in pci_read_config()
286 if (!pci_is_root_bus(bus)) in pci_write_config()
/Linux-v5.10/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-v5.10/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-v5.10/drivers/infiniband/hw/qib/
Dqib_pcie.c473 if (!pci_is_root_bus(parent->bus)) { in qib_tune_pcie_caps()
/Linux-v5.10/arch/x86/pci/
Dfixup.c647 if (is_vmd(pdev->bus) && pci_is_root_bus(pdev->bus)) in quirk_no_aersid()

123