Lines Matching refs:rx_buf
77 uint8_t *rx_buf; member
402 data->rx_buf = data->rx_buf_next; in uart_emul_async_switch_buf_nolock()
416 uint8_t *rx_buf; in uart_emul_async_rx_timeout_handler() local
426 rx_buf = data->rx_buf; in uart_emul_async_rx_timeout_handler()
438 if (data->rx_buf == NULL) { in uart_emul_async_rx_timeout_handler()
446 if (!rx_en || rx_buf == NULL || rx_buf_data_len == 0) { in uart_emul_async_rx_timeout_handler()
453 .buf = rx_buf, in uart_emul_async_rx_timeout_handler()
464 .data.rx_buf.buf = rx_buf, in uart_emul_async_rx_timeout_handler()
486 uint8_t *rx_buf = NULL; in uart_emul_async_rx_handler() local
493 rx_buf = data->rx_buf; in uart_emul_async_rx_handler()
503 if (rx_buf == NULL) { in uart_emul_async_rx_handler()
505 rx_buf = data->rx_buf; in uart_emul_async_rx_handler()
511 if (rx_buf == NULL) { in uart_emul_async_rx_handler()
525 uint32_t read = ring_buf_get(data->rx_rb, &rx_buf[offset + data_len], in uart_emul_async_rx_handler()
532 data->rx_buf = NULL; in uart_emul_async_rx_handler()
543 if (rx_buf == NULL) { in uart_emul_async_rx_handler()
561 .buf = rx_buf, in uart_emul_async_rx_handler()
571 .data.rx_buf.buf = rx_buf, in uart_emul_async_rx_handler()
670 uint8_t *rx_buf = NULL; in uart_emul_rx_stop() local
680 rx_buf = data->rx_buf; in uart_emul_rx_stop()
684 data->rx_buf = NULL; in uart_emul_rx_stop()
694 if (rx_buf == NULL) { in uart_emul_rx_stop()
702 .buf = rx_buf, in uart_emul_rx_stop()
713 .data.rx_buf.buf = rx_buf, in uart_emul_rx_stop()
839 data->rx_buf = buf; in uart_emul_rx_enable()