Lines Matching refs:txlen
313 u32 txlen = 0; in ctrlreq_out_data_phase() local
319 while (txlen < len) { in ctrlreq_out_data_phase()
321 nextlen = ((len-txlen) > maxpktsize) ? maxpktsize : (len-txlen); in ctrlreq_out_data_phase()
324 write_fifo(MUSB_CONTROL_EP, txlen, &txbuff[txlen]); in ctrlreq_out_data_phase()
338 txlen += nextlen; in ctrlreq_out_data_phase()
339 dev->act_len = txlen; in ctrlreq_out_data_phase()
861 u32 txlen = 0; in submit_bulk_msg() local
911 while (txlen < len) { in submit_bulk_msg()
912 nextlen = ((len-txlen) < dev->epmaxpacketout[ep]) ? in submit_bulk_msg()
913 (len-txlen) : dev->epmaxpacketout[ep]; in submit_bulk_msg()
917 (void *)(((u8 *)buffer) + txlen)); in submit_bulk_msg()
928 dev->act_len = txlen; in submit_bulk_msg()
931 txlen += nextlen; in submit_bulk_msg()
950 while (txlen < len) { in submit_bulk_msg()
951 nextlen = ((len-txlen) < dev->epmaxpacketin[ep]) ? in submit_bulk_msg()
952 (len-txlen) : dev->epmaxpacketin[ep]; in submit_bulk_msg()
965 dev->act_len = txlen; in submit_bulk_msg()
971 (void *)(((u8 *)buffer) + txlen)); in submit_bulk_msg()
977 txlen += nextlen; in submit_bulk_msg()
1068 u32 txlen = 0; in submit_int_msg() local
1123 while (txlen < len) { in submit_int_msg()
1124 nextlen = ((len-txlen) < dev->epmaxpacketin[ep]) ? in submit_int_msg()
1125 (len-txlen) : dev->epmaxpacketin[ep]; in submit_int_msg()
1138 dev->act_len = txlen; in submit_int_msg()
1144 (void *)(((u8 *)buffer) + txlen)); in submit_int_msg()
1150 txlen += nextlen; in submit_int_msg()