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()
783 ptxdata8bits = NULL; in HAL_USART_Transmit()
789 ptxdata16bits = NULL; in HAL_USART_Transmit()
799 if (ptxdata8bits == NULL) in HAL_USART_Transmit()
861 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive()
893 prxdata8bits = NULL; in HAL_USART_Receive()
899 prxdata16bits = NULL; in HAL_USART_Receive()
924 if (prxdata8bits == NULL) in HAL_USART_Receive()
985 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive()
1025 prxdata8bits = NULL; in HAL_USART_TransmitReceive()
1026 ptxdata8bits = NULL; in HAL_USART_TransmitReceive()
1034 ptxdata16bits = NULL; in HAL_USART_TransmitReceive()
1035 prxdata16bits = NULL; in HAL_USART_TransmitReceive()
1045 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1071 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1093 if (prxdata8bits == NULL) in HAL_USART_TransmitReceive()
1137 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_IT()
1156 husart->TxISR = NULL; in HAL_USART_Transmit_IT()
1230 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_IT()
1249 husart->RxISR = NULL; in HAL_USART_Receive_IT()
1352 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_IT()
1477 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_DMA()
1492 if (husart->hdmatx != NULL) in HAL_USART_Transmit_DMA()
1515 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_Transmit_DMA()
1599 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_DMA()
1615 if (husart->hdmarx != NULL) in HAL_USART_Receive_DMA()
1636 … if ((husart->hdmarx->LinkedListQueue != NULL) && (husart->hdmarx->LinkedListQueue->Head != NULL)) in HAL_USART_Receive_DMA()
1672 if (husart->hdmatx != NULL) in HAL_USART_Receive_DMA()
1674 husart->hdmatx->XferErrorCallback = NULL; in HAL_USART_Receive_DMA()
1675 husart->hdmatx->XferHalfCpltCallback = NULL; in HAL_USART_Receive_DMA()
1676 husart->hdmatx->XferCpltCallback = NULL; in HAL_USART_Receive_DMA()
1681 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_Receive_DMA()
1735 if ((husart->hdmarx != NULL) && ((husart->hdmarx->Mode & DMA_LINKEDLIST) != DMA_LINKEDLIST)) in HAL_USART_Receive_DMA()
1782 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_DMA()
1798 if ((husart->hdmarx != NULL) && (husart->hdmatx != NULL)) in HAL_USART_TransmitReceive_DMA()
1829 … if ((husart->hdmarx->LinkedListQueue != NULL) && (husart->hdmarx->LinkedListQueue->Head != NULL)) in HAL_USART_TransmitReceive_DMA()
1864 … if ((husart->hdmatx->LinkedListQueue != NULL) && (husart->hdmatx->LinkedListQueue->Head != NULL)) in HAL_USART_TransmitReceive_DMA()
1925 if ((husart->hdmarx != NULL) && ((husart->hdmarx->Mode & DMA_LINKEDLIST) != DMA_LINKEDLIST)) in HAL_USART_TransmitReceive_DMA()
1967 if (husart->hdmatx != NULL) in HAL_USART_DMAPause()
1971 husart->hdmatx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
1994 husart->hdmarx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
2011 husart->hdmatx->XferSuspendCallback = NULL; in HAL_USART_DMAPause()
2051 if (husart->hdmatx != NULL) in HAL_USART_DMAResume()
2076 if (husart->hdmarx != NULL) in HAL_USART_DMAResume()
2090 if (husart->hdmatx != NULL) in HAL_USART_DMAResume()
2132 if (husart->hdmatx != NULL) in HAL_USART_DMAStop()
2146 if (husart->hdmarx != NULL) in HAL_USART_DMAStop()
2196 if (husart->hdmatx != NULL) in HAL_USART_Abort()
2200 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort()
2224 if (husart->hdmarx != NULL) in HAL_USART_Abort()
2228 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort()
2296 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2306 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2310 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2320 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2333 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2341 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2359 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2367 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2440 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2519 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2546 if (husart->hdmatx != NULL) in HAL_USART_IRQHandler()
2550 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_IRQHandler()
2557 if (husart->hdmarx != NULL) in HAL_USART_IRQHandler()
2619 if (husart->TxISR != NULL) in HAL_USART_IRQHandler()
3071 husart->hdmatx->XferAbortCallback = NULL; in USART_DMATxAbortCallback()
3074 if (husart->hdmarx != NULL) in USART_DMATxAbortCallback()
3076 if (husart->hdmarx->XferAbortCallback != NULL) in USART_DMATxAbortCallback()
3119 husart->hdmarx->XferAbortCallback = NULL; in USART_DMARxAbortCallback()
3122 if (husart->hdmatx != NULL) in USART_DMARxAbortCallback()
3124 if (husart->hdmatx->XferAbortCallback != NULL) in USART_DMARxAbortCallback()
3286 husart->RxISR = NULL; in USART_SetConfig()
3287 husart->TxISR = NULL; in USART_SetConfig()
3515 husart->TxISR = NULL; in USART_EndTransmit_IT()
3586 husart->RxISR = NULL; in USART_RxISR_8BIT()
3679 husart->RxISR = NULL; in USART_RxISR_16BIT()
3778 husart->RxISR = NULL; in USART_RxISR_8BIT_FIFOEN()
3913 husart->RxISR = NULL; in USART_RxISR_16BIT_FIFOEN()