Searched refs:rpos (Results 1 – 1 of 1) sorted by relevance
1093 int rpos = 0, rcount = p->len; in serial_fd_receive() local1099 while (rpos < rcount) in serial_fd_receive()1101 int avail = rcount - rpos; in serial_fd_receive()1109 memcpy( inp->data + inpos, p->data + rpos, avail ); in serial_fd_receive()1111 rpos += avail; in serial_fd_receive()1134 memcpy( inp->data + inpos, p->data + rpos, avail ); in serial_fd_receive()1136 rpos += avail; in serial_fd_receive()