Home
last modified time | relevance | path

Searched refs:wrote (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/samples/drivers/spi_bitbang/
DREADME.rst39 wrote 0101 00ff 00a5 0000 0102
45 wrote 0101 00ff 00a5 0000 0102
51 wrote 0101 00ff 00a5 0000 0102
/Zephyr-latest/samples/net/wpan_serial/src/
Dmain.c375 int wrote; in try_write() local
378 wrote = uart_fifo_fill(uart_dev, data, len); in try_write()
379 if (wrote <= 0) { in try_write()
380 return wrote; in try_write()
383 len -= wrote; in try_write()
384 data += wrote; in try_write()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c303 size_t wrote; in cdc_acm_read_cb() local
312 wrote = ring_buf_put(dev_data->rx_ringbuf, dev_data->rx_buf, size); in cdc_acm_read_cb()
313 if (wrote < size) { in cdc_acm_read_cb()
314 LOG_ERR("Ring buffer full, drop %zd bytes", size - wrote); in cdc_acm_read_cb()
526 size_t wrote; in cdc_acm_fifo_fill() local
532 wrote = ring_buf_put(dev_data->tx_ringbuf, tx_data, len); in cdc_acm_fifo_fill()
534 LOG_DBG("Wrote %zu of %d bytes to TX ringbuffer", wrote, len); in cdc_acm_fifo_fill()
536 if (wrote) { in cdc_acm_fifo_fill()
541 return wrote; in cdc_acm_fifo_fill()
1030 uint32_t wrote; in cdc_acm_poll_out() local
[all …]
/Zephyr-latest/drivers/serial/
Duart_bt.c161 size_t wrote; in uart_bt_fifo_fill() local
163 wrote = ring_buf_put(dev_data->uart.tx_ringbuf, tx_data, len); in uart_bt_fifo_fill()
164 if (wrote < len) { in uart_bt_fifo_fill()
165 LOG_WRN("Ring buffer full, drop %zd bytes", len - wrote); in uart_bt_fifo_fill()
172 return wrote; in uart_bt_fifo_fill()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c900 uint32_t wrote; in cdc_acm_poll_out() local
904 wrote = ring_buf_put(data->tx_fifo.rb, &c, 1); in cdc_acm_poll_out()
907 if (wrote == 1) { in cdc_acm_poll_out()
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/
DREADME.rst52 wrote sync 0: 1563516001 0 at 1000