Lines Matching refs:txlen
315 u32 txlen = 0; in ctrlreq_out_data_phase() local
321 while (txlen < len) { in ctrlreq_out_data_phase()
323 nextlen = ((len-txlen) > maxpktsize) ? maxpktsize : (len-txlen); in ctrlreq_out_data_phase()
326 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()
857 u32 txlen = 0; in submit_bulk_msg() local
907 while (txlen < len) { in submit_bulk_msg()
908 nextlen = ((len-txlen) < dev->epmaxpacketout[ep]) ? in submit_bulk_msg()
909 (len-txlen) : dev->epmaxpacketout[ep]; in submit_bulk_msg()
913 (void *)(((u8 *)buffer) + txlen)); in submit_bulk_msg()
924 dev->act_len = txlen; in submit_bulk_msg()
927 txlen += nextlen; in submit_bulk_msg()
946 while (txlen < len) { in submit_bulk_msg()
947 nextlen = ((len-txlen) < dev->epmaxpacketin[ep]) ? in submit_bulk_msg()
948 (len-txlen) : dev->epmaxpacketin[ep]; in submit_bulk_msg()
961 dev->act_len = txlen; in submit_bulk_msg()
967 (void *)(((u8 *)buffer) + txlen)); in submit_bulk_msg()
973 txlen += nextlen; in submit_bulk_msg()
1064 u32 txlen = 0; in submit_int_msg() local
1119 while (txlen < len) { in submit_int_msg()
1120 nextlen = ((len-txlen) < dev->epmaxpacketin[ep]) ? in submit_int_msg()
1121 (len-txlen) : dev->epmaxpacketin[ep]; in submit_int_msg()
1134 dev->act_len = txlen; in submit_int_msg()
1140 (void *)(((u8 *)buffer) + txlen)); in submit_int_msg()
1146 txlen += nextlen; in submit_int_msg()