Home
last modified time | relevance | path

Searched refs:inreq (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c753 bh->inreq->length = 0; in do_read()
784 bh->inreq->length = nread; in do_read()
798 bh->inreq->zero = 0; in do_read()
799 START_TRANSFER_OR(common, bulk_in, bh->inreq, in do_read()
1425 u32 nkeep = bh->inreq->length; in pad_with_zeros()
1442 bh->inreq->length = nsend; in pad_with_zeros()
1443 bh->inreq->zero = 0; in pad_with_zeros()
1444 start_transfer(fsg, fsg->bulk_in, bh->inreq, in pad_with_zeros()
1540 bh->inreq->zero = 0; in finish_reply()
1541 START_TRANSFER_OR(common, bulk_in, bh->inreq, in finish_reply()
[all …]
H A Df_rockusb.c170 bh->inreq->complete = __do_reset; in rkusb_do_reset()
647 bh->inreq->length = common->data_size; in rkusb_do_vs_read()
H A Dstorage_common.c339 struct usb_request *inreq; member
/OK3568_Linux_fs/kernel/net/sctp/
H A Dstream.c610 struct sctp_strreset_inreq *inreq = param.v; in sctp_process_strreset_inreq() local
618 request_seq = ntohl(inreq->request_seq); in sctp_process_strreset_inreq()
640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); in sctp_process_strreset_inreq()
641 str_p = inreq->list_of_streams; in sctp_process_strreset_inreq()
975 struct sctp_strreset_inreq *inreq; in sctp_process_strreset_resp() local
982 inreq = (struct sctp_strreset_inreq *)req; in sctp_process_strreset_resp()
983 str_p = inreq->list_of_streams; in sctp_process_strreset_resp()
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
H A Dsm_make_chunk.c3647 struct sctp_strreset_inreq inreq; in sctp_make_strreset_req() local
3652 inlen = (sizeof(inreq) + stream_len) * in; in sctp_make_strreset_req()
3672 inreq.param_hdr.type = SCTP_PARAM_RESET_IN_REQUEST; in sctp_make_strreset_req()
3673 inreq.param_hdr.length = htons(inlen); in sctp_make_strreset_req()
3674 inreq.request_seq = htonl(asoc->strreset_outseq + out); in sctp_make_strreset_req()
3676 sctp_addto_chunk(retval, sizeof(inreq), &inreq); in sctp_make_strreset_req()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c581 if (start_transfer(common->fsg, common->fsg->bulk_in, bh->inreq)) in start_in_transfer()
688 bh->inreq->length = 0; in do_read()
719 bh->inreq->length = nread; in do_read()
735 bh->inreq->zero = 0; in do_read()
1581 bh->inreq->zero = 0; in finish_reply()
1594 bh->inreq->zero = 1; in finish_reply()
1688 bh->inreq->length = US_BULK_CS_WRAP_LEN; in send_status()
1689 bh->inreq->zero = 0; in send_status()
2112 bh->inreq->length = reply; in do_scsi_command()
2259 if (bh->inreq) { in do_set_interface()
[all …]
H A Dstorage_common.h155 struct usb_request *inreq; member