Lines Matching refs:status
323 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Init() local
329 status = HAL_ERROR; in HAL_OSPI_Init()
407 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init()
409 if (status == HAL_OK) in HAL_OSPI_Init()
445 return status; in HAL_OSPI_Init()
470 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_DeInit() local
475 status = HAL_ERROR; in HAL_OSPI_DeInit()
503 return status; in HAL_OSPI_DeInit()
784 HAL_StatusTypeDef status; in HAL_OSPI_Command() local
840 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_Command()
842 if (status == HAL_OK) in HAL_OSPI_Command()
848 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command()
850 if (status == HAL_OK) in HAL_OSPI_Command()
856 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Command()
899 status = HAL_ERROR; in HAL_OSPI_Command()
904 return status; in HAL_OSPI_Command()
916 HAL_StatusTypeDef status; in HAL_OSPI_Command_IT() local
964 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Command_IT()
966 if (status == HAL_OK) in HAL_OSPI_Command_IT()
975 status = OSPI_ConfigCmd(hospi, cmd); in HAL_OSPI_Command_IT()
977 if (status == HAL_OK) in HAL_OSPI_Command_IT()
989 status = HAL_ERROR; in HAL_OSPI_Command_IT()
994 return status; in HAL_OSPI_Command_IT()
1006 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCfg() local
1021 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCfg()
1023 if (status == HAL_OK) in HAL_OSPI_HyperbusCfg()
1036 status = HAL_ERROR; in HAL_OSPI_HyperbusCfg()
1041 return status; in HAL_OSPI_HyperbusCfg()
1053 HAL_StatusTypeDef status; in HAL_OSPI_HyperbusCmd() local
1066 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCmd()
1068 if (status == HAL_OK) in HAL_OSPI_HyperbusCmd()
1097 status = HAL_ERROR; in HAL_OSPI_HyperbusCmd()
1102 return status; in HAL_OSPI_HyperbusCmd()
1115 HAL_StatusTypeDef status; in HAL_OSPI_Transmit() local
1122 status = HAL_ERROR; in HAL_OSPI_Transmit()
1141 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1143 if (status != HAL_OK) in HAL_OSPI_Transmit()
1153 if (status == HAL_OK) in HAL_OSPI_Transmit()
1156 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Transmit()
1158 if (status == HAL_OK) in HAL_OSPI_Transmit()
1170 status = HAL_ERROR; in HAL_OSPI_Transmit()
1176 return status; in HAL_OSPI_Transmit()
1189 HAL_StatusTypeDef status; in HAL_OSPI_Receive() local
1198 status = HAL_ERROR; in HAL_OSPI_Receive()
1234 …status = OSPI_WaitFlagStateUntilTimeout(hospi, (HAL_OSPI_FLAG_FT | HAL_OSPI_FLAG_TC), SET, ticksta… in HAL_OSPI_Receive()
1236 if (status != HAL_OK) in HAL_OSPI_Receive()
1246 if (status == HAL_OK) in HAL_OSPI_Receive()
1249 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Receive()
1251 if (status == HAL_OK) in HAL_OSPI_Receive()
1263 status = HAL_ERROR; in HAL_OSPI_Receive()
1269 return status; in HAL_OSPI_Receive()
1281 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_IT() local
1286 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1313 status = HAL_ERROR; in HAL_OSPI_Transmit_IT()
1319 return status; in HAL_OSPI_Transmit_IT()
1331 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_IT() local
1338 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1382 status = HAL_ERROR; in HAL_OSPI_Receive_IT()
1388 return status; in HAL_OSPI_Receive_IT()
1404 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Transmit_DMA() local
1412 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1433 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1452 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1466 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1478 if (status == HAL_OK) in HAL_OSPI_Transmit_DMA()
1520 status = HAL_DMAEx_List_Start_IT(hospi->hdma); in HAL_OSPI_Transmit_DMA()
1531 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1541 …status = HAL_DMA_Start_IT(hospi->hdma, (uint32_t)pData, (uint32_t)&hospi->Instance->DR, hospi->Xfe… in HAL_OSPI_Transmit_DMA()
1544 if (status == HAL_OK) in HAL_OSPI_Transmit_DMA()
1554 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1562 status = HAL_ERROR; in HAL_OSPI_Transmit_DMA()
1568 return status; in HAL_OSPI_Transmit_DMA()
1584 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Receive_DMA() local
1593 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1614 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1634 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1648 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1660 if (status == HAL_OK) in HAL_OSPI_Receive_DMA()
1703 status = HAL_DMAEx_List_Start_IT(hospi->hdma); in HAL_OSPI_Receive_DMA()
1714 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1726 …status = HAL_DMA_Start_IT(hospi->hdma, (uint32_t)&hospi->Instance->DR, (uint32_t)pData, hospi->Xfe… in HAL_OSPI_Receive_DMA()
1728 if (status == HAL_OK) in HAL_OSPI_Receive_DMA()
1755 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1763 status = HAL_ERROR; in HAL_OSPI_Receive_DMA()
1769 return status; in HAL_OSPI_Receive_DMA()
1782 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling() local
1800 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1802 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1829 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_OSPI_AutoPolling()
1831 if (status == HAL_OK) in HAL_OSPI_AutoPolling()
1843 status = HAL_ERROR; in HAL_OSPI_AutoPolling()
1848 return status; in HAL_OSPI_AutoPolling()
1860 HAL_StatusTypeDef status; in HAL_OSPI_AutoPolling_IT() local
1878 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_AutoPolling_IT()
1880 if (status == HAL_OK) in HAL_OSPI_AutoPolling_IT()
1918 status = HAL_ERROR; in HAL_OSPI_AutoPolling_IT()
1923 return status; in HAL_OSPI_AutoPolling_IT()
1935 HAL_StatusTypeDef status; in HAL_OSPI_MemoryMapped() local
1945 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_MemoryMapped()
1947 if (status == HAL_OK) in HAL_OSPI_MemoryMapped()
1973 status = HAL_ERROR; in HAL_OSPI_MemoryMapped()
1978 return status; in HAL_OSPI_MemoryMapped()
2156 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_RegisterCallback() local
2209 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2227 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2236 status = HAL_ERROR; in HAL_OSPI_RegisterCallback()
2239 return status; in HAL_OSPI_RegisterCallback()
2264 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_UnRegisterCallback() local
2310 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2328 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2337 status = HAL_ERROR; in HAL_OSPI_UnRegisterCallback()
2340 return status; in HAL_OSPI_UnRegisterCallback()
2374 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort() local
2389 status = HAL_DMA_Abort(hospi->hdma); in HAL_OSPI_Abort()
2390 if (status != HAL_OK) in HAL_OSPI_Abort()
2402 … status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, hospi->Timeout); in HAL_OSPI_Abort()
2404 if (status == HAL_OK) in HAL_OSPI_Abort()
2410 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Abort()
2412 if (status == HAL_OK) in HAL_OSPI_Abort()
2427 status = HAL_ERROR; in HAL_OSPI_Abort()
2432 return status; in HAL_OSPI_Abort()
2442 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Abort_IT() local
2505 status = HAL_ERROR; in HAL_OSPI_Abort_IT()
2510 return status; in HAL_OSPI_Abort_IT()
2520 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_SetFifoThreshold() local
2534 status = HAL_ERROR; in HAL_OSPI_SetFifoThreshold()
2539 return status; in HAL_OSPI_SetFifoThreshold()
2612 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPIM_Config() local
2645 status = HAL_ERROR; in HAL_OSPIM_Config()
2650 if (status == HAL_OK) in HAL_OSPIM_Config()
2855 return status; in HAL_OSPIM_Config()
3041 HAL_StatusTypeDef status = HAL_OK; in OSPI_ConfigCmd() local
3205 status = HAL_ERROR; in OSPI_ConfigCmd()
3211 return status; in OSPI_ConfigCmd()
3223 HAL_StatusTypeDef status = HAL_OK; in OSPIM_GetConfig() local
3231 status = HAL_ERROR; in OSPIM_GetConfig()
3327 return status; in OSPIM_GetConfig()
3355 HAL_StatusTypeDef status = HAL_ERROR; in HAL_OSPI_DLYB_SetConfig() local
3370 status = HAL_OK; in HAL_OSPI_DLYB_SetConfig()
3381 status = HAL_OK; in HAL_OSPI_DLYB_SetConfig()
3397 return status; in HAL_OSPI_DLYB_SetConfig()
3408 HAL_StatusTypeDef status = HAL_ERROR; in HAL_OSPI_DLYB_GetConfig() local
3413 status = HAL_OK; in HAL_OSPI_DLYB_GetConfig()
3419 status = HAL_OK; in HAL_OSPI_DLYB_GetConfig()
3429 return status; in HAL_OSPI_DLYB_GetConfig()
3439 HAL_StatusTypeDef status = HAL_ERROR; in HAL_OSPI_DLYB_GetClockPeriod() local
3455 status = HAL_OK; in HAL_OSPI_DLYB_GetClockPeriod()
3471 status = HAL_OK; in HAL_OSPI_DLYB_GetClockPeriod()
3491 return status; in HAL_OSPI_DLYB_GetClockPeriod()