Lines Matching refs:status

294   HAL_StatusTypeDef status;  in HAL_QSPI_Init()  local
357 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Init()
359 if(status == HAL_OK) in HAL_QSPI_Init()
385 return status; in HAL_QSPI_Init()
783 HAL_StatusTypeDef status; in HAL_QSPI_Command() local
823 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_QSPI_Command()
825 if (status == HAL_OK) in HAL_QSPI_Command()
834 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Command()
836 if (status == HAL_OK) in HAL_QSPI_Command()
853 status = HAL_BUSY; in HAL_QSPI_Command()
860 return status; in HAL_QSPI_Command()
872 HAL_StatusTypeDef status; in HAL_QSPI_Command_IT() local
911 status = QSPI_WaitFlagStateUntilTimeout_CPUCycle(hqspi, QSPI_FLAG_BUSY, RESET, hqspi->Timeout); in HAL_QSPI_Command_IT()
913 if (status == HAL_OK) in HAL_QSPI_Command_IT()
951 status = HAL_BUSY; in HAL_QSPI_Command_IT()
958 return status; in HAL_QSPI_Command_IT()
971 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit() local
998 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_QSPI_Transmit()
1000 if (status != HAL_OK) in HAL_QSPI_Transmit()
1010 if (status == HAL_OK) in HAL_QSPI_Transmit()
1013 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Transmit()
1015 if (status == HAL_OK) in HAL_QSPI_Transmit()
1021 status = HAL_QSPI_Abort(hqspi); in HAL_QSPI_Transmit()
1031 status = HAL_ERROR; in HAL_QSPI_Transmit()
1036 status = HAL_BUSY; in HAL_QSPI_Transmit()
1042 return status; in HAL_QSPI_Transmit()
1056 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive() local
1087status = QSPI_WaitFlagStateUntilTimeout(hqspi, (QSPI_FLAG_FT | QSPI_FLAG_TC), SET, tickstart, Time… in HAL_QSPI_Receive()
1089 if (status != HAL_OK) in HAL_QSPI_Receive()
1099 if (status == HAL_OK) in HAL_QSPI_Receive()
1102 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Receive()
1104 if (status == HAL_OK) in HAL_QSPI_Receive()
1110 status = HAL_QSPI_Abort(hqspi); in HAL_QSPI_Receive()
1120 status = HAL_ERROR; in HAL_QSPI_Receive()
1125 status = HAL_BUSY; in HAL_QSPI_Receive()
1131 return status; in HAL_QSPI_Receive()
1143 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit_IT() local
1177 status = HAL_ERROR; in HAL_QSPI_Transmit_IT()
1185 status = HAL_BUSY; in HAL_QSPI_Transmit_IT()
1191 return status; in HAL_QSPI_Transmit_IT()
1203 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive_IT() local
1241 status = HAL_ERROR; in HAL_QSPI_Receive_IT()
1249 status = HAL_BUSY; in HAL_QSPI_Receive_IT()
1255 return status; in HAL_QSPI_Receive_IT()
1271 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Transmit_DMA() local
1296 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1313 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1328 if (status == HAL_OK) in HAL_QSPI_Transmit_DMA()
1396 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1408 status = HAL_ERROR; in HAL_QSPI_Transmit_DMA()
1416 status = HAL_BUSY; in HAL_QSPI_Transmit_DMA()
1422 return status; in HAL_QSPI_Transmit_DMA()
1438 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Receive_DMA() local
1464 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1481 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1496 if (status == HAL_OK) in HAL_QSPI_Receive_DMA()
1569 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1603 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1616 status = HAL_ERROR; in HAL_QSPI_Receive_DMA()
1624 status = HAL_BUSY; in HAL_QSPI_Receive_DMA()
1630 return status; in HAL_QSPI_Receive_DMA()
1644 HAL_StatusTypeDef status; in HAL_QSPI_AutoPolling() local
1688 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_QSPI_AutoPolling()
1690 if (status == HAL_OK) in HAL_QSPI_AutoPolling()
1711 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_QSPI_AutoPolling()
1713 if (status == HAL_OK) in HAL_QSPI_AutoPolling()
1724 status = HAL_BUSY; in HAL_QSPI_AutoPolling()
1731 return status; in HAL_QSPI_AutoPolling()
1744 HAL_StatusTypeDef status; in HAL_QSPI_AutoPolling_IT() local
1788 status = QSPI_WaitFlagStateUntilTimeout_CPUCycle(hqspi, QSPI_FLAG_BUSY, RESET, hqspi->Timeout); in HAL_QSPI_AutoPolling_IT()
1790 if (status == HAL_OK) in HAL_QSPI_AutoPolling_IT()
1827 status = HAL_BUSY; in HAL_QSPI_AutoPolling_IT()
1834 return status; in HAL_QSPI_AutoPolling_IT()
1847 HAL_StatusTypeDef status; in HAL_QSPI_MemoryMapped() local
1889status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_MemoryMapped()
1891 if (status == HAL_OK) in HAL_QSPI_MemoryMapped()
1916 status = HAL_BUSY; in HAL_QSPI_MemoryMapped()
1923 return status; in HAL_QSPI_MemoryMapped()
2099 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_RegisterCallback() local
2155 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2173 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2182 status = HAL_ERROR; in HAL_QSPI_RegisterCallback()
2187 return status; in HAL_QSPI_RegisterCallback()
2212 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_UnRegisterCallback() local
2261 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2279 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2288 status = HAL_ERROR; in HAL_QSPI_UnRegisterCallback()
2293 return status; in HAL_QSPI_UnRegisterCallback()
2347 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Abort() local
2362 status = HAL_DMA_Abort(hqspi->hdma); in HAL_QSPI_Abort()
2363 if(status != HAL_OK) in HAL_QSPI_Abort()
2375 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, hqspi->Timeout); in HAL_QSPI_Abort()
2377 if (status == HAL_OK) in HAL_QSPI_Abort()
2382status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Abort()
2385 if (status == HAL_OK) in HAL_QSPI_Abort()
2401 return status; in HAL_QSPI_Abort()
2411 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_Abort_IT() local
2465 return status; in HAL_QSPI_Abort_IT()
2485 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_SetFifoThreshold() local
2501 status = HAL_BUSY; in HAL_QSPI_SetFifoThreshold()
2508 return status; in HAL_QSPI_SetFifoThreshold()
2529 HAL_StatusTypeDef status = HAL_OK; in HAL_QSPI_SetFlashID() local
2547 status = HAL_BUSY; in HAL_QSPI_SetFlashID()
2554 return status; in HAL_QSPI_SetFlashID()