Searched refs:rx_dma_params (Results 1 – 3 of 3) sorted by relevance
72 struct uart_npcx_rx_dma_params rx_dma_params; member431 struct uart_npcx_rx_dma_params *rx_dma_params = &data->async.rx_dma_params; in async_evt_rx_rdy() local434 .data.rx.buf = rx_dma_params->buf, in async_evt_rx_rdy()435 .data.rx.len = rx_dma_params->counter - rx_dma_params->offset, in async_evt_rx_rdy()436 .data.rx.offset = rx_dma_params->offset}; in async_evt_rx_rdy()442 rx_dma_params->offset = rx_dma_params->counter; in async_evt_rx_rdy()483 struct uart_npcx_rx_dma_params *rx_dma_params = &data->async.rx_dma_params; in uart_npcx_async_rx_flush() local487 curr_rcv_len = rx_dma_params->buf_len - dma_pending_len; in uart_npcx_async_rx_flush()489 if (curr_rcv_len > rx_dma_params->offset) { in uart_npcx_async_rx_flush()490 rx_dma_params->counter = curr_rcv_len; in uart_npcx_async_rx_flush()[all …]
95 struct mcux_lpuart_rx_dma_params rx_dma_params; member459 struct mcux_lpuart_rx_dma_params *dma_params = &data->async.rx_dma_params; in async_evt_rx_rdy()494 .data.rx_buf.buf = data->async.rx_dma_params.buf, in async_evt_rx_buf_release()498 data->async.rx_dma_params.buf = NULL; in async_evt_rx_buf_release()499 data->async.rx_dma_params.buf_len = 0U; in async_evt_rx_buf_release()500 data->async.rx_dma_params.offset = 0U; in async_evt_rx_buf_release()501 data->async.rx_dma_params.counter = 0U; in async_evt_rx_buf_release()515 const size_t rx_rcv_len = data->async.rx_dma_params.buf_len - in mcux_lpuart_async_rx_flush()518 if (rx_rcv_len > data->async.rx_dma_params.counter && status.pending_length) { in mcux_lpuart_async_rx_flush()519 data->async.rx_dma_params.counter = rx_rcv_len; in mcux_lpuart_async_rx_flush()[all …]
318 struct uart_ns16550_rx_dma_params rx_dma_params; member849 k_work_init_delayable(&data->async.rx_dma_params.timeout_work,853 data->async.rx_dma_params.dma_cfg.head_block =854 &data->async.rx_dma_params.active_dma_block;1299 if (dma_status & BIT(dev_data->async.rx_dma_params.dma_channel)) {1300 async_timer_start(&dev_data->async.rx_dma_params.timeout_work,1301 dev_data->async.rx_dma_params.timeout_us);1303 BIT(dev_data->async.rx_dma_params.dma_channel));1306 dma_intel_lpss_isr(dev_data->async.rx_dma_params.dma_dev);1309 async_timer_start(&dev_data->async.rx_dma_params.timeout_work,[all …]