Searched refs:wr_ptr (Results 1 – 2 of 2) sorted by relevance
225 upriv->buf[upriv->wr_ptr++] = __serial_getc(dev); in _serial_tstc()226 upriv->wr_ptr %= CONFIG_SERIAL_RX_BUFFER_SIZE; in _serial_tstc()229 return upriv->rd_ptr != upriv->wr_ptr ? 1 : 0; in _serial_tstc()237 if (upriv->rd_ptr == upriv->wr_ptr) in _serial_getc()
279 int wr_ptr; member