| /linux-6.15/drivers/pci/controller/ |
| H A D | pci-loongson.c | 108 while (!pci_is_root_bus(bus)) { in loongson_set_min_mrrs_quirk() 196 if (!pci_is_root_bus(bus)) { in cfg0_map() 210 if (!pci_is_root_bus(bus)) { in cfg1_map() 221 return !(pci_is_root_bus(bus) && in pdev_may_exist() 237 if (!pci_is_root_bus(bus) && (device > 0)) in pci_loongson_map_bus()
|
| H A D | pcie-rockchip-host.c | 76 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()
|
| H A D | pci-xgene.c | 126 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() 182 if (pci_is_root_bus(bus) && (port->version == XGENE_PCIE_IP_VER_1) && in xgene_pcie_config_read32()
|
| H A D | pci-aardvark.c | 1093 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device() 1104 if (!pci_is_root_bus(bus) && !advk_pcie_link_up(pcie)) in advk_pcie_valid_device() 1151 if (pci_is_root_bus(bus)) in advk_pcie_rd_conf() 1170 if (pci_is_root_bus(bus->parent)) in advk_pcie_rd_conf() 1238 if (pci_is_root_bus(bus)) in advk_pcie_wr_conf() 1251 if (pci_is_root_bus(bus->parent)) in advk_pcie_wr_conf() 1689 if (pci_is_root_bus(dev->bus)) in advk_pcie_map_irq()
|
| H A D | pci-rcar-gen2.c | 111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
|
| H A D | pcie-brcmstb.c | 720 if (pci_is_root_bus(bus)) in brcm_pcie_map_bus() 741 if (pci_is_root_bus(bus)) in brcm7425_pcie_map_bus() 1405 if (!bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_add_bus() 1443 if (!sr || !bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_remove_bus()
|
| H A D | pcie-xilinx.c | 158 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
|
| H A D | pcie-rcar-host.c | 191 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access() 211 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
|
| /linux-6.15/include/linux/ |
| H A D | pci-acpi.h | 37 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-6.15/drivers/pci/ |
| H A D | remove.c | 159 if (!pci_is_root_bus(bus)) in pci_stop_root_bus() 179 if (!pci_is_root_bus(bus)) in pci_remove_root_bus()
|
| H A D | irq.c | 113 while (!pci_is_root_bus(dev->bus)) { in pci_get_interrupt_pin() 133 while (!pci_is_root_bus(dev->bus)) { in pci_common_swizzle()
|
| H A D | search.c | 60 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) { in pci_for_each_dma_alias()
|
| H A D | vc.c | 124 pci_is_root_bus(dev->bus)) in pci_vc_enable()
|
| /linux-6.15/arch/sh/drivers/pci/ |
| H A D | ops-sh7786.c | 48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
|
| H A D | pcie-sh7786.c | 141 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
|
| /linux-6.15/drivers/pci/controller/mobiveil/ |
| H A D | pcie-mobiveil-host.c | 30 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-6.15/drivers/pci/controller/cadence/ |
| H A D | pci-j721e.c | 310 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_read() 320 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_write()
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pci-keystone.c | 471 if (!pci_is_root_bus(bus->parent)) in ks_pcie_other_map_bus() 552 if (pci_is_root_bus(bus)) in ks_pcie_quirk() 556 while (!pci_is_root_bus(bus)) { in ks_pcie_quirk()
|
| /linux-6.15/arch/mips/pci/ |
| H A D | pci-xtalk-bridge.c | 198 if (!pci_is_root_bus(bus)) in pci_read_config() 287 if (!pci_is_root_bus(bus)) in pci_write_config()
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | acpiphp_glue.c | 889 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_enumerate_slots() 942 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_drop_bridge()
|
| /linux-6.15/arch/powerpc/platforms/powernv/ |
| H A D | eeh-powernv.c | 897 if (pci_is_root_bus(dev->bus)) { in pnv_pci_reset_secondary_bus() 1088 if (pci_is_root_bus(bus)) in pnv_eeh_reset() 1117 if (pci_is_root_bus(bus->parent)) in pnv_eeh_reset()
|
| /linux-6.15/drivers/pci/controller/plda/ |
| H A D | pcie-starfive.c | 78 if (pci_is_root_bus(bus) && !devfn && in starfive_pcie_hide_rc_bar()
|
| /linux-6.15/drivers/xen/ |
| H A D | grant-dma-ops.c | 303 while (!pci_is_root_bus(bus)) in xen_dt_get_node()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | pci_dn.c | 42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
|
| /linux-6.15/drivers/infiniband/hw/qib/ |
| H A D | qib_pcie.c | 458 if (!pci_is_root_bus(parent->bus)) { in qib_tune_pcie_caps()
|