Lines Matching refs:iu
558 struct sense_iu *iu = &cmd->sense_iu; in uasp_prepare_status() local
562 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status()
563 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status()
568 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); in uasp_prepare_status()
569 iu->status = se_cmd->scsi_status; in uasp_prepare_status()
572 stream->req_status->buf = iu; in uasp_prepare_status()
631 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_status_response() local
633 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response()
645 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_read_response() local
650 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
665 iu->iu_id = IU_ID_READ_READY; in uasp_send_read_response()
666 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
672 stream->req_status->buf = iu; in uasp_send_read_response()
673 stream->req_status->length = sizeof(struct iu); in uasp_send_read_response()
689 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_write_request() local
695 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
708 iu->iu_id = IU_ID_WRITE_READY; in uasp_send_write_request()
709 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
715 stream->req_status->buf = iu; in uasp_send_write_request()
716 stream->req_status->length = sizeof(struct iu); in uasp_send_write_request()