Home
last modified time | relevance | path

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

12

/linux/drivers/pci/controller/
H A Dpci-loongson.c108 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 Dpcie-rockchip-host.c68 if (pci_is_root_bus(bus) || pci_is_root_bus(bus->parent)) in rockchip_pcie_valid_device()
158 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_rd_other_conf()
189 if (pci_is_root_bus(bus->parent)) in rockchip_pcie_wr_other_conf()
216 if (pci_is_root_bus(bus)) in rockchip_pcie_rd_conf()
231 if (pci_is_root_bus(bus)) in rockchip_pcie_wr_conf()
H A Dpci-xgene.c125 if (!pci_is_root_bus(bus)) in xgene_pcie_set_rtdid_reg()
143 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars()
153 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()
H A Dpci-aardvark.c1093 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()
1672 if (pci_is_root_bus(dev->bus)) in advk_pcie_map_irq()
H A Dpci-rcar-gen2.c111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
H A Dpcie-rcar-host.c184 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()
204 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
H A Dpcie-xilinx.c159 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
/linux/include/linux/
H 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/
H A Dremove.c169 if (!pci_is_root_bus(bus)) in pci_stop_root_bus()
189 if (!pci_is_root_bus(bus)) in pci_remove_root_bus()
H A Dirq.c113 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 Dsearch.c60 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) { in pci_for_each_dma_alias()
H A Dsetup-bus.c212 if (pci_is_root_bus(bus)) { in pbus_select_window_for_type()
1256 if (pci_is_root_bus(bus)) in pbus_upstream_space_available()
1581 if (pci_is_root_bus(bus)) { in __pci_bus_size_bridges()
1871 if (pci_is_root_bus(bus)) in pci_bus_release_bridge_resources()
2438 while (!pci_is_root_bus(bus)) { in pbus_reassign_bridge_resources()
H A Dvc.c124 pci_is_root_bus(dev->bus)) in pci_vc_enable()
H A Dpci-acpi.c1235 if (!pci_is_root_bus(bus)) in acpi_pci_add_bus()
1363 pci_is_root_bus(pci_dev->bus)) in acpi_pci_find_companion()
/linux/arch/sh/drivers/pci/
H A Dops-sh7786.c48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
H A Dpcie-sh7786.c141 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil-host.c31 if (pci_is_root_bus(bus) && (devfn > 0)) in mobiveil_pcie_valid_device()
59 if (pci_is_root_bus(bus)) in mobiveil_pcie_map_bus()
/linux/drivers/pci/hotplug/
H A Dacpiphp_glue.c889 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/arch/mips/pci/
H 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/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c897 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()
H A Dpci-ioda.c301 if (pci_is_root_bus(bus)) in pnv_ioda_pick_m64_pe()
947 if (pci_is_root_bus(bus)) in pnv_ioda_setup_bus_PE()
2184 if (!pci_is_root_bus(bridge->bus) && in pnv_pci_fixup_bridge_resources()
2185 !pci_is_root_bus(bridge->bus->self->bus)) in pnv_pci_fixup_bridge_resources()
/linux/drivers/pci/controller/plda/
H A Dpcie-starfive.c78 if (pci_is_root_bus(bus) && !devfn && in starfive_pcie_hide_rc_bar()
/linux/drivers/xen/
H A Dgrant-dma-ops.c307 while (!pci_is_root_bus(bus)) in xen_dt_get_node()
/linux/arch/powerpc/kernel/
H A Dpci_dn.c42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
H A Deeh_pe.c825 if (pci_is_root_bus(bus)) in eeh_pe_loc_get()

12