Lines Matching refs:NULL

287   if (husart == NULL)  in HAL_USART_Init()
303 if (husart->MspInitCallback == NULL) in HAL_USART_Init()
349 if (husart == NULL) in HAL_USART_DeInit()
364 if (husart->MspDeInitCallback == NULL) in HAL_USART_DeInit()
440 if (pCallback == NULL) in HAL_USART_RegisterCallback()
768 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit()
788 ptxdata8bits = NULL; in HAL_USART_Transmit()
794 ptxdata16bits = NULL; in HAL_USART_Transmit()
804 if (ptxdata8bits == NULL) in HAL_USART_Transmit()
866 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive()
890 prxdata8bits = NULL; in HAL_USART_Receive()
896 prxdata16bits = NULL; in HAL_USART_Receive()
921 if (prxdata8bits == NULL) in HAL_USART_Receive()
982 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive()
1008 prxdata8bits = NULL; in HAL_USART_TransmitReceive()
1009 ptxdata8bits = NULL; in HAL_USART_TransmitReceive()
1017 ptxdata16bits = NULL; in HAL_USART_TransmitReceive()
1018 prxdata16bits = NULL; in HAL_USART_TransmitReceive()
1028 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1054 if (ptxdata8bits == NULL) in HAL_USART_TransmitReceive()
1076 if (prxdata8bits == NULL) in HAL_USART_TransmitReceive()
1120 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_IT()
1131 husart->TxISR = NULL; in HAL_USART_Transmit_IT()
1205 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_IT()
1216 husart->RxISR = NULL; in HAL_USART_Receive_IT()
1319 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_IT()
1428 if ((pTxData == NULL) || (Size == 0U)) in HAL_USART_Transmit_DMA()
1443 if (husart->hdmatx != NULL) in HAL_USART_Transmit_DMA()
1459 if (husart->hmdmatx != NULL) in HAL_USART_Transmit_DMA()
1528 if ((pRxData == NULL) || (Size == 0U)) in HAL_USART_Receive_DMA()
1544 if (husart->hdmarx != NULL) in HAL_USART_Receive_DMA()
1559 if (husart->hmdmarx != NULL) in HAL_USART_Receive_DMA()
1580 if (husart->hdmatx != NULL) in HAL_USART_Receive_DMA()
1582 husart->hdmatx->XferErrorCallback = NULL; in HAL_USART_Receive_DMA()
1583 husart->hdmatx->XferHalfCpltCallback = NULL; in HAL_USART_Receive_DMA()
1584 husart->hdmatx->XferCpltCallback = NULL; in HAL_USART_Receive_DMA()
1588 if (husart->hmdmatx != NULL) in HAL_USART_Receive_DMA()
1590 husart->hmdmatx->XferErrorCallback = NULL; in HAL_USART_Receive_DMA()
1591 husart->hmdmatx->XferCpltCallback = NULL; in HAL_USART_Receive_DMA()
1623 if (husart->hdmarx != NULL) in HAL_USART_Receive_DMA()
1628 if (husart->hmdmarx != NULL) in HAL_USART_Receive_DMA()
1675 if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U)) in HAL_USART_TransmitReceive_DMA()
1691 if ((husart->hdmarx != NULL) && (husart->hdmatx != NULL)) in HAL_USART_TransmitReceive_DMA()
1728 if ((husart->hmdmarx != NULL) || (husart->hmdmatx != NULL)) in HAL_USART_TransmitReceive_DMA()
1788 if (husart->hdmarx != NULL) in HAL_USART_TransmitReceive_DMA()
1793 if (husart->hmdmarx != NULL) in HAL_USART_TransmitReceive_DMA()
1933 if (husart->hdmatx != NULL) in HAL_USART_DMAStop()
1947 if (husart->hmdmatx != NULL) in HAL_USART_DMAStop()
1962 if (husart->hdmarx != NULL) in HAL_USART_DMAStop()
1976 if (husart->hmdmarx != NULL) in HAL_USART_DMAStop()
2023 if (husart->hdmatx != NULL) in HAL_USART_Abort()
2027 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort()
2041 if (husart->hmdmatx != NULL) in HAL_USART_Abort()
2045 husart->hmdmatx->XferAbortCallback = NULL; in HAL_USART_Abort()
2068 if (husart->hdmarx != NULL) in HAL_USART_Abort()
2072 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort()
2086 if (husart->hmdmarx != NULL) in HAL_USART_Abort()
2090 husart->hmdmarx->XferAbortCallback = NULL; in HAL_USART_Abort()
2157 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2167 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2174 if (husart->hmdmatx != NULL) in HAL_USART_Abort_IT()
2184 husart->hmdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2189 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2199 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2204 if (husart->hmdmarx != NULL) in HAL_USART_Abort_IT()
2214 husart->hmdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2226 if (husart->hdmatx != NULL) in HAL_USART_Abort_IT()
2234 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2243 if (husart->hmdmatx != NULL) in HAL_USART_Abort_IT()
2251 husart->hmdmatx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2268 if (husart->hdmarx != NULL) in HAL_USART_Abort_IT()
2276 husart->hdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2286 if (husart->hmdmarx != NULL) in HAL_USART_Abort_IT()
2294 husart->hmdmarx->XferAbortCallback = NULL; in HAL_USART_Abort_IT()
2367 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2446 if (husart->RxISR != NULL) in HAL_USART_IRQHandler()
2470 if (husart->hdmatx != NULL) in HAL_USART_IRQHandler()
2474 husart->hdmatx->XferAbortCallback = NULL; in HAL_USART_IRQHandler()
2481 if (husart->hmdmatx != NULL) in HAL_USART_IRQHandler()
2485 husart->hmdmatx->XferAbortCallback = NULL; in HAL_USART_IRQHandler()
2493 if (husart->hdmarx != NULL) in HAL_USART_IRQHandler()
2508 else if (husart->hmdmarx != NULL) in HAL_USART_IRQHandler()
2570 if (husart->TxISR != NULL) in HAL_USART_IRQHandler()
3017 husart->hdmatx->XferAbortCallback = NULL; in USART_DMATxAbortCallback()
3020 if (husart->hdmarx != NULL) in USART_DMATxAbortCallback()
3022 if (husart->hdmarx->XferAbortCallback != NULL) in USART_DMATxAbortCallback()
3065 husart->hdmarx->XferAbortCallback = NULL; in USART_DMARxAbortCallback()
3068 if (husart->hdmatx != NULL) in USART_DMARxAbortCallback()
3070 if (husart->hdmatx->XferAbortCallback != NULL) in USART_DMARxAbortCallback()
3109 if (husart != NULL) in USART_MDMATransmitCplt()
3147 if (husart != NULL) in USART_MDMAReceiveCplt()
3194 if (husart != NULL) in USART_MDMAError()
3244 husart->hmdmatx->XferAbortCallback = NULL; in USART_MDMATxAbortCallback()
3247 if (husart->hmdmarx != NULL) in USART_MDMATxAbortCallback()
3249 if (husart->hmdmarx->XferAbortCallback != NULL) in USART_MDMATxAbortCallback()
3289 husart->hmdmarx->XferAbortCallback = NULL; in USART_MDMARxAbortCallback()
3292 if (husart->hmdmatx != NULL) in USART_MDMARxAbortCallback()
3294 if (husart->hmdmatx->XferAbortCallback != NULL) in USART_MDMARxAbortCallback()
3467 husart->RxISR = NULL; in USART_SetConfig()
3468 husart->TxISR = NULL; in USART_SetConfig()
3696 husart->TxISR = NULL; in USART_EndTransmit_IT()
3767 husart->RxISR = NULL; in USART_RxISR_8BIT()
3860 husart->RxISR = NULL; in USART_RxISR_16BIT()
3959 husart->RxISR = NULL; in USART_RxISR_8BIT_FIFOEN()
4094 husart->RxISR = NULL; in USART_RxISR_16BIT_FIFOEN()