Lines Matching refs:status
311 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Init() local
317 status = HAL_ERROR; in HAL_OSPI_Init()
393 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init()
395 if (status == HAL_OK) in HAL_OSPI_Init()
431 return status; in HAL_OSPI_Init()
456 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_DeInit() local
461 status = HAL_ERROR; in HAL_OSPI_DeInit()
489 return status; in HAL_OSPI_DeInit()
770 HAL_StatusTypeDef status; in HAL_OSPI_Command() local
826 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_Command()
828 if (status == HAL_OK) in HAL_OSPI_Command()
834 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command()
836 if (status == HAL_OK) in HAL_OSPI_Command()
842 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Command()
885 status = HAL_ERROR; in HAL_OSPI_Command()
890 return status; in HAL_OSPI_Command()
902 HAL_StatusTypeDef status; in HAL_OSPI_Command_IT() local
950 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Command_IT()
952 if (status == HAL_OK) in HAL_OSPI_Command_IT()
961 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command_IT()
963 if (status == HAL_OK) in HAL_OSPI_Command_IT()
975 status = HAL_ERROR; in HAL_OSPI_Command_IT()
980 return status; in HAL_OSPI_Command_IT()
992 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCfg() local
1007 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCfg()
1009 if (status == HAL_OK) in HAL_OSPI_HyperbusCfg()
1022 status = HAL_ERROR; in HAL_OSPI_HyperbusCfg()
1027 return status; in HAL_OSPI_HyperbusCfg()
1039 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCmd() local
1052 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCmd()
1054 if (status == HAL_OK) in HAL_OSPI_HyperbusCmd()
1083 status = HAL_ERROR; in HAL_OSPI_HyperbusCmd()
1088 return status; in HAL_OSPI_HyperbusCmd()
1101 HAL_StatusTypeDef status; in HAL_OSPI_Transmit() local
1108 status = HAL_ERROR; in HAL_OSPI_Transmit()
1127 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1129 if (status != HAL_OK) in HAL_OSPI_Transmit()
1139 if (status == HAL_OK) in HAL_OSPI_Transmit()
1142 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1144 if (status == HAL_OK) in HAL_OSPI_Transmit()
1156 status = HAL_ERROR; in HAL_OSPI_Transmit()
1162 return status; in HAL_OSPI_Transmit()
1175 HAL_StatusTypeDef status; in HAL_OSPI_Receive() local
1184 status = HAL_ERROR; in HAL_OSPI_Receive()
1220 …status = OSPI_WaitFlagStateUntilTimeout(hospi, (HAL_OSPI_FLAG_FT | HAL_OSPI_FLAG_TC), SET, ticksta… in HAL_OSPI_Receive()
1222 if (status != HAL_OK) in HAL_OSPI_Receive()
1232 if (status == HAL_OK) in HAL_OSPI_Receive()
1235 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Receive()
1237 if (status == HAL_OK) in HAL_OSPI_Receive()
1249 status = HAL_ERROR; in HAL_OSPI_Receive()
1255 return status; in HAL_OSPI_Receive()
1267 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_IT() local
1272 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1299 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1305 return status; in HAL_OSPI_Transmit_IT()
1317 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_IT() local
1324 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1368 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1374 return status; in HAL_OSPI_Receive_IT()
1390 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_DMA() local
1396 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1416 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1430 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1442 if (status == HAL_OK) in HAL_OSPI_Transmit_DMA()
1483 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1491 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1497 return status; in HAL_OSPI_Transmit_DMA()
1513 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_DMA() local
1520 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1540 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1554 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1566 if (status == HAL_OK) in HAL_OSPI_Receive_DMA()
1624 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1632 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1638 return status; in HAL_OSPI_Receive_DMA()
1651 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling() local
1669 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1671 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1698 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1700 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1712 status = HAL_ERROR; in HAL_OSPI_AutoPolling()
1717 return status; in HAL_OSPI_AutoPolling()
1729 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling_IT() local
1747 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_AutoPolling_IT()
1749 if (status == HAL_OK) in HAL_OSPI_AutoPolling_IT()
1787 status = HAL_ERROR; in HAL_OSPI_AutoPolling_IT()
1792 return status; in HAL_OSPI_AutoPolling_IT()
1804 HAL_StatusTypeDef status; in HAL_OSPI_MemoryMapped() local
1814 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_MemoryMapped()
1816 if (status == HAL_OK) in HAL_OSPI_MemoryMapped()
1842 status = HAL_ERROR; in HAL_OSPI_MemoryMapped()
1847 return status; in HAL_OSPI_MemoryMapped()
2025 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_RegisterCallback() local
2078 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2096 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2105 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2108 return status; in HAL_OSPI_RegisterCallback()
2133 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_UnRegisterCallback() local
2179 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2197 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2206 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2209 return status; in HAL_OSPI_UnRegisterCallback()
2243 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort() local
2258 status = HAL_DMA_Abort(hospi->hdma); in HAL_OSPI_Abort()
2259 if (status != HAL_OK) in HAL_OSPI_Abort()
2271 … status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, hospi->Timeout); in HAL_OSPI_Abort()
2273 if (status == HAL_OK) in HAL_OSPI_Abort()
2279 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Abort()
2281 if (status == HAL_OK) in HAL_OSPI_Abort()
2296 status = HAL_ERROR; in HAL_OSPI_Abort()
2301 return status; in HAL_OSPI_Abort()
2311 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort_IT() local
2374 status = HAL_ERROR; in HAL_OSPI_Abort_IT()
2379 return status; in HAL_OSPI_Abort_IT()
2389 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_SetFifoThreshold() local
2403 status = HAL_ERROR; in HAL_OSPI_SetFifoThreshold()
2408 return status; in HAL_OSPI_SetFifoThreshold()
2631 HAL_StatusTypeDef status = HAL_OK; in OSPI_ConfigCmd() local
2795 status = HAL_ERROR; in OSPI_ConfigCmd()
2801 return status; in OSPI_ConfigCmd()