Searched refs:next_buf (Results 1 – 6 of 6) sorted by relevance
| /Zephyr-latest/tests/drivers/uart/uart_async_rx/src/ |
| D | main.c | 156 uint8_t *next_buf; member 175 test_data->curr_buf = test_data->next_buf; in producer_no_chunks() 176 test_data->next_buf = NULL; in producer_no_chunks() 184 test_data->next_buf = buf; in producer_no_chunks() 234 } else if (test_data->next_buf == NULL) { in consumer() 235 test_data->next_buf = buf; in consumer() 268 test_data->curr_buf = test_data->next_buf; in producer_in_chunks() 269 test_data->next_buf = NULL; in producer_in_chunks() 277 test_data->next_buf = buf; in producer_in_chunks()
|
| /Zephyr-latest/subsys/usb/device_next/ |
| D | usbd_ch9.c | 1088 struct net_buf *next_buf = buf; in spool_data_out() local 1091 while (next_buf) { in spool_data_out() 1092 LOG_INF("spool %p", next_buf); in spool_data_out() 1093 next_buf = net_buf_frag_del(NULL, next_buf); in spool_data_out() 1094 if (next_buf) { in spool_data_out() 1095 bi = udc_get_buf_info(next_buf); in spool_data_out() 1097 return next_buf; in spool_data_out() 1135 struct net_buf *next_buf; in usbd_handle_ctrl_xfer() local 1144 next_buf = net_buf_frag_del(NULL, buf); in usbd_handle_ctrl_xfer() 1145 if (next_buf == NULL) { in usbd_handle_ctrl_xfer() [all …]
|
| /Zephyr-latest/drivers/net/ |
| D | ppp.c | 130 static uint8_t *next_buf; variable 214 LOG_DBG("UART_RX_BUF_REQUEST: buf %p", (void *)next_buf); in uart_callback() 216 if (next_buf) { in uart_callback() 217 err = uart_rx_buf_rsp(dev, next_buf, sizeof(context->buf)); in uart_callback() 227 next_buf = evt->data.rx_buf.buf; in uart_callback() 228 LOG_DBG("UART_RX_BUF_RELEASED: buf %p", (void *)next_buf); in uart_callback() 256 next_buf = context->buf2; in ppp_async_uart_rx_enable()
|
| /Zephyr-latest/drivers/serial/ |
| D | uart_max32.c | 64 uint8_t *next_buf; member 765 if (data->async.rx.next_buf) { in api_rx_disable() 769 .data.rx_buf.buf = data->async.rx.next_buf, in api_rx_disable() 772 data->async.rx.next_buf = NULL; in api_rx_disable() 815 if (async->rx.next_buf) { in uart_max32_async_rx_callback() 825 async->rx.buf = async->rx.next_buf; in uart_max32_async_rx_callback() 828 async->rx.next_buf = NULL; in uart_max32_async_rx_callback() 921 data->async.rx.next_buf = buf; in api_rx_buf_rsp()
|
| D | uart_nrfx_uarte.c | 180 uint8_t *next_buf; member 1105 async_rx->next_buf = NULL; in uarte_nrfx_rx_enable() 1210 } else if (async_rx->next_buf == NULL) { in uarte_nrfx_rx_buf_rsp() 1222 async_rx->next_buf = buf; in uarte_nrfx_rx_buf_rsp() 1277 if (async_rx->next_buf != NULL) { in uarte_nrfx_rx_disable() 1531 async_rx->buf = async_rx->next_buf; in endrx_isr() 1536 async_rx->next_buf = NULL; in endrx_isr()
|
| /Zephyr-latest/tests/drivers/uart/uart_async_api/src/ |
| D | test_uart_async.c | 447 static ZTEST_DMEM uint8_t *next_buf = double_buffer[1]; variable 461 uart_rx_buf_rsp(dev, next_buf, sizeof(double_buffer[0])); in test_double_buffer_callback() 464 next_buf = evt->data.rx_buf.buf; in test_double_buffer_callback()
|