Lines Matching full:clients
531 * a p2pdma provider and the clients in use.
533 * @clients: array of devices to check (NULL-terminated)
534 * @num_clients: number of clients in the array
537 * Returns -1 if any of the clients are not compatible, otherwise returns a
542 * "compatible" means the provider and the clients are either all behind
546 int pci_p2pdma_distance_many(struct pci_dev *provider, struct device **clients, in pci_p2pdma_distance_many() argument
560 if (clients[i]->dma_ops == &dma_virt_ops) { in pci_p2pdma_distance_many()
562 dev_warn(clients[i], in pci_p2pdma_distance_many()
568 pci_client = find_parent_pci_dev(clients[i]); in pci_p2pdma_distance_many()
571 dev_warn(clients[i], in pci_p2pdma_distance_many()
613 * the specified list of clients and shortest distance (as determined
615 * @clients: array of devices to check (NULL-terminated)
620 * the same as one of the clients, that provider will be used ahead of any
628 struct pci_dev *pci_p2pmem_find_many(struct device **clients, int num_clients) in pci_p2pmem_find_many() argument
646 distance = pci_p2pdma_distance_many(pdev, clients, in pci_p2pmem_find_many()