Lines Matching refs:NULL
298 if (husart == NULL) in HAL_USART_Init()
314 if (husart->MspInitCallback == NULL) in HAL_USART_Init()
357 if (husart == NULL) in HAL_USART_DeInit()
371 if (husart->MspDeInitCallback == NULL) in HAL_USART_DeInit()
444 if (pCallback == NULL) in HAL_USART_RegisterCallback()
752 if ((pTxData == NULL) || (Size == 0)) in HAL_USART_Transmit()
772 ptxdata8bits = NULL; in HAL_USART_Transmit()
778 ptxdata16bits = NULL; in HAL_USART_Transmit()
788 if (ptxdata8bits == NULL) in HAL_USART_Transmit()
841 if ((pRxData == NULL) || (Size == 0)) in HAL_USART_Receive()
860 prxdata8bits = NULL; in HAL_USART_Receive()
866 prxdata16bits = NULL; in HAL_USART_Receive()
888 if (prxdata8bits == NULL) in HAL_USART_Receive()
945 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0)) in HAL_USART_TransmitReceive()
977 prxdata8bits = NULL; in HAL_USART_TransmitReceive()
978 ptxdata8bits = NULL; in HAL_USART_TransmitReceive()
986 ptxdata16bits = NULL; in HAL_USART_TransmitReceive()
987 prxdata16bits = NULL; in HAL_USART_TransmitReceive()
1003 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1024 if (prxdata8bits == NULL) in HAL_USART_TransmitReceive()
1077 if ((pTxData == NULL) || (Size == 0)) in HAL_USART_Transmit_IT()
1130 if ((pRxData == NULL) || (Size == 0)) in HAL_USART_Receive_IT()
1180 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0)) in HAL_USART_TransmitReceive_IT()
1237 if ((pTxData == NULL) || (Size == 0)) in HAL_USART_Transmit_DMA()
1261 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Transmit_DMA()
1304 if ((pRxData == NULL) || (Size == 0)) in HAL_USART_Receive_DMA()
1330 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Receive_DMA()
1334 husart->hdmatx->XferHalfCpltCallback = NULL; in HAL_USART_Receive_DMA()
1335 husart->hdmatx->XferCpltCallback = NULL; in HAL_USART_Receive_DMA()
1341 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Receive_DMA()
1399 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0)) in HAL_USART_TransmitReceive_DMA()
1433 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_TransmitReceive_DMA()
1536 if (husart->hdmatx != NULL) in HAL_USART_DMAStop()
1552 if (husart->hdmarx != NULL) in HAL_USART_DMAStop()
1589 if (husart->hdmatx != NULL) in HAL_USART_Abort()
1593 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort()
1605 if (husart->hdmarx != NULL) in HAL_USART_Abort()
1609 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort()
1654 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
1664 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
1668 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
1678 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
1689 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
1697 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
1712 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
1720 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
1844 if (husart->hdmarx != NULL) in HAL_USART_IRQHandler()
2391 husart->hdmatx->XferAbortCallback = NULL; in USART_DMATxAbortCallback()
2394 if (husart->hdmarx != NULL) in USART_DMATxAbortCallback()
2396 if (husart->hdmarx->XferAbortCallback != NULL) in USART_DMATxAbortCallback()
2434 husart->hdmarx->XferAbortCallback = NULL; in USART_DMARxAbortCallback()
2437 if (husart->hdmatx != NULL) in USART_DMARxAbortCallback()
2439 if (husart->hdmatx->XferAbortCallback != NULL) in USART_DMARxAbortCallback()
2547 pdata8bits = NULL; in USART_Receive_IT()
2555 pdata16bits = NULL; in USART_Receive_IT()
2627 pdata8bits = NULL; in USART_TransmitReceive_IT()
2653 pdata8bits = NULL; in USART_TransmitReceive_IT()
2661 pdata16bits = NULL; in USART_TransmitReceive_IT()