Home
last modified time | relevance | path

Searched refs:rd_len (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/modules/openthread/platform/
Duart.c55 uint32_t rd_len; in uart_rx_handle() local
63 rd_len = uart_fifo_read(dev, data, len); in uart_rx_handle()
64 if (rd_len > 0) { in uart_rx_handle()
69 ot_uart.rx_ringbuf, rd_len); in uart_rx_handle()
78 rd_len = uart_fifo_read(dev, &dummy, 1); in uart_rx_handle()
80 } while (rd_len && (rd_len == len)); in uart_rx_handle()
/Zephyr-Core-3.7.0/subsys/shell/backends/
Dshell_uart.c74 uint32_t rd_len; in uart_rx_handle() local
85 rd_len = uart_fifo_read(dev, data, len); in uart_rx_handle()
91 if (rd_len > 0) { in uart_rx_handle()
98 size_t i = smp_shell_rx_bytes(smp, data, rd_len); in uart_rx_handle()
100 rd_len -= i; in uart_rx_handle()
102 if (rd_len) { in uart_rx_handle()
103 for (uint32_t j = 0; j < rd_len; j++) { in uart_rx_handle()
108 int err = ring_buf_put_finish(&sh_uart->rx_ringbuf, rd_len); in uart_rx_handle()
117 rd_len = uart_fifo_read(dev, &dummy, 1); in uart_rx_handle()
122 if ((rd_len != 0) && (smp_shell_rx_bytes(smp, &dummy, 1) == 1)) { in uart_rx_handle()
[all …]
/Zephyr-Core-3.7.0/drivers/i3c/
Di3c_npcx.c794 size_t rd_len = buf_sz; in npcx_i3c_do_one_xfer_dma() local
815 rd_len /= sizeof(uint16_t); /* byte to word */ in npcx_i3c_do_one_xfer_dma()
816 rd_len += HDR_DDR_CMD_AND_CRC_SZ_WORD; in npcx_i3c_do_one_xfer_dma()
826 ret = npcx_i3c_request_emit_start(inst, addr, op_type, is_read, rd_len); in npcx_i3c_do_one_xfer_dma()