Lines Matching full:provider

38 	struct pci_dev *provider;  member
208 p2p_pgmap->provider = pdev; in pci_p2pdma_add_resource()
450 calc_map_type_and_dist(struct pci_dev *provider, struct pci_dev *client, in calc_map_type_and_dist() argument
454 struct pci_dev *a = provider, *b = client, *bb; in calc_map_type_and_dist()
519 pci_warn(client, "ACS redirect is set between the client and provider (%s)\n", in calc_map_type_and_dist()
520 pci_name(provider)); in calc_map_type_and_dist()
528 !host_bridge_whitelist(provider, client, acs_redirects)) { in calc_map_type_and_dist()
530 …pci_warn(client, "cannot be used for peer-to-peer DMA as the client and provider (%s) do not share… in calc_map_type_and_dist()
531 pci_name(provider)); in calc_map_type_and_dist()
536 p2pdma = rcu_dereference(provider->p2pdma); in calc_map_type_and_dist()
546 * a p2pdma provider and the clients in use.
547 * @provider: p2pdma provider to check against the client list
554 * one client that's the same as the provider it will return 0, which is best
557 * "compatible" means the provider and the clients are either all behind
561 int pci_p2pdma_distance_many(struct pci_dev *provider, struct device **clients, in pci_p2pdma_distance_many() argument
582 map = calc_map_type_and_dist(provider, pci_client, &distance, in pci_p2pdma_distance_many()
630 * the same as one of the clients, that provider will be used ahead of any
636 * found provider will also be assigned to the client list.
848 struct pci_dev *provider = to_p2p_pgmap(pgmap)->provider; in pci_p2pdma_map_type() local
852 if (!provider->p2pdma) in pci_p2pdma_map_type()
861 p2pdma = rcu_dereference(provider->p2pdma); in pci_p2pdma_map_type()
949 * expects the caller to use the specific provider.