Home
last modified time | relevance | path

Searched refs:ne_pci_dev (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/virt/nitro_enclaves/
Dne_pci_dev.c49 struct ne_pci_dev *ne_pci_dev = pci_get_drvdata(pdev); in ne_submit_request() local
51 memcpy_toio(ne_pci_dev->iomem_base + NE_SEND_DATA, cmd_request, cmd_request_size); in ne_submit_request()
53 iowrite32(cmd_type, ne_pci_dev->iomem_base + NE_COMMAND); in ne_submit_request()
67 struct ne_pci_dev *ne_pci_dev = pci_get_drvdata(pdev); in ne_retrieve_reply() local
69 memcpy_fromio(cmd_reply, ne_pci_dev->iomem_base + NE_RECV_DATA, cmd_reply_size); in ne_retrieve_reply()
83 struct ne_pci_dev *ne_pci_dev = pci_get_drvdata(pdev); in ne_wait_for_reply() local
90 rc = wait_event_timeout(ne_pci_dev->cmd_reply_wait_q, in ne_wait_for_reply()
91 atomic_read(&ne_pci_dev->cmd_reply_avail) != 0, in ne_wait_for_reply()
103 struct ne_pci_dev *ne_pci_dev = pci_get_drvdata(pdev); in ne_do_request() local
144 mutex_lock(&ne_pci_dev->pci_dev_mutex); in ne_do_request()
[all …]
Dne_misc_dev.c150 struct ne_pci_dev *ne_pci_dev = ne_devs.ne_pci_dev; in ne_check_enclaves_created() local
153 if (!ne_pci_dev) in ne_check_enclaves_created()
156 mutex_lock(&ne_pci_dev->enclaves_list_mutex); in ne_check_enclaves_created()
158 if (!list_empty(&ne_pci_dev->enclaves_list)) in ne_check_enclaves_created()
161 mutex_unlock(&ne_pci_dev->enclaves_list_mutex); in ne_check_enclaves_created()
709 struct pci_dev *pdev = ne_devs.ne_pci_dev->pdev; in ne_add_vcpu_ioctl()
923 struct pci_dev *pdev = ne_devs.ne_pci_dev->pdev; in ne_set_user_memory_region_ioctl()
1079 struct pci_dev *pdev = ne_devs.ne_pci_dev->pdev; in ne_start_enclave_ioctl()
1450 struct ne_pci_dev *ne_pci_dev) in ne_pci_dev_remove_enclave_entry() argument
1456 &ne_pci_dev->enclaves_list, enclave_list_entry) { in ne_pci_dev_remove_enclave_entry()
[all …]
Dne_misc_dev.h103 struct ne_pci_dev *ne_pci_dev; member
DMakefile9 nitro_enclaves-y := ne_pci_dev.o ne_misc_dev.o
Dne_pci_dev.h295 struct ne_pci_dev { struct