Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/
H A Dpci-loongson.c109 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()
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-rcar-gen2.c111 if (!pci_is_root_bus(bus) || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
H A Dpcie-brcmstb.c782 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()
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-dma-pl.c172 if (!pci_is_root_bus(bus)) { in xilinx_pl_dma_pcie_valid_device()
H A Dpcie-altera.c216 if (pci_is_root_bus(bus) && (devfn == 0) && in altera_pcie_hide_rc_bar()
/linux/drivers/pci/
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 Dvc.c124 pci_is_root_bus(dev->bus)) in pci_vc_enable()
/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/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()
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()
/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/kernel/
H A Dpci_dn.c42 if (pci_is_root_bus(pbus) || pbus->self) in pci_bus_to_pdn()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c172 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()
/linux/arch/x86/pci/
H A Dfixup.c690 if (is_vmd(pdev->bus) && pci_is_root_bus(pdev->bus)) in quirk_no_aersid()
/linux/drivers/cxl/core/
H A Dpci.c917 if (pci_is_root_bus(bus)) in cxl_port_get_possible_dports()
/linux/include/linux/
H A Dpci.h759 static inline bool pci_is_root_bus(struct pci_bus *pbus) in pci_is_root_bus() function
829 if (pci_is_root_bus(dev->bus)) in pci_upstream_bridge()
/linux/drivers/gpu/drm/radeon/
H A Dsi_dpm.c6861 if (!pci_is_root_bus(rdev->pdev->bus)) in si_dpm_init()
H A Dci_dpm.c5648 if (!pci_is_root_bus(rdev->pdev->bus)) in ci_dpm_init()