Lines Matching refs:ToRecv
305 int ToRecv, wRecv, space; in rp_do_receive() local
308 ToRecv = sGetRxCnt(cp); in rp_do_receive()
310 printk(KERN_INFO "rp_do_receive(%d)...\n", ToRecv); in rp_do_receive()
312 if (ToRecv == 0) in rp_do_receive()
340 while (ToRecv) { in rp_do_receive()
350 ToRecv--; in rp_do_receive()
366 ToRecv--; in rp_do_receive()
385 space = tty_prepare_flip_string(&info->port, &cbuf, ToRecv); in rp_do_receive()
386 if (space < ToRecv) { in rp_do_receive()
388 printk(KERN_INFO "rp_do_receive:insufficient space ToRecv=%d space=%d\n", ToRecv, space); in rp_do_receive()
392 ToRecv = space; in rp_do_receive()
394 wRecv = ToRecv >> 1; in rp_do_receive()
397 if (ToRecv & 1) in rp_do_receive()
398 cbuf[ToRecv - 1] = sInB(sGetTxRxDataIO(cp)); in rp_do_receive()