Home
last modified time | relevance | path

Searched refs:p2p_dev (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/linux/
Dpci-p2pdma.h33 int pci_p2pdma_enable_store(const char *page, struct pci_dev **p2p_dev,
35 ssize_t pci_p2pdma_enable_show(char *page, struct pci_dev *p2p_dev,
83 struct pci_dev **p2p_dev, bool *use_p2pdma) in pci_p2pdma_enable_store() argument
89 struct pci_dev *p2p_dev, bool use_p2pdma) in pci_p2pdma_enable_show() argument
/linux-6.1.9/drivers/nvme/target/
Dcore.c458 struct pci_dev *p2p_dev; in nvmet_p2pmem_ns_enable() local
474 if (ns->p2p_dev) { in nvmet_p2pmem_ns_enable()
475 ret = pci_p2pdma_distance(ns->p2p_dev, nvmet_ns_dev(ns), true); in nvmet_p2pmem_ns_enable()
486 p2p_dev = pci_p2pmem_find(nvmet_ns_dev(ns)); in nvmet_p2pmem_ns_enable()
487 if (!p2p_dev) { in nvmet_p2pmem_ns_enable()
493 pci_dev_put(p2p_dev); in nvmet_p2pmem_ns_enable()
506 struct pci_dev *p2p_dev; in nvmet_p2pmem_ns_add_p2p() local
512 if (ns->p2p_dev) { in nvmet_p2pmem_ns_add_p2p()
513 ret = pci_p2pdma_distance(ns->p2p_dev, ctrl->p2p_client, true); in nvmet_p2pmem_ns_add_p2p()
517 p2p_dev = pci_dev_get(ns->p2p_dev); in nvmet_p2pmem_ns_add_p2p()
[all …]
Dconfigfs.c379 return pci_p2pdma_enable_show(page, ns->p2p_dev, ns->use_p2pmem); in nvmet_ns_p2pmem_show()
386 struct pci_dev *p2p_dev = NULL; in nvmet_ns_p2pmem_store() local
397 error = pci_p2pdma_enable_store(page, &p2p_dev, &use_p2pmem); in nvmet_ns_p2pmem_store()
404 pci_dev_put(ns->p2p_dev); in nvmet_ns_p2pmem_store()
405 ns->p2p_dev = p2p_dev; in nvmet_ns_p2pmem_store()
Dnvmet.h82 struct pci_dev *p2p_dev; member
389 struct pci_dev *p2p_dev; member
/linux-6.1.9/drivers/pci/
Dp2pdma.c931 int pci_p2pdma_enable_store(const char *page, struct pci_dev **p2p_dev, in pci_p2pdma_enable_store() argument
939 *p2p_dev = to_pci_dev(dev); in pci_p2pdma_enable_store()
941 if (!pci_has_p2pmem(*p2p_dev)) { in pci_p2pdma_enable_store()
942 pci_err(*p2p_dev, in pci_p2pdma_enable_store()
945 pci_dev_put(*p2p_dev); in pci_p2pdma_enable_store()
978 ssize_t pci_p2pdma_enable_show(char *page, struct pci_dev *p2p_dev, in pci_p2pdma_enable_show() argument
984 if (!p2p_dev) in pci_p2pdma_enable_show()
987 return sprintf(page, "%s\n", pci_name(p2p_dev)); in pci_p2pdma_enable_show()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h340 struct iwl_mac_data_p2p_dev p2p_dev; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c745 cmd.p2p_dev.is_disc_extended = cpu_to_le32(data.go_active ? 1 : 0); in iwl_mvm_mac_ctxt_cmd_p2p_device()