Home
last modified time | relevance | path

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

123

/linux/include/linux/
A 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/drivers/pci/
A Dremove.c135 if (!pci_is_root_bus(bus)) in pci_stop_root_bus()
153 if (!pci_is_root_bus(bus)) in pci_remove_root_bus()
A Dsearch.c60 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) { in pci_for_each_dma_alias()
A Dvc.c123 pci_is_root_bus(dev->bus)) in pci_vc_enable()
A Dprobe.c520 if (pci_is_root_bus(child)) /* It's a host bus, nothing to read */ in pci_read_bridge_bases()
872 for (b = bus, d = NULL; !d && !pci_is_root_bus(b); b = b->parent) { in pci_set_bus_msi_domain()
3100 if (!pci_is_root_bus(b)) in pci_bus_insert_busn_res()
3112 res, pci_is_root_bus(b) ? "domain " : "", in pci_bus_insert_busn_res()
A Dpci-acpi.c1151 if (!pci_is_root_bus(bus)) in acpi_pci_add_bus()
1279 pci_is_root_bus(pci_dev->bus)) in acpi_pci_find_companion()
/linux/drivers/pci/controller/
A Dpcie-rockchip-host.c79 if (pci_is_root_bus(bus) || pci_is_root_bus(bus->parent)) in rockchip_pcie_valid_device()
169 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_rd_other_conf()
200 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_wr_other_conf()
229 if (pci_is_root_bus(bus)) in rockchip_pcie_rd_conf()
244 if (pci_is_root_bus(bus)) in rockchip_pcie_wr_conf()
A Dpci-xgene.c128 if (!pci_is_root_bus(bus)) in xgene_pcie_set_rtdid_reg()
146 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars()
156 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()
A Dpci-aardvark.c969 if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device()
976 if (!pci_is_root_bus(bus) && !advk_pcie_link_up(pcie)) in advk_pcie_valid_device()
1025 if (pci_is_root_bus(bus)) in advk_pcie_rd_conf()
1044 if (pci_is_root_bus(bus->parent)) in advk_pcie_rd_conf()
1112 if (pci_is_root_bus(bus)) in advk_pcie_wr_conf()
1125 if (pci_is_root_bus(bus->parent)) in advk_pcie_wr_conf()
A Dpci-loongson.c75 while (!pci_is_root_bus(bus)) { in loongson_mrrs_quirk()
A Dpci-rcar-gen2.c111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
A Dpcie-rcar-host.c109 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()
129 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
A Dpcie-xilinx.c158 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
/linux/arch/sh/drivers/pci/
A Dops-sh7786.c48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
A Dpcie-sh7786.c142 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
/linux/drivers/pci/controller/dwc/
A Dpci-keystone.c438 if (!pci_is_root_bus(bus->parent)) in ks_pcie_other_map_bus()
463 if (!pci_is_root_bus(bus)) in ks_pcie_v3_65_add_bus()
544 if (pci_is_root_bus(bus)) in ks_pcie_quirk()
548 while (!pci_is_root_bus(bus)) { in ks_pcie_quirk()
/linux/drivers/pci/controller/cadence/
A Dpci-j721e.c266 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_read()
276 if (pci_is_root_bus(bus)) in cdns_ti_pcie_config_write()
A Dpcie-cadence-host.c35 if (pci_is_root_bus(bus)) { in cdns_pci_map_bus()
/linux/drivers/pci/controller/mobiveil/
A 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/arch/powerpc/platforms/powernv/
A 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/arch/mips/pci/
A 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/drivers/pci/hotplug/
A Dacpiphp_glue.c880 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_enumerate_slots()
933 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_drop_bridge()
/linux/drivers/infiniband/hw/qib/
A Dqib_pcie.c466 if (!pci_is_root_bus(parent->bus)) { in qib_tune_pcie_caps()
/linux/arch/powerpc/kernel/
A Dpci_dn.c42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c62 if (single_vga || !vfio_vga_disabled() || pci_is_root_bus(pdev->bus)) in vfio_pci_set_decode()
72 pci_is_root_bus(tmp->bus)) in vfio_pci_set_decode()
1827 if (pci_is_root_bus(pdev->bus)) { in vfio_pci_core_register_device()

Completed in 52 milliseconds

123