Lines Matching refs:status
355 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Init() local
361 status = HAL_ERROR; in HAL_XSPI_Init()
462 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Init()
464 if (status == HAL_OK) in HAL_XSPI_Init()
475 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Init()
476 if (status != HAL_OK) in HAL_XSPI_Init()
478 return status; in HAL_XSPI_Init()
510 return status; in HAL_XSPI_Init()
535 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_DeInit() local
540 status = HAL_ERROR; in HAL_XSPI_DeInit()
568 return status; in HAL_XSPI_DeInit()
858 HAL_StatusTypeDef status; in HAL_XSPI_Command() local
943 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_Command()
945 if (status == HAL_OK) in HAL_XSPI_Command()
951 status = XSPI_ConfigCmd(hxspi, pCmd); in HAL_XSPI_Command()
953 if (status == HAL_OK) in HAL_XSPI_Command()
959 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Command()
1001 status = HAL_BUSY; in HAL_XSPI_Command()
1006 status = HAL_ERROR; in HAL_XSPI_Command()
1010 return status; in HAL_XSPI_Command()
1022 HAL_StatusTypeDef status; in HAL_XSPI_Command_IT() local
1102 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Command_IT()
1104 if (status == HAL_OK) in HAL_XSPI_Command_IT()
1113 status = XSPI_ConfigCmd(hxspi, pCmd); in HAL_XSPI_Command_IT()
1115 if (status == HAL_OK) in HAL_XSPI_Command_IT()
1127 status = HAL_ERROR; in HAL_XSPI_Command_IT()
1131 return status; in HAL_XSPI_Command_IT()
1144 HAL_StatusTypeDef status; in HAL_XSPI_HyperbusCfg() local
1159 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_HyperbusCfg()
1161 if (status == HAL_OK) in HAL_XSPI_HyperbusCfg()
1173 status = HAL_BUSY; in HAL_XSPI_HyperbusCfg()
1178 status = HAL_ERROR; in HAL_XSPI_HyperbusCfg()
1182 return status; in HAL_XSPI_HyperbusCfg()
1195 HAL_StatusTypeDef status; in HAL_XSPI_HyperbusCmd() local
1218 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_HyperbusCmd()
1220 if (status == HAL_OK) in HAL_XSPI_HyperbusCmd()
1265 status = HAL_BUSY; in HAL_XSPI_HyperbusCmd()
1270 status = HAL_ERROR; in HAL_XSPI_HyperbusCmd()
1274 return status; in HAL_XSPI_HyperbusCmd()
1287 HAL_StatusTypeDef status; in HAL_XSPI_Transmit() local
1294 status = HAL_ERROR; in HAL_XSPI_Transmit()
1313 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_FT, SET, tickstart, Timeout); in HAL_XSPI_Transmit()
1315 if (status != HAL_OK) in HAL_XSPI_Transmit()
1325 if (status == HAL_OK) in HAL_XSPI_Transmit()
1328 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Transmit()
1330 if (status == HAL_OK) in HAL_XSPI_Transmit()
1341 status = HAL_ERROR; in HAL_XSPI_Transmit()
1346 return status; in HAL_XSPI_Transmit()
1359 HAL_StatusTypeDef status; in HAL_XSPI_Receive() local
1368 status = HAL_ERROR; in HAL_XSPI_Receive()
1404 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, (HAL_XSPI_FLAG_FT | HAL_XSPI_FLAG_TC), SET, ticksta… in HAL_XSPI_Receive()
1406 if (status != HAL_OK) in HAL_XSPI_Receive()
1416 if (status == HAL_OK) in HAL_XSPI_Receive()
1419 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_XSPI_Receive()
1421 if (status == HAL_OK) in HAL_XSPI_Receive()
1432 status = HAL_ERROR; in HAL_XSPI_Receive()
1437 return status; in HAL_XSPI_Receive()
1449 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Transmit_IT() local
1454 status = HAL_ERROR; in HAL_XSPI_Transmit_IT()
1481 status = HAL_ERROR; in HAL_XSPI_Transmit_IT()
1486 return status; in HAL_XSPI_Transmit_IT()
1498 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Receive_IT() local
1505 status = HAL_ERROR; in HAL_XSPI_Receive_IT()
1549 status = HAL_ERROR; in HAL_XSPI_Receive_IT()
1554 return status; in HAL_XSPI_Receive_IT()
1570 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Transmit_DMA() local
1578 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1599 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1618 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1632 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1644 if (status == HAL_OK) in HAL_XSPI_Transmit_DMA()
1687 status = HAL_DMAEx_List_Start_IT(hxspi->hdmatx); in HAL_XSPI_Transmit_DMA()
1697 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1705 …status = HAL_DMA_Start_IT(hxspi->hdmatx, (uint32_t)pData, (uint32_t)&hxspi->Instance->DR, hxspi->X… in HAL_XSPI_Transmit_DMA()
1711 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1714 if (status == HAL_OK) in HAL_XSPI_Transmit_DMA()
1724 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1732 status = HAL_ERROR; in HAL_XSPI_Transmit_DMA()
1737 return status; in HAL_XSPI_Transmit_DMA()
1753 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Receive_DMA() local
1763 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1784 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1804 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1818 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1830 if (status == HAL_OK) in HAL_XSPI_Receive_DMA()
1873 status = HAL_DMAEx_List_Start_IT(hxspi->hdmarx); in HAL_XSPI_Receive_DMA()
1883 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1891 …status = HAL_DMA_Start_IT(hxspi->hdmarx, (uint32_t)&hxspi->Instance->DR, (uint32_t)pData, hxspi->X… in HAL_XSPI_Receive_DMA()
1897 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1900 if (status == HAL_OK) in HAL_XSPI_Receive_DMA()
1927 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1935 status = HAL_ERROR; in HAL_XSPI_Receive_DMA()
1940 return status; in HAL_XSPI_Receive_DMA()
1954 HAL_StatusTypeDef status; in HAL_XSPI_AutoPolling() local
1972 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_XSPI_AutoPolling()
1974 if (status == HAL_OK) in HAL_XSPI_AutoPolling()
2001 status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_SM, SET, tickstart, Timeout); in HAL_XSPI_AutoPolling()
2003 if (status == HAL_OK) in HAL_XSPI_AutoPolling()
2013 status = HAL_BUSY; in HAL_XSPI_AutoPolling()
2018 status = HAL_ERROR; in HAL_XSPI_AutoPolling()
2022 return status; in HAL_XSPI_AutoPolling()
2034 HAL_StatusTypeDef status; in HAL_XSPI_AutoPolling_IT() local
2052 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_AutoPolling_IT()
2054 if (status == HAL_OK) in HAL_XSPI_AutoPolling_IT()
2091 status = HAL_ERROR; in HAL_XSPI_AutoPolling_IT()
2095 return status; in HAL_XSPI_AutoPolling_IT()
2107 HAL_StatusTypeDef status; in HAL_XSPI_MemoryMapped() local
2117 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_MemoryMapped()
2119 if (status == HAL_OK) in HAL_XSPI_MemoryMapped()
2144 status = HAL_ERROR; in HAL_XSPI_MemoryMapped()
2148 return status; in HAL_XSPI_MemoryMapped()
2326 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_RegisterCallback() local
2379 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2397 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2406 status = HAL_ERROR; in HAL_XSPI_RegisterCallback()
2409 return status; in HAL_XSPI_RegisterCallback()
2434 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_UnRegisterCallback() local
2480 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2498 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2507 status = HAL_ERROR; in HAL_XSPI_UnRegisterCallback()
2510 return status; in HAL_XSPI_UnRegisterCallback()
2544 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Abort() local
2559 status = HAL_DMA_Abort(hxspi->hdmatx); in HAL_XSPI_Abort()
2560 if (status != HAL_OK) in HAL_XSPI_Abort()
2566 status = HAL_DMA_Abort(hxspi->hdmarx); in HAL_XSPI_Abort()
2567 if (status != HAL_OK) in HAL_XSPI_Abort()
2579 … status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_TC, SET, tickstart, hxspi->Timeout); in HAL_XSPI_Abort()
2581 if (status == HAL_OK) in HAL_XSPI_Abort()
2587 …status = XSPI_WaitFlagStateUntilTimeout(hxspi, HAL_XSPI_FLAG_BUSY, RESET, tickstart, hxspi->Timeou… in HAL_XSPI_Abort()
2589 if (status == HAL_OK) in HAL_XSPI_Abort()
2602 status = HAL_ERROR; in HAL_XSPI_Abort()
2606 return status; in HAL_XSPI_Abort()
2616 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_Abort_IT() local
2690 status = HAL_ERROR; in HAL_XSPI_Abort_IT()
2694 return status; in HAL_XSPI_Abort_IT()
2704 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetFifoThreshold() local
2734 status = HAL_ERROR; in HAL_XSPI_SetFifoThreshold()
2738 return status; in HAL_XSPI_SetFifoThreshold()
2757 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetMemoryType() local
2772 status = HAL_ERROR; in HAL_XSPI_SetMemoryType()
2776 return status; in HAL_XSPI_SetMemoryType()
2786 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetDeviceSize() local
2802 status = HAL_ERROR; in HAL_XSPI_SetDeviceSize()
2806 return status; in HAL_XSPI_SetDeviceSize()
2816 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetClockPrescaler() local
2831 status = HAL_ERROR; in HAL_XSPI_SetClockPrescaler()
2835 return status; in HAL_XSPI_SetClockPrescaler()
2899 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPIM_Config() local
3131 return status; in HAL_XSPIM_Config()
3162 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_SetConfig() local
3177 status = HAL_OK; in HAL_XSPI_DLYB_SetConfig()
3187 status = HAL_OK; in HAL_XSPI_DLYB_SetConfig()
3201 return status; in HAL_XSPI_DLYB_SetConfig()
3212 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_GetConfig() local
3217 status = HAL_OK; in HAL_XSPI_DLYB_GetConfig()
3223 status = HAL_OK; in HAL_XSPI_DLYB_GetConfig()
3231 return status; in HAL_XSPI_DLYB_GetConfig()
3242 HAL_StatusTypeDef status = HAL_ERROR; in HAL_XSPI_DLYB_GetClockPeriod() local
3258 status = HAL_OK; in HAL_XSPI_DLYB_GetClockPeriod()
3273 status = HAL_OK; in HAL_XSPI_DLYB_GetClockPeriod()
3291 return status; in HAL_XSPI_DLYB_GetClockPeriod()
3323 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_GetDelayValue() local
3347 status = HAL_ERROR; in HAL_XSPI_GetDelayValue()
3352 if (status == HAL_OK) in HAL_XSPI_GetDelayValue()
3360 status = HAL_ERROR; in HAL_XSPI_GetDelayValue()
3364 return status; in HAL_XSPI_GetDelayValue()
3375 HAL_StatusTypeDef status = HAL_OK; in HAL_XSPI_SetDelayValue() local
3402 status = HAL_ERROR; in HAL_XSPI_SetDelayValue()
3409 status = HAL_ERROR; in HAL_XSPI_SetDelayValue()
3415 status = HAL_ERROR; in HAL_XSPI_SetDelayValue()
3419 return status; in HAL_XSPI_SetDelayValue()
3598 HAL_StatusTypeDef status = HAL_OK; in XSPI_ConfigCmd() local
3779 status = HAL_ERROR; in XSPI_ConfigCmd()
3784 return status; in XSPI_ConfigCmd()