Lines Matching defs:wptr
140 * wptr is next byte to write
142 int wptr;
144 * rptr is next byte to read, == wptr means empty
915 port->wptr = 0;
1033 new_wptr = (port->wptr + 1) % BUFSIZ;
1047 port->buf[port->wptr] = byte;
1048 port->wptr = new_wptr;
1185 ret = port->rptr != port->wptr;
1192 if (port->rptr != port->wptr) {
1218 if (port->rptr != port->wptr)
1248 if (port->rptr != port->wptr) {
1429 if (port->wptr != port->rptr)
1435 if (port->wptr != port->rptr)