Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c751 bh->inreq->length = 0; in do_read()
782 bh->inreq->length = nread; in do_read()
796 bh->inreq->zero = 0; in do_read()
797 START_TRANSFER_OR(common, bulk_in, bh->inreq, in do_read()
1418 u32 nkeep = bh->inreq->length; in pad_with_zeros()
1435 bh->inreq->length = nsend; in pad_with_zeros()
1436 bh->inreq->zero = 0; in pad_with_zeros()
1437 start_transfer(fsg, fsg->bulk_in, bh->inreq, in pad_with_zeros()
1533 bh->inreq->zero = 0; in finish_reply()
1534 START_TRANSFER_OR(common, bulk_in, bh->inreq, in finish_reply()
[all …]
H A Dstorage_common.c338 struct usb_request *inreq; member
/openbmc/linux/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.c3685 struct sctp_strreset_inreq inreq; in sctp_make_strreset_req() local
3690 inlen = (sizeof(inreq) + stream_len) * in; in sctp_make_strreset_req()
3710 inreq.param_hdr.type = SCTP_PARAM_RESET_IN_REQUEST; in sctp_make_strreset_req()
3711 inreq.param_hdr.length = htons(inlen); in sctp_make_strreset_req()
3712 inreq.request_seq = htonl(asoc->strreset_outseq + out); in sctp_make_strreset_req()
3714 sctp_addto_chunk(retval, sizeof(inreq), &inreq); in sctp_make_strreset_req()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c553 rc = start_transfer(common->fsg, common->fsg->bulk_in, bh->inreq); in start_in_transfer()
677 bh->inreq->length = 0; in do_read()
708 bh->inreq->length = nread; in do_read()
724 bh->inreq->zero = 0; in do_read()
1599 bh->inreq->zero = 0; in finish_reply()
1612 bh->inreq->zero = 1; in finish_reply()
1706 bh->inreq->length = US_BULK_CS_WRAP_LEN; in send_status()
1707 bh->inreq->zero = 0; in send_status()
2171 bh->inreq->length = reply; in do_scsi_command()
2318 if (bh->inreq) { in do_set_interface()
[all …]
H A Dstorage_common.h155 struct usb_request *inreq; member