Lines Matching full:p2p
232 struct pci_p2pdma *p2p; in pci_p2pdma_setup() local
234 p2p = devm_kzalloc(&pdev->dev, sizeof(*p2p), GFP_KERNEL); in pci_p2pdma_setup()
235 if (!p2p) in pci_p2pdma_setup()
238 xa_init(&p2p->map_types); in pci_p2pdma_setup()
240 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup()
241 if (!p2p->pool) in pci_p2pdma_setup()
252 rcu_assign_pointer(pdev->p2pdma, p2p); in pci_p2pdma_setup()
256 gen_pool_destroy(p2p->pool); in pci_p2pdma_setup()
258 devm_kfree(&pdev->dev, p2p); in pci_p2pdma_setup()
276 * pci_p2pdma_add_resource - add memory for use as p2p memory
383 * Check if a PCI bridge has its ACS redirection bits set to redirect P2P
1093 * @p2p_dev: the selected p2p device (NULL if no device is selected)