Lines Matching defs:host
449 * If the first device on host's root bus is either devfn 00.0 or a PCIe
452 * We often use a devfn 00.0 "host bridge" in the pci_p2pdma_whitelist[]
454 * platforms, e.g., Intel Skylake, there is no such host bridge device, and
457 * This function is similar to pci_get_slot(host->bus, 0), but it does
465 static struct pci_dev *pci_host_bridge_dev(struct pci_host_bridge *host)
469 root = list_first_entry_or_null(&host->bus->devices,
484 static bool __host_bridge_whitelist(struct pci_host_bridge *host,
487 struct pci_dev *root = pci_host_bridge_dev(host);
564 * devices will go through the host bridge, so return
568 * Any two devices that have a data path that goes through the host bridge
569 * will consult a whitelist. If the host bridge is in the whitelist, return
655 pci_warn(client, "cannot be used for peer-to-peer DMA as the client and provider (%s) do not share an upstream bridge or whitelisted host bridge\n",
683 * the same PCI root port or the host bridges connected to each of the devices