pci_is_root_bus
if (!pci_is_root_bus(bus))
if (!pci_is_root_bus(bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(pbus) || pbus->self)
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(dev->bus)) {
if (!pci_is_root_bus(bridge->bus) &&
!pci_is_root_bus(bridge->bus->self->bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus)) {
if (pci_is_root_bus(dev->bus) && dev->devfn == 0) {
if (is_vmd(pdev->bus) && pci_is_root_bus(pdev->bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(adev->pdev->bus) && !amdgpu_passthrough(adev)) {
if (pci_is_root_bus(adev->pdev->bus))
if (pci_is_root_bus(adev->pdev->bus))
if (pci_is_root_bus(adev->pdev->bus))
!pci_is_root_bus(adev->pdev->bus)) {
if (!pci_is_root_bus(rdev->pdev->bus))
if (pci_is_root_bus(rdev->pdev->bus))
!pci_is_root_bus(rdev->pdev->bus)) {
if (pci_is_root_bus(rdev->pdev->bus))
!pci_is_root_bus(rdev->pdev->bus)) {
if (!pci_is_root_bus(rdev->pdev->bus))
if (!pci_is_root_bus(parent->bus)) {
while (!pci_is_root_bus(bus))
if (pci_is_root_bus(tmp->bus))
for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) {
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus)) {
if (!pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus))
while (!pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus) && (devfn > 0))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus) && PCI_SLOT(devfn) != 0)
if (!pci_is_root_bus(bus) && !advk_pcie_link_up(pcie))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(dev->bus))
while (!pci_is_root_bus(bus)) {
if (!pci_is_root_bus(bus)) {
if (!pci_is_root_bus(bus)) {
return !(pci_is_root_bus(bus) &&
if (!pci_is_root_bus(bus) && (device > 0))
if (!pci_is_root_bus(bus) || PCI_FUNC(devfn))
if (!pci_is_root_bus(bus))
if (pci_is_root_bus(bus) && ((offset == PCI_BASE_ADDRESS_0) ||
if ((pci_is_root_bus(bus) && devfn != 0) ||
if (pci_is_root_bus(bus) && (port->version == XGENE_PCIE_IP_VER_1) &&
if (pci_is_root_bus(bus) && (devfn == 0) &&
if (!bus->parent || !pci_is_root_bus(bus->parent))
if (!sr || !bus->parent || !pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus->parent))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus) || pci_is_root_bus(bus->parent))
bool type0 = pci_is_root_bus(bus->parent) ? true : false;
bool type0 = pci_is_root_bus(bus->parent) ? true : false;
if (!pci_is_root_bus(bus)) {
if (!pci_is_root_bus(bus)) {
if (!pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus) && !devfn &&
if (pci_is_root_bus(bridge->pci_bus)) {
if (pci_is_root_bus(bridge->pci_bus)) {
while (!pci_is_root_bus(dev->bus)) {
while (!pci_is_root_bus(dev->bus)) {
if (!pci_is_root_bus(bus))
pci_is_root_bus(pci_dev->bus))
if (!pci_is_root_bus(bus) && list_empty(&bus->devices))
if (pci_is_root_bus(pdev->bus))
if (pci_is_root_bus(dev->bus) || dev->subordinate ||
pci_is_root_bus(dev->bus) ? "Root" : "Downstream", rc);
if (!pci_is_root_bus(b))
res, pci_is_root_bus(b) ? "domain " : "",
if (pci_is_root_bus(child)) /* It's a host bus, nothing to read */
for (b = bus, d = NULL; !d && !pci_is_root_bus(b); b = b->parent) {
if (!pci_is_root_bus(dev->bus))
if (!pci_is_root_bus(pdev->bus) &&
if (!dev->multifunction || !pci_is_root_bus(dev->bus))
if (!pci_is_root_bus(bus))
if (!pci_is_root_bus(bus))
for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) {
if (pci_is_root_bus(bus)) {
if (pci_is_root_bus(bus))
if (pci_is_root_bus(bus)) {
while (!pci_is_root_bus(bus)) {
pci_is_root_bus(dev->bus))
if (single_vga || !vfio_vga_disabled() || pci_is_root_bus(pdev->bus))
pci_is_root_bus(tmp->bus))
if (pci_is_root_bus(pdev->bus) || pdev->is_virtfn) {
while (!pci_is_root_bus(bus))
while (!pci_is_root_bus(pbus))
if (pci_is_root_bus(pbus))
if (pci_is_root_bus(dev->bus))