Lines Matching refs:clients
561 * a p2pdma provider and the clients in use.
563 * @clients: array of devices to check (NULL-terminated)
564 * @num_clients: number of clients in the array
567 * Returns -1 if any of the clients are not compatible, otherwise returns a
572 * "compatible" means the provider and the clients are either all behind
576 int pci_p2pdma_distance_many(struct pci_dev *provider, struct device **clients,
590 if (clients[i]->dma_ops == &dma_virt_ops) {
592 dev_warn(clients[i],
598 pci_client = find_parent_pci_dev(clients[i]);
601 dev_warn(clients[i],
643 * the specified list of clients and shortest distance (as determined
645 * @clients: array of devices to check (NULL-terminated)
650 * the same as one of the clients, that provider will be used ahead of any
658 struct pci_dev *pci_p2pmem_find_many(struct device **clients, int num_clients)
676 distance = pci_p2pdma_distance_many(pdev, clients,