Searched refs:cmd_iu (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c1078 struct command_iu *cmd_iu = cmdbuf; usbg_submit_command() local
1086 if (cmd_iu->iu_id != IU_ID_COMMAND) { usbg_submit_command()
1087 pr_err("Unsupported type %d\n", cmd_iu->iu_id); usbg_submit_command()
1102 cmd_len = (cmd_iu->len & ~0x3) + 16; usbg_submit_command()
1106 memcpy(cmd->cmd_buf, cmd_iu->cdb, cmd_len); usbg_submit_command()
1108 cmd->tag = be16_to_cpup(&cmd_iu->tag); usbg_submit_command()
1127 switch (cmd_iu->prio_attr & 0x7) { usbg_submit_command()
1139 cmd_iu->prio_attr); usbg_submit_command()
1146 cmd->unpacked_lun = scsilun_to_int(&cmd_iu->lun); usbg_submit_command()
/linux-4.4.14/drivers/scsi/isci/
H A Drequest.c173 struct ssp_cmd_iu *cmd_iu; sci_io_request_build_ssp_command_iu() local
176 cmd_iu = &ireq->ssp.cmd; sci_io_request_build_ssp_command_iu()
178 memcpy(cmd_iu->LUN, task->ssp_task.LUN, 8); sci_io_request_build_ssp_command_iu()
179 cmd_iu->add_cdb_len = 0; sci_io_request_build_ssp_command_iu()
180 cmd_iu->_r_a = 0; sci_io_request_build_ssp_command_iu()
181 cmd_iu->_r_b = 0; sci_io_request_build_ssp_command_iu()
182 cmd_iu->en_fburst = 0; /* unsupported */ sci_io_request_build_ssp_command_iu()
183 cmd_iu->task_prio = task->ssp_task.task_prio; sci_io_request_build_ssp_command_iu()
184 cmd_iu->task_attr = task->ssp_task.task_attr; sci_io_request_build_ssp_command_iu()
185 cmd_iu->_r_c = 0; sci_io_request_build_ssp_command_iu()
187 sci_swab32_cpy(&cmd_iu->cdb, task->ssp_task.cmd->cmnd, sci_io_request_build_ssp_command_iu()

Completed in 148 milliseconds