Home
last modified time | relevance | path

Searched refs:cmd_iu (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvme/host/
Dfc.c108 struct nvme_fc_cmd_iu cmd_iu; member
1820 sizeof(op->cmd_iu), DMA_TO_DEVICE); in __nvme_fc_exit_request()
1910 struct nvme_command *sqe = &op->cmd_iu.sqe; in nvme_fc_fcpio_done()
1992 be32_to_cpu(op->cmd_iu.data_len)) { in nvme_fc_fcpio_done()
1998 be32_to_cpu(op->cmd_iu.data_len)); in nvme_fc_fcpio_done()
2069 struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; in __nvme_fc_init_request()
2073 op->fcp_req.cmdaddr = &op->cmd_iu; in __nvme_fc_init_request()
2074 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()
2093 &op->cmd_iu, sizeof(op->cmd_iu), DMA_TO_DEVICE); in __nvme_fc_init_request()
2152 cmdiu = &aen_op->cmd_iu; in nvme_fc_init_aen_ops()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/isci/
Drequest.c173 struct ssp_cmd_iu *cmd_iu; in sci_io_request_build_ssp_command_iu() local
176 cmd_iu = &ireq->ssp.cmd; in sci_io_request_build_ssp_command_iu()
178 memcpy(cmd_iu->LUN, task->ssp_task.LUN, 8); in sci_io_request_build_ssp_command_iu()
179 cmd_iu->add_cdb_len = 0; in sci_io_request_build_ssp_command_iu()
180 cmd_iu->_r_a = 0; in sci_io_request_build_ssp_command_iu()
181 cmd_iu->_r_b = 0; in sci_io_request_build_ssp_command_iu()
182 cmd_iu->en_fburst = 0; /* unsupported */ in sci_io_request_build_ssp_command_iu()
183 cmd_iu->task_prio = task->ssp_task.task_prio; in sci_io_request_build_ssp_command_iu()
184 cmd_iu->task_attr = task->ssp_task.task_attr; in sci_io_request_build_ssp_command_iu()
185 cmd_iu->_r_c = 0; in sci_io_request_build_ssp_command_iu()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_tcm.c1100 struct command_iu *cmd_iu = cmdbuf; in usbg_submit_command() local
1107 if (cmd_iu->iu_id != IU_ID_COMMAND) { in usbg_submit_command()
1108 pr_err("Unsupported type %d\n", cmd_iu->iu_id); in usbg_submit_command()
1118 cmd_len = (cmd_iu->len & ~0x3) + 16; in usbg_submit_command()
1122 scsi_tag = be16_to_cpup(&cmd_iu->tag); in usbg_submit_command()
1128 memcpy(cmd->cmd_buf, cmd_iu->cdb, cmd_len); in usbg_submit_command()
1141 switch (cmd_iu->prio_attr & 0x7) { in usbg_submit_command()
1153 cmd_iu->prio_attr); in usbg_submit_command()
1160 cmd->unpacked_lun = scsilun_to_int(&cmd_iu->lun); in usbg_submit_command()