Home
last modified time | relevance | path

Searched refs:cmd_reply (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/virt/nitro_enclaves/
H A Dne_pci_dev.c64 static void ne_retrieve_reply(struct pci_dev *pdev, struct ne_pci_dev_cmd_reply *cmd_reply, in ne_retrieve_reply() argument
69 memcpy_fromio(cmd_reply, ne_pci_dev->iomem_base + NE_RECV_DATA, cmd_reply_size); in ne_retrieve_reply()
101 struct ne_pci_dev_cmd_reply *cmd_reply, size_t cmd_reply_size) in ne_do_request() argument
126 if (!cmd_reply) { in ne_do_request()
158 ne_retrieve_reply(pdev, cmd_reply, cmd_reply_size); in ne_do_request()
162 if (cmd_reply->rc < 0) { in ne_do_request()
163 rc = cmd_reply->rc; in ne_do_request()
216 struct ne_pci_dev_cmd_reply cmd_reply = {}; in ne_event_work_handler() local
245 &cmd_reply, sizeof(cmd_reply)); in ne_event_work_handler()
250 if (ne_enclave->state != cmd_reply.state) { in ne_event_work_handler()
[all …]
H A Dne_misc_dev.c708 struct ne_pci_dev_cmd_reply cmd_reply = {}; in ne_add_vcpu_ioctl() local
721 &cmd_reply, sizeof(cmd_reply)); in ne_add_vcpu_ioctl()
1028 &cmd_reply, sizeof(cmd_reply)); in ne_set_user_memory_region_ioctl()
1075 struct ne_pci_dev_cmd_reply cmd_reply = {}; in ne_start_enclave_ioctl() local
1119 &cmd_reply, sizeof(cmd_reply)); in ne_start_enclave_ioctl()
1477 struct ne_pci_dev_cmd_reply cmd_reply = {}; in ne_enclave_release() local
1507 &cmd_reply, sizeof(cmd_reply)); in ne_enclave_release()
1515 memset(&cmd_reply, 0, sizeof(cmd_reply)); in ne_enclave_release()
1522 &cmd_reply, sizeof(cmd_reply)); in ne_enclave_release()
1676 &cmd_reply, sizeof(cmd_reply)); in ne_create_vm_ioctl()
[all …]
H A Dne_pci_dev.h325 struct ne_pci_dev_cmd_reply *cmd_reply,
/openbmc/linux/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c60 char cmd_reply[DATA_SIZE]; member
139 strscpy(rain->cmd_reply, rain->cmd, in rain_irq_work_handler()
140 sizeof(rain->cmd_reply)); in rain_irq_work_handler()
228 if (reply && strncmp(rain->cmd_reply, reply, strlen(reply))) { in rain_send_and_wait()
231 cmd, rain->cmd_reply, reply); in rain_send_and_wait()
247 dev_info(rain->dev, "Firmware version %s\n", rain->cmd_reply + 4); in rain_setup()