Lines Matching refs:status
325 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Init() local
331 status = HAL_ERROR; in HAL_XSPI_Init()
412 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Init()
414 if (status == HAL_OK) in HAL_XSPI_Init()
448 return status; in HAL_XSPI_Init()
473 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_DeInit() local
478 status = HAL_ERROR; in HAL_XSPI_DeInit()
506 return status; in HAL_XSPI_DeInit()
796 HAL_StatusTypeDef status; in HAL_XSPI_Command() local
853 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_Command()
855 if (status == HAL_OK) in HAL_XSPI_Command()
861 status = XSPI_ConfigCmd(hxspi, pCmd); in HAL_XSPI_Command()
863 if (status == HAL_OK) in HAL_XSPI_Command()
869 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Command()
911 status = HAL_BUSY; in HAL_XSPI_Command()
916 status = HAL_ERROR; in HAL_XSPI_Command()
920 return status; in HAL_XSPI_Command()
932 HAL_StatusTypeDef status; in HAL_XSPI_Command_IT() local
981 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Command_IT()
983 if (status == HAL_OK) in HAL_XSPI_Command_IT()
992 status = XSPI_ConfigCmd(hxspi, pCmd); in HAL_XSPI_Command_IT()
994 if (status == HAL_OK) in HAL_XSPI_Command_IT()
1006 status = HAL_ERROR; in HAL_XSPI_Command_IT()
1010 return status; in HAL_XSPI_Command_IT()
1023 HAL_StatusTypeDef status; in HAL_XSPI_HyperbusCfg() local
1038 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_HyperbusCfg()
1040 if (status == HAL_OK) in HAL_XSPI_HyperbusCfg()
1052 status = HAL_BUSY; in HAL_XSPI_HyperbusCfg()
1057 status = HAL_ERROR; in HAL_XSPI_HyperbusCfg()
1061 return status; in HAL_XSPI_HyperbusCfg()
1074 HAL_StatusTypeDef status; in HAL_XSPI_HyperbusCmd() local
1087 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_HyperbusCmd()
1089 if (status == HAL_OK) in HAL_XSPI_HyperbusCmd()
1117 status = HAL_BUSY; in HAL_XSPI_HyperbusCmd()
1122 status = HAL_ERROR; in HAL_XSPI_HyperbusCmd()
1126 return status; in HAL_XSPI_HyperbusCmd()
1139 HAL_StatusTypeDef status; in HAL_XSPI_Transmit() local
1146 status = HAL_ERROR; in HAL_XSPI_Transmit()
1165 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_XSPI_Transmit()
1167 if (status != HAL_OK) in HAL_XSPI_Transmit()
1177 if (status == HAL_OK) in HAL_XSPI_Transmit()
1180 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Transmit()
1182 if (status == HAL_OK) in HAL_XSPI_Transmit()
1193 status = HAL_ERROR; in HAL_XSPI_Transmit()
1198 return status; in HAL_XSPI_Transmit()
1211 HAL_StatusTypeDef status; in HAL_XSPI_Receive() local
1220 status = HAL_ERROR; in HAL_XSPI_Receive()
1256 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, (HAL_XSPI_FLAG_FT | HAL_XSPI_FLAG_TC), SET, ticksta… in HAL_XSPI_Receive()
1258 if (status != HAL_OK) in HAL_XSPI_Receive()
1268 if (status == HAL_OK) in HAL_XSPI_Receive()
1271 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Receive()
1273 if (status == HAL_OK) in HAL_XSPI_Receive()
1284 status = HAL_ERROR; in HAL_XSPI_Receive()
1289 return status; in HAL_XSPI_Receive()
1301 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Transmit_IT() local
1306 status = HAL_ERROR; in HAL_XSPI_Transmit_IT()
1333 status = HAL_ERROR; in HAL_XSPI_Transmit_IT()
1338 return status; in HAL_XSPI_Transmit_IT()
1350 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Receive_IT() local
1357 status = HAL_ERROR; in HAL_XSPI_Receive_IT()
1401 status = HAL_ERROR; in HAL_XSPI_Receive_IT()
1406 return status; in HAL_XSPI_Receive_IT()
1422 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Transmit_DMA() local
1430 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1451 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1470 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1484 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1496 if (status == HAL_OK) in HAL_XSPI_Transmit_DMA()
1539 status = HAL_DMAEx_List_Start_IT(hxspi->hdmatx); in HAL_XSPI_Transmit_DMA()
1549 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1557 …status = HAL_DMA_Start_IT(hxspi->hdmatx, (uint32_t)pData, (uint32_t)&hxspi->Instance->DR, hxspi->X… in HAL_XSPI_Transmit_DMA()
1563 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1566 if (status == HAL_OK) in HAL_XSPI_Transmit_DMA()
1576 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1584 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1589 return status; in HAL_XSPI_Transmit_DMA()
1605 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Receive_DMA() local
1615 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1636 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1656 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1670 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1682 if (status == HAL_OK) in HAL_XSPI_Receive_DMA()
1725 status = HAL_DMAEx_List_Start_IT(hxspi->hdmarx); in HAL_XSPI_Receive_DMA()
1735 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1743 …status = HAL_DMA_Start_IT(hxspi->hdmarx, (uint32_t)&hxspi->Instance->DR, (uint32_t)pData, hxspi->X… in HAL_XSPI_Receive_DMA()
1749 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1752 if (status == HAL_OK) in HAL_XSPI_Receive_DMA()
1779 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1787 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1792 return status; in HAL_XSPI_Receive_DMA()
1806 HAL_StatusTypeDef status; in HAL_XSPI_AutoPolling() local
1824 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_AutoPolling()
1826 if (status == HAL_OK) in HAL_XSPI_AutoPolling()
1853 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_XSPI_AutoPolling()
1855 if (status == HAL_OK) in HAL_XSPI_AutoPolling()
1865 status = HAL_BUSY; in HAL_XSPI_AutoPolling()
1870 status = HAL_ERROR; in HAL_XSPI_AutoPolling()
1874 return status; in HAL_XSPI_AutoPolling()
1886 HAL_StatusTypeDef status; in HAL_XSPI_AutoPolling_IT() local
1904 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_AutoPolling_IT()
1906 if (status == HAL_OK) in HAL_XSPI_AutoPolling_IT()
1943 status = HAL_ERROR; in HAL_XSPI_AutoPolling_IT()
1947 return status; in HAL_XSPI_AutoPolling_IT()
1959 HAL_StatusTypeDef status; in HAL_XSPI_MemoryMapped() local
1969 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_MemoryMapped()
1971 if (status == HAL_OK) in HAL_XSPI_MemoryMapped()
1996 status = HAL_ERROR; in HAL_XSPI_MemoryMapped()
2000 return status; in HAL_XSPI_MemoryMapped()
2178 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_RegisterCallback() local
2231 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2249 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2258 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2261 return status; in HAL_XSPI_RegisterCallback()
2286 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_UnRegisterCallback() local
2332 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2350 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2359 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2362 return status; in HAL_XSPI_UnRegisterCallback()
2396 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Abort() local
2411 status = HAL_DMA_Abort(hxspi->hdmatx); in HAL_XSPI_Abort()
2412 if (status != HAL_OK) in HAL_XSPI_Abort()
2418 status = HAL_DMA_Abort(hxspi->hdmarx); in HAL_XSPI_Abort()
2419 if (status != HAL_OK) in HAL_XSPI_Abort()
2431 … status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, hxspi->Timeout); in HAL_XSPI_Abort()
2433 if (status == HAL_OK) in HAL_XSPI_Abort()
2439 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Abort()
2441 if (status == HAL_OK) in HAL_XSPI_Abort()
2454 status = HAL_ERROR; in HAL_XSPI_Abort()
2458 return status; in HAL_XSPI_Abort()
2468 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Abort_IT() local
2542 status = HAL_ERROR; in HAL_XSPI_Abort_IT()
2546 return status; in HAL_XSPI_Abort_IT()
2556 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetFifoThreshold() local
2572 status = HAL_ERROR; in HAL_XSPI_SetFifoThreshold()
2576 return status; in HAL_XSPI_SetFifoThreshold()
2595 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetMemoryType() local
2610 status = HAL_ERROR; in HAL_XSPI_SetMemoryType()
2614 return status; in HAL_XSPI_SetMemoryType()
2624 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetDeviceSize() local
2640 status = HAL_ERROR; in HAL_XSPI_SetDeviceSize()
2644 return status; in HAL_XSPI_SetDeviceSize()
2654 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetClockPrescaler() local
2669 status = HAL_ERROR; in HAL_XSPI_SetClockPrescaler()
2673 return status; in HAL_XSPI_SetClockPrescaler()
2735 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_SetConfig() local
2750 status = HAL_OK; in HAL_XSPI_DLYB_SetConfig()
2763 return status; in HAL_XSPI_DLYB_SetConfig()
2774 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_GetConfig() local
2779 status = HAL_OK; in HAL_XSPI_DLYB_GetConfig()
2786 return status; in HAL_XSPI_DLYB_GetConfig()
2797 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_GetClockPeriod() local
2813 status = HAL_OK; in HAL_XSPI_DLYB_GetClockPeriod()
2830 return status; in HAL_XSPI_DLYB_GetClockPeriod()
3004 HAL_StatusTypeDef status = HAL_OK; in XSPI_ConfigCmd() local
3167 status = HAL_ERROR; in XSPI_ConfigCmd()
3172 return status; in XSPI_ConfigCmd()