Lines Matching defs:readp
51 /* readp writep */
53 /* If the application keeps up the pace readp will be right after writep.*/
55 /* The idea is that readp should be ready with the data pointed out by */
58 /* the rest of the data pointed out by Descr1 and set readp to the start */
106 volatile unsigned char *volatile readp;
315 port->readp = port->flip;
390 start = (unsigned char*)port->readp; /* cast away volatile */
410 start = (unsigned char*)port->readp; /* cast away volatile */
1112 DEBUGREAD(printk("R%d c %d ri %lu wi %lu /%lu\n", dev, count, port->readp - port->flip, port->writep - port->flip, port->in_buffer_size));
1131 start = (unsigned char*)port->readp; /* cast away volatile */
1145 start = (unsigned char*)port->readp; /* cast away volatile */
1161 /* Disable interrupts while updating readp */
1163 port->readp += count;
1164 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */
1165 port->readp = port->flip;
1445 if (port->writep == port->readp)
1517 if (port->writep == port->readp) {
1520 port->readp++;
1521 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */
1522 port->readp = port->flip;