Lines Matching refs:iu
546 struct sense_iu *iu = &cmd->sense_iu; in uasp_prepare_status() local
550 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status()
551 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status()
556 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); in uasp_prepare_status()
557 iu->status = se_cmd->scsi_status; in uasp_prepare_status()
561 stream->req_status->buf = iu; in uasp_prepare_status()
620 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_status_response() local
622 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response()
634 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_read_response() local
639 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
654 iu->iu_id = IU_ID_READ_READY; in uasp_send_read_response()
655 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
661 stream->req_status->buf = iu; in uasp_send_read_response()
662 stream->req_status->length = sizeof(struct iu); in uasp_send_read_response()
678 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_write_request() local
684 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
697 iu->iu_id = IU_ID_WRITE_READY; in uasp_send_write_request()
698 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
704 stream->req_status->buf = iu; in uasp_send_write_request()
705 stream->req_status->length = sizeof(struct iu); in uasp_send_write_request()