Lines Matching refs:NULL

281   if (husart == NULL)  in HAL_USART_Init()
297 if (husart->MspInitCallback == NULL) in HAL_USART_Init()
343 if (husart == NULL) in HAL_USART_DeInit()
358 if (husart->MspDeInitCallback == NULL) in HAL_USART_DeInit()
436 if (pCallback == NULL) in HAL_USART_RegisterCallback()
755 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit()
781 ptxdata8bits = NULL; in HAL_USART_Transmit()
787 ptxdata16bits = NULL; in HAL_USART_Transmit()
797 if (ptxdata8bits == NULL) in HAL_USART_Transmit()
859 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive()
889 prxdata8bits = NULL; in HAL_USART_Receive()
895 prxdata16bits = NULL; in HAL_USART_Receive()
920 if (prxdata8bits == NULL) in HAL_USART_Receive()
981 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive()
1019 prxdata8bits = NULL; in HAL_USART_TransmitReceive()
1020 ptxdata8bits = NULL; in HAL_USART_TransmitReceive()
1028 ptxdata16bits = NULL; in HAL_USART_TransmitReceive()
1029 prxdata16bits = NULL; in HAL_USART_TransmitReceive()
1039 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1065 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1087 if (prxdata8bits == NULL) in HAL_USART_TransmitReceive()
1131 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_IT()
1148 husart->TxISR = NULL; in HAL_USART_Transmit_IT()
1222 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_IT()
1239 husart->RxISR = NULL; in HAL_USART_Receive_IT()
1342 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_IT()
1465 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_DMA()
1480 if (husart->hdmatx != NULL) in HAL_USART_Transmit_DMA()
1503 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_Transmit_DMA()
1587 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_DMA()
1603 if (husart->hdmarx != NULL) in HAL_USART_Receive_DMA()
1624 … if ((husart->hdmarx->LinkedListQueue != NULL) && (husart->hdmarx->LinkedListQueue->Head != NULL)) in HAL_USART_Receive_DMA()
1660 if (husart->hdmatx != NULL) in HAL_USART_Receive_DMA()
1662 husart->hdmatx->XferErrorCallback = NULL; in HAL_USART_Receive_DMA()
1663 husart->hdmatx->XferHalfCpltCallback = NULL; in HAL_USART_Receive_DMA()
1664 husart->hdmatx->XferCpltCallback = NULL; in HAL_USART_Receive_DMA()
1669 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_Receive_DMA()
1723 if ((husart->hdmarx != NULL) && ((husart->hdmarx->Mode & DMA_LINKEDLIST) != DMA_LINKEDLIST)) in HAL_USART_Receive_DMA()
1770 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_DMA()
1786 if ((husart->hdmarx != NULL) && (husart->hdmatx != NULL)) in HAL_USART_TransmitReceive_DMA()
1817 … if ((husart->hdmarx->LinkedListQueue != NULL) && (husart->hdmarx->LinkedListQueue->Head != NULL)) in HAL_USART_TransmitReceive_DMA()
1852 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_TransmitReceive_DMA()
1913 if ((husart->hdmarx != NULL) && ((husart->hdmarx->Mode & DMA_LINKEDLIST) != DMA_LINKEDLIST)) in HAL_USART_TransmitReceive_DMA()
1955 if (husart->hdmatx != NULL) in HAL_USART_DMAPause()
1959 husart->hdmatx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
1982 husart->hdmarx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
1999 husart->hdmatx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
2039 if (husart->hdmatx != NULL) in HAL_USART_DMAResume()
2064 if (husart->hdmarx != NULL) in HAL_USART_DMAResume()
2078 if (husart->hdmatx != NULL) in HAL_USART_DMAResume()
2120 if (husart->hdmatx != NULL) in HAL_USART_DMAStop()
2134 if (husart->hdmarx != NULL) in HAL_USART_DMAStop()
2179 if (husart->hdmatx != NULL) in HAL_USART_Abort()
2183 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort()
2202 if (husart->hdmarx != NULL) in HAL_USART_Abort()
2206 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort()
2274 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2284 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2288 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2298 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2306 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2314 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2327 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2335 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2408 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2487 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2509 if (husart->hdmatx != NULL) in HAL_USART_IRQHandler()
2513 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_IRQHandler()
2520 if (husart->hdmarx != NULL) in HAL_USART_IRQHandler()
2582 if (husart->TxISR != NULL) in HAL_USART_IRQHandler()
3019 husart->hdmatx->XferAbortCallback = NULL; in USART_DMATxAbortCallback()
3022 if (husart->hdmarx != NULL) in USART_DMATxAbortCallback()
3024 if (husart->hdmarx->XferAbortCallback != NULL) in USART_DMATxAbortCallback()
3067 husart->hdmarx->XferAbortCallback = NULL; in USART_DMARxAbortCallback()
3070 if (husart->hdmatx != NULL) in USART_DMARxAbortCallback()
3072 if (husart->hdmatx->XferAbortCallback != NULL) in USART_DMARxAbortCallback()
3249 husart->RxISR = NULL; in USART_SetConfig()
3250 husart->TxISR = NULL; in USART_SetConfig()
3478 husart->TxISR = NULL; in USART_EndTransmit_IT()
3549 husart->RxISR = NULL; in USART_RxISR_8BIT()
3642 husart->RxISR = NULL; in USART_RxISR_16BIT()
3741 husart->RxISR = NULL; in USART_RxISR_8BIT_FIFOEN()
3876 husart->RxISR = NULL; in USART_RxISR_16BIT_FIFOEN()