Searched refs:pci_is_root_bus (Results 1 – 23 of 23) sorted by relevance
109 while (!pci_is_root_bus(bus)) { in loongson_set_min_mrrs_quirk()233 if (!pci_is_root_bus(bus)) { in cfg0_map()247 if (!pci_is_root_bus(bus)) { in cfg1_map()258 return !(pci_is_root_bus(bus) && in pdev_may_exist()273 if (!pci_is_root_bus(bus) && (device > 0) && in pci_loongson_map_bus()
68 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()
111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
782 if (pci_is_root_bus(bus)) in brcm_pcie_map_bus()803 if (pci_is_root_bus(bus)) in brcm7425_pcie_map_bus()1481 if (!bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_add_bus()1519 if (!sr || !bus->parent || !pci_is_root_bus(bus->parent)) in brcm_pcie_remove_bus()
184 if (pci_is_root_bus(bus)) { in rcar_pcie_config_access()204 if (pci_is_root_bus(bus->parent)) in rcar_pcie_config_access()
172 if (!pci_is_root_bus(bus)) { in xilinx_pl_dma_pcie_valid_device()
216 if (pci_is_root_bus(bus) && (devfn == 0) && in altera_pcie_hide_rc_bar()
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()
124 pci_is_root_bus(dev->bus)) in pci_vc_enable()
48 if (pci_is_root_bus(bus)) { in sh7786_pcie_config_access()
141 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
31 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()
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()
301 if (pci_is_root_bus(bus)) in pnv_ioda_pick_m64_pe()936 if (pci_is_root_bus(bus)) in pnv_ioda_setup_bus_PE()2171 if (!pci_is_root_bus(bridge->bus) && in pnv_pci_fixup_bridge_resources()2172 !pci_is_root_bus(bridge->bus->self->bus)) in pnv_pci_fixup_bridge_resources()
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()
198 if (!pci_is_root_bus(bus)) in pci_read_config()287 if (!pci_is_root_bus(bus)) in pci_write_config()
42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
172 if (single_vga || !vfio_vga_disabled(vdev) || pci_is_root_bus(pdev->bus)) in vfio_pci_set_decode()182 pci_is_root_bus(tmp->bus)) in vfio_pci_set_decode()2261 if (pci_is_root_bus(pdev->bus) || pdev->is_virtfn) { in vfio_pci_core_register_device()
690 if (is_vmd(pdev->bus) && pci_is_root_bus(pdev->bus)) in quirk_no_aersid()
917 if (pci_is_root_bus(bus)) in cxl_port_get_possible_dports()
759 static inline bool pci_is_root_bus(struct pci_bus *pbus) in pci_is_root_bus() function829 if (pci_is_root_bus(dev->bus)) in pci_upstream_bridge()
6861 if (!pci_is_root_bus(rdev->pdev->bus)) in si_dpm_init()
5648 if (!pci_is_root_bus(rdev->pdev->bus)) in ci_dpm_init()