Lines Matching refs:status

292   HAL_StatusTypeDef status;  in HAL_QSPI_Init()  local
349 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Init()
351 if(status == HAL_OK) in HAL_QSPI_Init()
377 return status; in HAL_QSPI_Init()
771 HAL_StatusTypeDef status; in HAL_QSPI_Command() local
810 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_QSPI_Command()
812 if (status == HAL_OK) in HAL_QSPI_Command()
821 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Command()
823 if (status == HAL_OK) in HAL_QSPI_Command()
840 status = HAL_BUSY; in HAL_QSPI_Command()
847 return status; in HAL_QSPI_Command()
859 HAL_StatusTypeDef status; in HAL_QSPI_Command_IT() local
898status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Command_IT()
900 if (status == HAL_OK) in HAL_QSPI_Command_IT()
938 status = HAL_BUSY; in HAL_QSPI_Command_IT()
945 return status; in HAL_QSPI_Command_IT()
958 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit() local
985 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_QSPI_Transmit()
987 if (status != HAL_OK) in HAL_QSPI_Transmit()
997 if (status == HAL_OK) in HAL_QSPI_Transmit()
1000 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Transmit()
1002 if (status == HAL_OK) in HAL_QSPI_Transmit()
1016 status = HAL_ERROR; in HAL_QSPI_Transmit()
1021 status = HAL_BUSY; in HAL_QSPI_Transmit()
1027 return status; in HAL_QSPI_Transmit()
1041 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive() local
1072status = QSPI_WaitFlagStateUntilTimeout(hqspi, (QSPI_FLAG_FT | QSPI_FLAG_TC), SET, tickstart, Time… in HAL_QSPI_Receive()
1074 if (status != HAL_OK) in HAL_QSPI_Receive()
1084 if (status == HAL_OK) in HAL_QSPI_Receive()
1087 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Receive()
1089 if (status == HAL_OK) in HAL_QSPI_Receive()
1103 status = HAL_ERROR; in HAL_QSPI_Receive()
1108 status = HAL_BUSY; in HAL_QSPI_Receive()
1114 return status; in HAL_QSPI_Receive()
1126 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit_IT() local
1160 status = HAL_ERROR; in HAL_QSPI_Transmit_IT()
1168 status = HAL_BUSY; in HAL_QSPI_Transmit_IT()
1174 return status; in HAL_QSPI_Transmit_IT()
1186 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive_IT() local
1224 status = HAL_ERROR; in HAL_QSPI_Receive_IT()
1232 status = HAL_BUSY; in HAL_QSPI_Receive_IT()
1238 return status; in HAL_QSPI_Receive_IT()
1254 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit_DMA() local
1279 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1296 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1311 if (status == HAL_OK) in HAL_QSPI_Transmit_DMA()
1356 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1368 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1376 status = HAL_BUSY; in HAL_QSPI_Transmit_DMA()
1382 return status; in HAL_QSPI_Transmit_DMA()
1398 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive_DMA() local
1424 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1441 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1456 if (status == HAL_OK) in HAL_QSPI_Receive_DMA()
1504 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1516 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1524 status = HAL_BUSY; in HAL_QSPI_Receive_DMA()
1530 return status; in HAL_QSPI_Receive_DMA()
1544 HAL_StatusTypeDef status; in HAL_QSPI_AutoPolling() local
1587 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_QSPI_AutoPolling()
1589 if (status == HAL_OK) in HAL_QSPI_AutoPolling()
1610 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_QSPI_AutoPolling()
1612 if (status == HAL_OK) in HAL_QSPI_AutoPolling()
1623 status = HAL_BUSY; in HAL_QSPI_AutoPolling()
1630 return status; in HAL_QSPI_AutoPolling()
1643 HAL_StatusTypeDef status; in HAL_QSPI_AutoPolling_IT() local
1687status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_AutoPolling_IT()
1689 if (status == HAL_OK) in HAL_QSPI_AutoPolling_IT()
1726 status = HAL_BUSY; in HAL_QSPI_AutoPolling_IT()
1733 return status; in HAL_QSPI_AutoPolling_IT()
1746 HAL_StatusTypeDef status; in HAL_QSPI_MemoryMapped() local
1787status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_MemoryMapped()
1789 if (status == HAL_OK) in HAL_QSPI_MemoryMapped()
1814 status = HAL_BUSY; in HAL_QSPI_MemoryMapped()
1821 return status; in HAL_QSPI_MemoryMapped()
1997 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_RegisterCallback() local
2053 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2071 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2080 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2085 return status; in HAL_QSPI_RegisterCallback()
2110 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_UnRegisterCallback() local
2159 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2177 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2186 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2191 return status; in HAL_QSPI_UnRegisterCallback()
2245 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Abort() local
2260 status = HAL_DMA_Abort(hqspi->hdma); in HAL_QSPI_Abort()
2261 if(status != HAL_OK) in HAL_QSPI_Abort()
2273 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, hqspi->Timeout); in HAL_QSPI_Abort()
2275 if (status == HAL_OK) in HAL_QSPI_Abort()
2280status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Abort()
2283 if (status == HAL_OK) in HAL_QSPI_Abort()
2299 return status; in HAL_QSPI_Abort()
2309 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Abort_IT() local
2363 return status; in HAL_QSPI_Abort_IT()
2383 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_SetFifoThreshold() local
2399 status = HAL_BUSY; in HAL_QSPI_SetFifoThreshold()
2406 return status; in HAL_QSPI_SetFifoThreshold()