Home
last modified time | relevance | path

Searched refs:RX_BUF_L (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.h182 #define RX_BUF_L 4096 /* dma rx buffer length */ macro
183 #define RX_BUF_P (RX_BUF_L / 2) /* dma rx buffer period */
184 #define TX_BUF_L RX_BUF_L /* dma tx buffer length */
H A Dstm32-usart.c450 dma_start = stm32_port->rx_buf + (RX_BUF_L - stm32_port->last_res); in stm32_usart_push_buffer_dma()
467 stm32_port->last_res = RX_BUF_L; in stm32_usart_push_buffer_dma()
571 stm32_port->last_res = RX_BUF_L; in stm32_usart_rx_dma_start_or_resume()
575 RX_BUF_L, RX_BUF_P, in stm32_usart_rx_dma_start_or_resume()
1628 stm32_ports[id].last_res = RX_BUF_L; in stm32_usart_of_get_port()
1647 dma_free_coherent(&pdev->dev, RX_BUF_L, stm32port->rx_buf, in stm32_usart_of_dma_rx_remove()
1660 stm32port->rx_buf = dma_alloc_coherent(dev, RX_BUF_L, in stm32_usart_of_dma_rx_probe()