Lines Matching refs:status
321 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Init() local
327 status = HAL_ERROR; in HAL_OSPI_Init()
410 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init()
412 if (status == HAL_OK) in HAL_OSPI_Init()
448 return status; in HAL_OSPI_Init()
473 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_DeInit() local
478 status = HAL_ERROR; in HAL_OSPI_DeInit()
506 return status; in HAL_OSPI_DeInit()
787 HAL_StatusTypeDef status; in HAL_OSPI_Command() local
841 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_Command()
843 if (status == HAL_OK) in HAL_OSPI_Command()
849 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command()
851 if (status == HAL_OK) in HAL_OSPI_Command()
857 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Command()
896 status = HAL_ERROR; in HAL_OSPI_Command()
901 return status; in HAL_OSPI_Command()
913 HAL_StatusTypeDef status; in HAL_OSPI_Command_IT() local
961 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Command_IT()
963 if (status == HAL_OK) in HAL_OSPI_Command_IT()
972 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command_IT()
974 if (status == HAL_OK) in HAL_OSPI_Command_IT()
986 status = HAL_ERROR; in HAL_OSPI_Command_IT()
991 return status; in HAL_OSPI_Command_IT()
1003 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCfg() local
1018 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCfg()
1020 if (status == HAL_OK) in HAL_OSPI_HyperbusCfg()
1033 status = HAL_ERROR; in HAL_OSPI_HyperbusCfg()
1038 return status; in HAL_OSPI_HyperbusCfg()
1050 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCmd() local
1063 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCmd()
1065 if (status == HAL_OK) in HAL_OSPI_HyperbusCmd()
1094 status = HAL_ERROR; in HAL_OSPI_HyperbusCmd()
1099 return status; in HAL_OSPI_HyperbusCmd()
1112 HAL_StatusTypeDef status; in HAL_OSPI_Transmit() local
1119 status = HAL_ERROR; in HAL_OSPI_Transmit()
1138 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1140 if (status != HAL_OK) in HAL_OSPI_Transmit()
1150 if (status == HAL_OK) in HAL_OSPI_Transmit()
1153 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1155 if (status == HAL_OK) in HAL_OSPI_Transmit()
1167 status = HAL_ERROR; in HAL_OSPI_Transmit()
1173 return status; in HAL_OSPI_Transmit()
1186 HAL_StatusTypeDef status; in HAL_OSPI_Receive() local
1195 status = HAL_ERROR; in HAL_OSPI_Receive()
1231 …status = OSPI_WaitFlagStateUntilTimeout(hospi, (HAL_OSPI_FLAG_FT | HAL_OSPI_FLAG_TC), SET, ticksta… in HAL_OSPI_Receive()
1233 if (status != HAL_OK) in HAL_OSPI_Receive()
1243 if (status == HAL_OK) in HAL_OSPI_Receive()
1246 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Receive()
1248 if (status == HAL_OK) in HAL_OSPI_Receive()
1260 status = HAL_ERROR; in HAL_OSPI_Receive()
1266 return status; in HAL_OSPI_Receive()
1278 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_IT() local
1283 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1310 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1316 return status; in HAL_OSPI_Transmit_IT()
1328 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_IT() local
1335 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1379 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1385 return status; in HAL_OSPI_Receive_IT()
1401 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_DMA() local
1407 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1427 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1441 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1453 if (status == HAL_OK) in HAL_OSPI_Transmit_DMA()
1494 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1502 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1508 return status; in HAL_OSPI_Transmit_DMA()
1524 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_DMA() local
1531 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1551 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1565 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1577 if (status == HAL_OK) in HAL_OSPI_Receive_DMA()
1635 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1643 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1649 return status; in HAL_OSPI_Receive_DMA()
1663 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling() local
1681 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1683 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1710 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1712 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1724 status = HAL_ERROR; in HAL_OSPI_AutoPolling()
1729 return status; in HAL_OSPI_AutoPolling()
1742 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling_IT() local
1760 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_AutoPolling_IT()
1762 if (status == HAL_OK) in HAL_OSPI_AutoPolling_IT()
1800 status = HAL_ERROR; in HAL_OSPI_AutoPolling_IT()
1805 return status; in HAL_OSPI_AutoPolling_IT()
1817 HAL_StatusTypeDef status; in HAL_OSPI_MemoryMapped() local
1827 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_MemoryMapped()
1829 if (status == HAL_OK) in HAL_OSPI_MemoryMapped()
1855 status = HAL_ERROR; in HAL_OSPI_MemoryMapped()
1860 return status; in HAL_OSPI_MemoryMapped()
2038 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_RegisterCallback() local
2091 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2109 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2118 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2121 return status; in HAL_OSPI_RegisterCallback()
2146 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_UnRegisterCallback() local
2192 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2210 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2219 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2222 return status; in HAL_OSPI_UnRegisterCallback()
2256 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort() local
2271 status = HAL_DMA_Abort(hospi->hdma); in HAL_OSPI_Abort()
2272 if (status != HAL_OK) in HAL_OSPI_Abort()
2284 … status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, hospi->Timeout); in HAL_OSPI_Abort()
2286 if (status == HAL_OK) in HAL_OSPI_Abort()
2292 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Abort()
2294 if (status == HAL_OK) in HAL_OSPI_Abort()
2309 status = HAL_ERROR; in HAL_OSPI_Abort()
2314 return status; in HAL_OSPI_Abort()
2324 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort_IT() local
2387 status = HAL_ERROR; in HAL_OSPI_Abort_IT()
2392 return status; in HAL_OSPI_Abort_IT()
2402 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_SetFifoThreshold() local
2416 status = HAL_ERROR; in HAL_OSPI_SetFifoThreshold()
2421 return status; in HAL_OSPI_SetFifoThreshold()
2493 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPIM_Config() local
2529 status = HAL_ERROR; in HAL_OSPIM_Config()
2534 if (status == HAL_OK) in HAL_OSPIM_Config()
2742 return status; in HAL_OSPIM_Config()
2923 HAL_StatusTypeDef status = HAL_OK; in OSPI_ConfigCmd() local
3080 status = HAL_ERROR; in OSPI_ConfigCmd()
3086 return status; in OSPI_ConfigCmd()
3097 HAL_StatusTypeDef status = HAL_OK; in OSPIM_GetConfig() local
3105 status = HAL_ERROR; in OSPIM_GetConfig()
3205 return status; in OSPIM_GetConfig()