Lines Matching defs:readp
49 /* readp writep */
51 /* If the application keeps up the pace readp will be right after writep.*/
53 /* The idea is that readp should be ready with the data pointed out by */
56 /* the rest of the data pointed out by Descr1 and set readp to the start */
132 volatile unsigned char *volatile readp;
356 port->readp = port->flip;
407 start = (unsigned char *)port->readp; /* cast away volatile */
426 start = (unsigned char *)port->readp; /* cast away volatile */
1092 dev, count, port->readp - port->flip,
1109 start = (unsigned char *)port->readp; /* cast away volatile */
1122 start = (unsigned char *)port->readp; /* cast away volatile */
1138 /* Disable interrupts while updating readp */
1140 port->readp += count;
1141 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */
1142 port->readp = port->flip;
1336 if (port->writep == port->readp)
1406 if (port->writep == port->readp) {
1408 port->readp++;
1410 if (port->readp >= port->flip +
1412 port->readp = port->flip;