Lines Matching refs:p2p_dev
1039 * @p2p_dev: returns the PCI device that was selected to be used
1055 int pci_p2pdma_enable_store(const char *page, struct pci_dev **p2p_dev,
1063 *p2p_dev = to_pci_dev(dev);
1065 if (!pci_has_p2pmem(*p2p_dev)) {
1066 pci_err(*p2p_dev,
1069 pci_dev_put(*p2p_dev);
1094 * @p2p_dev: the selected p2p device (NULL if no device is selected)
1102 ssize_t pci_p2pdma_enable_show(char *page, struct pci_dev *p2p_dev,
1108 if (!p2p_dev)
1111 return sprintf(page, "%s\n", pci_name(p2p_dev));