Lines Matching refs:readp
132 volatile unsigned char *volatile readp; member
358 port->readp = port->flip; in initialize_port()
409 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail()
428 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail_to_end()
1115 dev, count, port->readp - port->flip, in sync_serial_read()
1132 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1145 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1163 port->readp += count; in sync_serial_read()
1164 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ in sync_serial_read()
1165 port->readp = port->flip; in sync_serial_read()
1359 if (port->writep == port->readp) in rx_interrupt()
1429 if (port->writep == port->readp) { in manual_interrupt()
1431 port->readp++; in manual_interrupt()
1433 if (port->readp >= port->flip + in manual_interrupt()
1435 port->readp = port->flip; in manual_interrupt()