Searched refs:pci_is_root_bus (Results 1 – 25 of 55) sorted by relevance
123
90 while (!pci_is_root_bus(bus)) { in loongson_mrrs_quirk()146 if (!pci_is_root_bus(bus)) { in cfg0_map()160 if (!pci_is_root_bus(bus)) { in cfg1_map()171 return !(pci_is_root_bus(bus) && in pdev_may_exist()187 if (!pci_is_root_bus(bus) && (device > 0)) in pci_loongson_map_bus()
79 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()227 if (pci_is_root_bus(bus)) in rockchip_pcie_rd_conf()242 if (pci_is_root_bus(bus)) in rockchip_pcie_wr_conf()
127 if (!pci_is_root_bus(bus)) in xgene_pcie_set_rtdid_reg()145 if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) || in xgene_pcie_hide_rc_bars()155 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()
1094 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()
111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
695 if (pci_is_root_bus(bus)) in brcm_pcie_map_bus()716 if (pci_is_root_bus(bus)) in brcm7425_pcie_map_bus()1106 if (!bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_add_bus()
158 if (!pci_is_root_bus(bus)) { in xilinx_pcie_valid_device()
201 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()221 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
135 if (!pci_is_root_bus(bus)) in pci_stop_root_bus()153 if (!pci_is_root_bus(bus)) in pci_remove_root_bus()
60 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) { in pci_for_each_dma_alias()
123 pci_is_root_bus(dev->bus)) in pci_vc_enable()
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()
48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
142 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
266 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()
35 if (pci_is_root_bus(bus)) { in cdns_pci_map_bus()
438 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()
33 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()
881 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_enumerate_slots()934 if (pci_is_root_bus(bridge->pci_bus)) { in acpiphp_drop_bridge()
198 if (!pci_is_root_bus(bus)) in pci_read_config()287 if (!pci_is_root_bus(bus)) in pci_write_config()
899 if (pci_is_root_bus(dev->bus)) { in pnv_pci_reset_secondary_bus()1090 if (pci_is_root_bus(bus)) in pnv_eeh_reset()1119 if (pci_is_root_bus(bus->parent)) in pnv_eeh_reset()
42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
824 if (pci_is_root_bus(bus)) in eeh_pe_loc_get()
466 if (!pci_is_root_bus(parent->bus)) { in qib_tune_pcie_caps()
86 if (pci_is_root_bus(bus)) in devm_cxl_port_enumerate_dports()