Searched refs:rx_dma_rng_buf_len (Results 1 – 1 of 1) sorted by relevance
268 int rx_dma_rng_buf_len; member1159 sport->rx_dma_rng_buf_len = (DMA_RX_TIMEOUT * baud / bits / 1000) * 2; in lpuart_start_rx_dma()1160 sport->rx_dma_rng_buf_len = (1 << (fls(sport->rx_dma_rng_buf_len) - 1)); in lpuart_start_rx_dma()1161 if (sport->rx_dma_rng_buf_len < 16) in lpuart_start_rx_dma()1162 sport->rx_dma_rng_buf_len = 16; in lpuart_start_rx_dma()1164 ring->buf = kzalloc(sport->rx_dma_rng_buf_len, GFP_ATOMIC); in lpuart_start_rx_dma()1168 sg_init_one(&sport->rx_sgl, ring->buf, sport->rx_dma_rng_buf_len); in lpuart_start_rx_dma()