Searched refs:hc_uart (Results 1 – 1 of 1) sorted by relevance
| /subsys/mgmt/ec_host_cmd/backends/ |
| A D | ec_host_cmd_backend_uart.c | 129 uart_rx_disable(hc_uart->uart_dev); in rx_timeout() 130 uart_rx_enable(hc_uart->uart_dev, hc_uart->rx_ctx->buf, hc_uart->rx_buf_size, 0); in rx_timeout() 143 hc_uart->rx_ctx->len = 0; in uart_callback() 168 hc_uart->rx_ctx->len = new_len; in uart_callback() 237 hc_uart->rx_ctx = rx_ctx; in ec_host_cmd_uart_init() 238 hc_uart->tx_buf = tx; in ec_host_cmd_uart_init() 249 uart_callback_set(hc_uart->uart_dev, uart_callback, hc_uart); in ec_host_cmd_uart_init() 250 ret = uart_rx_enable(hc_uart->uart_dev, hc_uart->rx_ctx->buf, hc_uart->rx_buf_size, 0); in ec_host_cmd_uart_init() 272 uart_rx_enable(hc_uart->uart_dev, hc_uart->rx_ctx->buf, hc_uart->rx_buf_size, 0); in ec_host_cmd_uart_send() 277 ret = uart_tx(hc_uart->uart_dev, hc_uart->tx_buf->buf, hc_uart->tx_buf->len, in ec_host_cmd_uart_send() [all …]
|
Completed in 3 milliseconds