Searched refs:wrote (Results 1 – 2 of 2) sorted by relevance
| /subsys/usb/device/class/ |
| A D | cdc_acm.c | 303 size_t wrote; in cdc_acm_read_cb() local 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 1036 wrote = ring_buf_put(dev_data->tx_ringbuf, &c, 1); in cdc_acm_poll_out() [all …]
|
| /subsys/usb/device_next/class/ |
| A D | usbd_cdc_acm.c | 993 uint32_t wrote; in cdc_acm_poll_out() local 997 wrote = ring_buf_put(data->tx_fifo.rb, &c, 1); in cdc_acm_poll_out() 1000 if (wrote == 1) { in cdc_acm_poll_out()
|
Completed in 16 milliseconds