Lines Matching refs:p2p_dev
961 * @p2p_dev: returns the PCI device that was selected to be used
977 int pci_p2pdma_enable_store(const char *page, struct pci_dev **p2p_dev,
985 *p2p_dev = to_pci_dev(dev);
987 if (!pci_has_p2pmem(*p2p_dev)) {
988 pci_err(*p2p_dev,
991 pci_dev_put(*p2p_dev);
1016 * @p2p_dev: the selected p2p device (NULL if no device is selected)
1024 ssize_t pci_p2pdma_enable_show(char *page, struct pci_dev *p2p_dev,
1030 if (!p2p_dev)
1033 return sprintf(page, "%s\n", pci_name(p2p_dev));