Lines Matching refs:iu
552 struct sense_iu *iu = &cmd->sense_iu; in uasp_prepare_status() local
556 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status()
557 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status()
562 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); in uasp_prepare_status()
563 iu->status = se_cmd->scsi_status; in uasp_prepare_status()
566 stream->req_status->buf = iu; in uasp_prepare_status()
625 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_status_response() local
627 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response()
639 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_read_response() local
644 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
659 iu->iu_id = IU_ID_READ_READY; in uasp_send_read_response()
660 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
666 stream->req_status->buf = iu; in uasp_send_read_response()
667 stream->req_status->length = sizeof(struct iu); in uasp_send_read_response()
683 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_write_request() local
689 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
702 iu->iu_id = IU_ID_WRITE_READY; in uasp_send_write_request()
703 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
709 stream->req_status->buf = iu; in uasp_send_write_request()
710 stream->req_status->length = sizeof(struct iu); in uasp_send_write_request()