Searched hist:d075719e62ae7bc7fed3ff5be365c8c384483f15 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | stm32-usart.h | diff d075719e62ae7bc7fed3ff5be365c8c384483f15 Tue Jun 18 05:02:24 CDT 2019 Erwan Le Ray <erwan.leray@st.com> serial: stm32: add support of TX FIFO threshold
Adds the support of TX FIFO threshold in order to improve the TX FIFO management: - TX FIFO threshold irq enabling (instead of relying on tx empty / fifo not full irq that generates one irq/char) - TXCFG is set to half fifo size (e.g. 16/2 = 8 data for a 16 data depth FIFO) - irq rate may be reduced by up to 1/TXCFG, e.g. 1 over 8 with current TXCFG setting.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | stm32-usart.c | diff d075719e62ae7bc7fed3ff5be365c8c384483f15 Tue Jun 18 05:02:24 CDT 2019 Erwan Le Ray <erwan.leray@st.com> serial: stm32: add support of TX FIFO threshold
Adds the support of TX FIFO threshold in order to improve the TX FIFO management: - TX FIFO threshold irq enabling (instead of relying on tx empty / fifo not full irq that generates one irq/char) - TXCFG is set to half fifo size (e.g. 16/2 = 8 data for a 16 data depth FIFO) - irq rate may be reduced by up to 1/TXCFG, e.g. 1 over 8 with current TXCFG setting.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|