Searched hist:"7 f28bcea824e4fb192214c6121161053efe738a8" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | stm32-usart.h | diff 7f28bcea824e4fb192214c6121161053efe738a8 Tue Aug 08 11:19:04 CDT 2023 Valentin Caron <valentin.caron@foss.st.com> serial: stm32: group dma pause/resume error handling into single function
Create new function "stm32_usart_dma_pause_resume" that called dmaengine_ pause/resume and in case of error, terminate dma transaction.
Two other functions are created to facilitate the use of stm32_usart_dma _pause_resume : stm32_usart_tx_dma_pause, stm32_usart_tx_dma_resume. Equivalent functions for rx will be added in future patch.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Link: https://lore.kernel.org/r/20230808161906.178996-5-valentin.caron@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | stm32-usart.c | diff 7f28bcea824e4fb192214c6121161053efe738a8 Tue Aug 08 11:19:04 CDT 2023 Valentin Caron <valentin.caron@foss.st.com> serial: stm32: group dma pause/resume error handling into single function
Create new function "stm32_usart_dma_pause_resume" that called dmaengine_ pause/resume and in case of error, terminate dma transaction.
Two other functions are created to facilitate the use of stm32_usart_dma _pause_resume : stm32_usart_tx_dma_pause, stm32_usart_tx_dma_resume. Equivalent functions for rx will be added in future patch.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Link: https://lore.kernel.org/r/20230808161906.178996-5-valentin.caron@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|