Searched refs:claim_buf (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 41 uint8_t *claim_buf; in ZTEST() local 60 claim_len = uart_async_rx_data_claim(&async_rx, &claim_buf, 1); in ZTEST() 67 claim_len = uart_async_rx_data_claim(&async_rx, &claim_buf, 1); in ZTEST() 69 zassert_equal(claim_buf, aloc_buf); in ZTEST() 70 zassert_true(mem_check(claim_buf, 0, 1)); in ZTEST() 73 claim_len = uart_async_rx_data_claim(&async_rx, &claim_buf, 100); in ZTEST() 75 zassert_equal(claim_buf, aloc_buf); in ZTEST() 76 zassert_true(mem_check(claim_buf, 0, aloc_len - 4)); in ZTEST() 85 claim_len = uart_async_rx_data_claim(&async_rx, &claim_buf, 100); in ZTEST() 87 zassert_equal(claim_buf, aloc_buf); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_async_to_irq.c | 197 uint8_t *claim_buf; in z_uart_async_to_irq_fifo_read() local 199 claim_len = uart_async_rx_data_claim(async_rx, &claim_buf, len); in z_uart_async_to_irq_fifo_read() 204 memcpy(buf, claim_buf, claim_len); in z_uart_async_to_irq_fifo_read()
|