Home
last modified time | relevance | path

Searched refs:next_buf (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/
Dmain.c156 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/
Dusbd_ch9.c1086 struct net_buf *next_buf = buf; in spool_data_out() local
1089 while (next_buf) { in spool_data_out()
1090 LOG_INF("spool %p", next_buf); in spool_data_out()
1091 next_buf = net_buf_frag_del(NULL, next_buf); in spool_data_out()
1092 if (next_buf) { in spool_data_out()
1093 bi = udc_get_buf_info(next_buf); in spool_data_out()
1095 return next_buf; in spool_data_out()
1133 struct net_buf *next_buf; in usbd_handle_ctrl_xfer() local
1142 next_buf = net_buf_frag_del(NULL, buf); in usbd_handle_ctrl_xfer()
1143 if (next_buf == NULL) { in usbd_handle_ctrl_xfer()
[all …]
/Zephyr-latest/drivers/net/
Dppp.c130 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/
Duart_nrfx_uarte.c166 uint8_t *next_buf; member
1060 async_rx->next_buf = NULL; in uarte_nrfx_rx_enable()
1157 } else if (async_rx->next_buf == NULL) { in uarte_nrfx_rx_buf_rsp()
1169 async_rx->next_buf = buf; in uarte_nrfx_rx_buf_rsp()
1224 if (async_rx->next_buf != NULL) { in uarte_nrfx_rx_disable()
1478 async_rx->buf = async_rx->next_buf; in endrx_isr()
1483 async_rx->next_buf = NULL; in endrx_isr()
/Zephyr-latest/tests/drivers/uart/uart_async_api/src/
Dtest_uart_async.c447 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()