Lines Matching refs:req_status
519 usb_ep_free_request(fu->ep_status, stream->req_status); in uasp_cleanup_one_stream()
523 stream->req_status = NULL; in uasp_cleanup_one_stream()
606 stream->req_status->is_last = 1; in uasp_prepare_status()
607 stream->req_status->stream_id = cmd->tag; in uasp_prepare_status()
608 stream->req_status->context = cmd; in uasp_prepare_status()
609 stream->req_status->length = se_cmd->scsi_sense_length + 16; in uasp_prepare_status()
610 stream->req_status->buf = iu; in uasp_prepare_status()
611 stream->req_status->complete = uasp_status_data_cmpl; in uasp_prepare_status()
658 stream->req_status->is_last = 1; in uasp_prepare_response()
659 stream->req_status->stream_id = cmd->tag; in uasp_prepare_response()
660 stream->req_status->context = cmd; in uasp_prepare_response()
661 stream->req_status->length = sizeof(struct response_iu); in uasp_prepare_response()
662 stream->req_status->buf = rsp_iu; in uasp_prepare_response()
663 stream->req_status->complete = uasp_status_data_cmpl; in uasp_prepare_response()
700 ret = usb_ep_queue(fu->ep_status, stream->req_status, in uasp_status_data_cmpl()
759 return usb_ep_queue(fu->ep_status, stream->req_status, GFP_ATOMIC); in uasp_send_status_response()
771 return usb_ep_queue(fu->ep_status, stream->req_status, GFP_ATOMIC); in uasp_send_tm_response()
801 stream->req_status->complete = uasp_status_data_cmpl; in uasp_send_read_response()
802 stream->req_status->context = cmd; in uasp_send_read_response()
805 stream->req_status->buf = iu; in uasp_send_read_response()
806 stream->req_status->length = sizeof(struct iu); in uasp_send_read_response()
808 ret = usb_ep_queue(fu->ep_status, stream->req_status, in uasp_send_read_response()
843 stream->req_status->complete = uasp_status_data_cmpl; in uasp_send_write_request()
844 stream->req_status->context = cmd; in uasp_send_write_request()
847 stream->req_status->buf = iu; in uasp_send_write_request()
848 stream->req_status->length = sizeof(struct iu); in uasp_send_write_request()
850 ret = usb_ep_queue(fu->ep_status, stream->req_status, in uasp_send_write_request()
889 stream->req_status = usb_ep_alloc_request(fu->ep_status, GFP_KERNEL); in uasp_alloc_stream_res()
890 if (!stream->req_status) in uasp_alloc_stream_res()
1606 else if (stream->req_status->status == -EINPROGRESS) in usbg_aborted_task()
1607 ret = usb_ep_dequeue(fu->ep_status, stream->req_status); in usbg_aborted_task()