Home
last modified time | relevance | path

Searched refs:nextlen (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c268 u32 nextlen = 0; in ctrlreq_in_data_phase() local
276 nextlen = ((len-rxlen) > maxpktsize) ? maxpktsize : (len-rxlen); in ctrlreq_in_data_phase()
297 if (rxedlength != nextlen) { in ctrlreq_in_data_phase()
301 rxlen += nextlen; in ctrlreq_in_data_phase()
314 u32 nextlen = 0; in ctrlreq_out_data_phase() local
321 nextlen = ((len-txlen) > maxpktsize) ? maxpktsize : (len-txlen); in ctrlreq_out_data_phase()
338 txlen += nextlen; in ctrlreq_out_data_phase()
862 u32 nextlen = 0; in submit_bulk_msg() local
912 nextlen = ((len-txlen) < dev->epmaxpacketout[ep]) ? in submit_bulk_msg()
916 write_fifo(MUSB_BULK_EP, nextlen, in submit_bulk_msg()
[all …]
/openbmc/u-boot/lib/zlib/
H A Dtrees.c719 int nextlen = tree[0].Len; /* length of next code */ local
724 if (nextlen == 0) max_count = 138, min_count = 3;
728 curlen = nextlen; nextlen = tree[n+1].Len;
729 if (++count < max_count && curlen == nextlen) {
742 if (nextlen == 0) {
744 } else if (curlen == nextlen) {
764 int nextlen = tree[0].Len; /* length of next code */ local
770 if (nextlen == 0) max_count = 138, min_count = 3;
773 curlen = nextlen; nextlen = tree[n+1].Len;
774 if (++count < max_count && curlen == nextlen) {
[all …]