Home
last modified time | relevance | path

Searched refs:nextlen (Results 1 – 3 of 3) 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/linux/lib/zlib_deflate/
H A Ddeftree.c581 int nextlen = tree[0].Len; /* length of next code */ in scan_tree() local
586 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree()
590 curlen = nextlen; nextlen = tree[n+1].Len; in scan_tree()
591 if (++count < max_count && curlen == nextlen) { in scan_tree()
604 if (nextlen == 0) { in scan_tree()
606 } else if (curlen == nextlen) { in scan_tree()
627 int nextlen = tree[0].Len; /* length of next code */ in send_tree() local
633 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree()
636 curlen = nextlen; nextlen = tree[n+1].Len; in send_tree()
637 if (++count < max_count && curlen == nextlen) { in send_tree()
[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 …]