Searched refs:p2p_dev (Results 1 – 6 of 6) sorted by relevance
/drivers/nvme/target/ |
D | core.c | 452 struct pci_dev *p2p_dev; in nvmet_p2pmem_ns_enable() local 468 if (ns->p2p_dev) { in nvmet_p2pmem_ns_enable() 469 ret = pci_p2pdma_distance(ns->p2p_dev, nvmet_ns_dev(ns), true); in nvmet_p2pmem_ns_enable() 480 p2p_dev = pci_p2pmem_find(nvmet_ns_dev(ns)); in nvmet_p2pmem_ns_enable() 481 if (!p2p_dev) { in nvmet_p2pmem_ns_enable() 487 pci_dev_put(p2p_dev); in nvmet_p2pmem_ns_enable() 500 struct pci_dev *p2p_dev; in nvmet_p2pmem_ns_add_p2p() local 506 if (ns->p2p_dev) { in nvmet_p2pmem_ns_add_p2p() 507 ret = pci_p2pdma_distance(ns->p2p_dev, ctrl->p2p_client, true); in nvmet_p2pmem_ns_add_p2p() 511 p2p_dev = pci_dev_get(ns->p2p_dev); in nvmet_p2pmem_ns_add_p2p() [all …]
|
D | configfs.c | 376 return pci_p2pdma_enable_show(page, ns->p2p_dev, ns->use_p2pmem); in nvmet_ns_p2pmem_show() 383 struct pci_dev *p2p_dev = NULL; in nvmet_ns_p2pmem_store() local 394 error = pci_p2pdma_enable_store(page, &p2p_dev, &use_p2pmem); in nvmet_ns_p2pmem_store() 401 pci_dev_put(ns->p2p_dev); in nvmet_ns_p2pmem_store() 402 ns->p2p_dev = p2p_dev; in nvmet_ns_p2pmem_store()
|
D | nvmet.h | 81 struct pci_dev *p2p_dev; member 348 struct pci_dev *p2p_dev; member
|
/drivers/pci/ |
D | p2pdma.c | 977 int pci_p2pdma_enable_store(const char *page, struct pci_dev **p2p_dev, in pci_p2pdma_enable_store() argument 985 *p2p_dev = to_pci_dev(dev); in pci_p2pdma_enable_store() 987 if (!pci_has_p2pmem(*p2p_dev)) { in pci_p2pdma_enable_store() 988 pci_err(*p2p_dev, in pci_p2pdma_enable_store() 991 pci_dev_put(*p2p_dev); in pci_p2pdma_enable_store() 1024 ssize_t pci_p2pdma_enable_show(char *page, struct pci_dev *p2p_dev, in pci_p2pdma_enable_show() argument 1030 if (!p2p_dev) in pci_p2pdma_enable_show() 1033 return sprintf(page, "%s\n", pci_name(p2p_dev)); in pci_p2pdma_enable_show()
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac.h | 389 struct iwl_mac_data_p2p_dev p2p_dev; member
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 810 cmd.p2p_dev.is_disc_extended = cpu_to_le32(data.go_active ? 1 : 0); in iwl_mvm_mac_ctxt_cmd_p2p_device()
|