Lines Matching refs:iu
545 struct sense_iu *iu = &cmd->sense_iu; in uasp_prepare_status() local
549 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status()
550 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status()
555 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); in uasp_prepare_status()
556 iu->status = se_cmd->scsi_status; in uasp_prepare_status()
559 stream->req_status->buf = iu; in uasp_prepare_status()
618 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_status_response() local
620 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response()
632 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_read_response() local
637 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
652 iu->iu_id = IU_ID_READ_READY; in uasp_send_read_response()
653 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
659 stream->req_status->buf = iu; in uasp_send_read_response()
660 stream->req_status->length = sizeof(struct iu); in uasp_send_read_response()
676 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_write_request() local
682 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
695 iu->iu_id = IU_ID_WRITE_READY; in uasp_send_write_request()
696 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
702 stream->req_status->buf = iu; in uasp_send_write_request()
703 stream->req_status->length = sizeof(struct iu); in uasp_send_write_request()