Lines Matching full:written
27 struct ring_buf *written; member
58 return ring_buf_space_get(data->written) != 0; in is_irq_tx_pending()
133 int available = ring_buf_space_get(data->written); in irq_tx_ready()
164 uint32_t write_len = ring_buf_put(data->written, tx_data, size); in fifo_fill()
206 if (data == NULL || data->written == NULL) { in serial_vnd_poll_out()
209 ring_buf_put(data->written, &c, 1); in serial_vnd_poll_out()
251 if (data == NULL || data->written == NULL) { in serial_vnd_out_data_size_get()
254 return ring_buf_size_get(data->written); in serial_vnd_out_data_size_get()
261 if (data == NULL || data->written == NULL) { in serial_vnd_read_out_data()
264 return ring_buf_get(data->written, out_data, size); in serial_vnd_read_out_data()
271 if (data == NULL || data->written == NULL) { in serial_vnd_peek_out_data()
274 return ring_buf_peek(data->written, out_data, size); in serial_vnd_peek_out_data()
346 write_len = ring_buf_put(data->written, tx_data, len); in serial_vnd_api_tx()
459 .written = &written_data_##n, \