Searched refs:UART_DMA_RING_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/drivers/hdf_core/adapter/platform/uart/ |
H A D | uart_bes.c | 29 #define UART_DMA_RING_BUFFER_SIZE 256 // mast be 2^n macro 34 static SRAM_BSS_LOC unsigned char g_halUartBuf[UART_DMA_RING_BUFFER_SIZE]; 35 static SRAM_BSS_LOC unsigned char g_halUart1Buf[UART_DMA_RING_BUFFER_SIZE]; 40 static __SRAMBSS unsigned char g_halUartBuf[UART_DMA_RING_BUFFER_SIZE]; 41 static __SRAMBSS unsigned char g_halUart1Buf[UART_DMA_RING_BUFFER_SIZE]; 42 static __SRAMBSS unsigned char g_halUart2Buf[UART_DMA_RING_BUFFER_SIZE]; 97 …hal_uart_dma_recv_mask(uartId, g_uartCtx[uartId].buffer, UART_DMA_RING_BUFFER_SIZE, &dmaDescRx, &d… in HalUartStartDmaRx() 133 …(void)memset_s(g_uartCtx[HAL_UART_ID_0].buffer, UART_DMA_RING_BUFFER_SIZE, 0, UART_DMA_RING_BUFFER… in UartDmaRxHandler() 156 …(void)memset_s(g_uartCtx[HAL_UART_ID_1].buffer, UART_DMA_RING_BUFFER_SIZE, 0, UART_DMA_RING_BUFFER… in Uart1DmaRxHandler() 179 …(void)memset_s(g_uartCtx[HAL_UART_ID_2].buffer, UART_DMA_RING_BUFFER_SIZE, 0, UART_DMA_RING_BUFFER… in Uart2DmaRxHandler()
|
H A D | uart_stm32f4xx.c | 29 #define UART_DMA_RING_BUFFER_SIZE 256 // mast be 2^n macro
|