Lines Matching refs:status
302 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_Init() local
307 status = HAL_ERROR; in HAL_MDF_Init()
319 status = HAL_ERROR; in HAL_MDF_Init()
363 status = HAL_ERROR; in HAL_MDF_Init()
412 if ((status == HAL_OK) && (hmdf->Init.SerialInterface.Activation == ENABLE)) in HAL_MDF_Init()
417 status = HAL_ERROR; in HAL_MDF_Init()
434 if (status == HAL_OK) in HAL_MDF_Init()
459 return status; in HAL_MDF_Init()
469 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_DeInit() local
474 status = HAL_ERROR; in HAL_MDF_DeInit()
484 status = HAL_ERROR; in HAL_MDF_DeInit()
568 return status; in HAL_MDF_DeInit()
618 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_RegisterCallback() local
625 status = HAL_ERROR; in HAL_MDF_RegisterCallback()
654 status = HAL_ERROR; in HAL_MDF_RegisterCallback()
671 status = HAL_ERROR; in HAL_MDF_RegisterCallback()
679 status = HAL_ERROR; in HAL_MDF_RegisterCallback()
684 return status; in HAL_MDF_RegisterCallback()
704 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_UnRegisterCallback() local
731 status = HAL_ERROR; in HAL_MDF_UnRegisterCallback()
748 status = HAL_ERROR; in HAL_MDF_UnRegisterCallback()
756 status = HAL_ERROR; in HAL_MDF_UnRegisterCallback()
760 return status; in HAL_MDF_UnRegisterCallback()
774 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_RegisterOldCallback() local
781 status = HAL_ERROR; in HAL_MDF_RegisterOldCallback()
793 status = HAL_ERROR; in HAL_MDF_RegisterOldCallback()
798 return status; in HAL_MDF_RegisterOldCallback()
810 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_UnRegisterOldCallback() local
820 status = HAL_ERROR; in HAL_MDF_UnRegisterOldCallback()
824 return status; in HAL_MDF_UnRegisterOldCallback()
838 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_RegisterSndLvlCallback() local
845 status = HAL_ERROR; in HAL_MDF_RegisterSndLvlCallback()
857 status = HAL_ERROR; in HAL_MDF_RegisterSndLvlCallback()
862 return status; in HAL_MDF_RegisterSndLvlCallback()
874 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_UnRegisterSndLvlCallback() local
884 status = HAL_ERROR; in HAL_MDF_UnRegisterSndLvlCallback()
888 return status; in HAL_MDF_UnRegisterSndLvlCallback()
922 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStart() local
927 status = HAL_ERROR; in HAL_MDF_AcqStart()
945 status = HAL_ERROR; in HAL_MDF_AcqStart()
950 status = HAL_ERROR; in HAL_MDF_AcqStart()
955 status = HAL_ERROR; in HAL_MDF_AcqStart()
964 status = HAL_ERROR; in HAL_MDF_AcqStart()
969 if (status == HAL_OK) in HAL_MDF_AcqStart()
977 status = HAL_ERROR; in HAL_MDF_AcqStart()
981 if (status == HAL_OK) in HAL_MDF_AcqStart()
991 return status; in HAL_MDF_AcqStart()
1002 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForAcq() local
1007 status = HAL_ERROR; in HAL_MDF_PollForAcq()
1014 … while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_RXNEF) != MDF_DFLTISR_RXNEF) && (status == HAL_OK)) in HAL_MDF_PollForAcq()
1021 status = HAL_TIMEOUT; in HAL_MDF_PollForAcq()
1055 if (status == HAL_OK) in HAL_MDF_PollForAcq()
1066 return status; in HAL_MDF_PollForAcq()
1078 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForSnapshotAcq() local
1083 status = HAL_ERROR; in HAL_MDF_PollForSnapshotAcq()
1090 … while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_SSDRF) != MDF_DFLTISR_SSDRF) && (status == HAL_OK)) in HAL_MDF_PollForSnapshotAcq()
1097 status = HAL_TIMEOUT; in HAL_MDF_PollForSnapshotAcq()
1133 return status; in HAL_MDF_PollForSnapshotAcq()
1144 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GetAcqValue() local
1149 status = HAL_ERROR; in HAL_MDF_GetAcqValue()
1158 status = HAL_ERROR; in HAL_MDF_GetAcqValue()
1163 if (status == HAL_OK) in HAL_MDF_GetAcqValue()
1170 return status; in HAL_MDF_GetAcqValue()
1182 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GetSnapshotAcqValue() local
1187 status = HAL_ERROR; in HAL_MDF_GetSnapshotAcqValue()
1192 status = HAL_ERROR; in HAL_MDF_GetSnapshotAcqValue()
1226 return status; in HAL_MDF_GetSnapshotAcqValue()
1236 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStop() local
1246 status = HAL_ERROR; in HAL_MDF_AcqStop()
1251 status = HAL_ERROR; in HAL_MDF_AcqStop()
1266 if (status == HAL_OK) in HAL_MDF_AcqStop()
1288 return status; in HAL_MDF_AcqStop()
1299 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStart_IT() local
1304 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1322 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1327 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1332 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1341 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1346 if (status == HAL_OK) in HAL_MDF_AcqStart_IT()
1354 status = HAL_ERROR; in HAL_MDF_AcqStart_IT()
1358 if (status == HAL_OK) in HAL_MDF_AcqStart_IT()
1401 return status; in HAL_MDF_AcqStart_IT()
1411 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStop_IT() local
1421 status = HAL_ERROR; in HAL_MDF_AcqStop_IT()
1426 status = HAL_ERROR; in HAL_MDF_AcqStop_IT()
1441 if (status == HAL_OK) in HAL_MDF_AcqStop_IT()
1467 return status; in HAL_MDF_AcqStop_IT()
1480 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStart_DMA() local
1485 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1504 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1508 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1513 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1518 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1527 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1532 if (status == HAL_OK) in HAL_MDF_AcqStart_DMA()
1540 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1544 if (status == HAL_OK) in HAL_MDF_AcqStart_DMA()
1583 status = HAL_DMAEx_List_Start_IT(hmdf->hdma); in HAL_MDF_AcqStart_DMA()
1587 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1592 … status = HAL_DMA_Start_IT(hmdf->hdma, SrcAddress, pDmaConfig->Address, pDmaConfig->DataLength); in HAL_MDF_AcqStart_DMA()
1594 if (status != HAL_OK) in HAL_MDF_AcqStart_DMA()
1598 status = HAL_ERROR; in HAL_MDF_AcqStart_DMA()
1610 return status; in HAL_MDF_AcqStart_DMA()
1620 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_AcqStop_DMA() local
1627 status = HAL_ERROR; in HAL_MDF_AcqStop_DMA()
1635 status = HAL_ERROR; in HAL_MDF_AcqStop_DMA()
1644 status = HAL_ERROR; in HAL_MDF_AcqStop_DMA()
1649 if (status == HAL_OK) in HAL_MDF_AcqStop_DMA()
1685 return status; in HAL_MDF_AcqStop_DMA()
1695 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GenerateTrgo() local
1702 status = HAL_ERROR; in HAL_MDF_GenerateTrgo()
1706 if (status == HAL_OK) in HAL_MDF_GenerateTrgo()
1716 status = HAL_ERROR; in HAL_MDF_GenerateTrgo()
1726 return status; in HAL_MDF_GenerateTrgo()
1738 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_SetDelay() local
1746 status = HAL_ERROR; in HAL_MDF_SetDelay()
1753 status = HAL_ERROR; in HAL_MDF_SetDelay()
1763 return status; in HAL_MDF_SetDelay()
1775 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GetDelay() local
1780 status = HAL_ERROR; in HAL_MDF_GetDelay()
1785 status = HAL_ERROR; in HAL_MDF_GetDelay()
1794 return status; in HAL_MDF_GetDelay()
1806 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_SetGain() local
1814 status = HAL_ERROR; in HAL_MDF_SetGain()
1840 return status; in HAL_MDF_SetGain()
1852 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GetGain() local
1857 status = HAL_ERROR; in HAL_MDF_GetGain()
1862 status = HAL_ERROR; in HAL_MDF_GetGain()
1884 return status; in HAL_MDF_GetGain()
1897 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_SetOffset() local
1906 status = HAL_ERROR; in HAL_MDF_SetOffset()
1915 return status; in HAL_MDF_SetOffset()
1928 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_GetOffset() local
1934 status = HAL_ERROR; in HAL_MDF_GetOffset()
1939 status = HAL_ERROR; in HAL_MDF_GetOffset()
1961 return status; in HAL_MDF_GetOffset()
1978 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForSndLvl() local
1984 status = HAL_ERROR; in HAL_MDF_PollForSndLvl()
1989 status = HAL_ERROR; in HAL_MDF_PollForSndLvl()
1994 status = HAL_ERROR; in HAL_MDF_PollForSndLvl()
2001 …while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_SDLVLF) != MDF_DFLTISR_SDLVLF) && (status == HAL_OK… in HAL_MDF_PollForSndLvl()
2008 status = HAL_TIMEOUT; in HAL_MDF_PollForSndLvl()
2013 if (status == HAL_OK) in HAL_MDF_PollForSndLvl()
2027 return status; in HAL_MDF_PollForSndLvl()
2039 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForSad() local
2047 status = HAL_ERROR; in HAL_MDF_PollForSad()
2052 status = HAL_ERROR; in HAL_MDF_PollForSad()
2059 …while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_SDDETF) != MDF_DFLTISR_SDDETF) && (status == HAL_OK… in HAL_MDF_PollForSad()
2066 status = HAL_TIMEOUT; in HAL_MDF_PollForSad()
2071 if (status == HAL_OK) in HAL_MDF_PollForSad()
2079 return status; in HAL_MDF_PollForSad()
2170 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForCkab() local
2177 status = HAL_ERROR; in HAL_MDF_PollForCkab()
2181 if (status == HAL_OK) in HAL_MDF_PollForCkab()
2186 status = HAL_ERROR; in HAL_MDF_PollForCkab()
2192 status = HAL_ERROR; in HAL_MDF_PollForCkab()
2197 if (status == HAL_OK) in HAL_MDF_PollForCkab()
2202 … while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_CKABF) != MDF_DFLTISR_CKABF) && (status == HAL_OK)) in HAL_MDF_PollForCkab()
2209 status = HAL_TIMEOUT; in HAL_MDF_PollForCkab()
2214 if (status == HAL_OK) in HAL_MDF_PollForCkab()
2222 return status; in HAL_MDF_PollForCkab()
2232 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_CkabStart_IT() local
2239 status = HAL_ERROR; in HAL_MDF_CkabStart_IT()
2243 if (status == HAL_OK) in HAL_MDF_CkabStart_IT()
2248 status = HAL_ERROR; in HAL_MDF_CkabStart_IT()
2254 status = HAL_ERROR; in HAL_MDF_CkabStart_IT()
2259 if (status == HAL_OK) in HAL_MDF_CkabStart_IT()
2267 status = HAL_ERROR; in HAL_MDF_CkabStart_IT()
2277 return status; in HAL_MDF_CkabStart_IT()
2287 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_CkabStop_IT() local
2294 status = HAL_ERROR; in HAL_MDF_CkabStop_IT()
2298 if (status == HAL_OK) in HAL_MDF_CkabStop_IT()
2303 status = HAL_ERROR; in HAL_MDF_CkabStop_IT()
2309 status = HAL_ERROR; in HAL_MDF_CkabStop_IT()
2314 if (status == HAL_OK) in HAL_MDF_CkabStop_IT()
2324 return status; in HAL_MDF_CkabStop_IT()
2355 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_ScdStart() local
2360 status = HAL_ERROR; in HAL_MDF_ScdStart()
2373 status = HAL_ERROR; in HAL_MDF_ScdStart()
2377 if (status == HAL_OK) in HAL_MDF_ScdStart()
2382 status = HAL_ERROR; in HAL_MDF_ScdStart()
2397 return status; in HAL_MDF_ScdStart()
2409 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForScd() local
2419 status = HAL_ERROR; in HAL_MDF_PollForScd()
2423 if (status == HAL_OK) in HAL_MDF_PollForScd()
2428 status = HAL_ERROR; in HAL_MDF_PollForScd()
2435 … while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_SCDF) != MDF_DFLTISR_SCDF) && (status == HAL_OK)) in HAL_MDF_PollForScd()
2442 status = HAL_TIMEOUT; in HAL_MDF_PollForScd()
2447 if (status == HAL_OK) in HAL_MDF_PollForScd()
2456 return status; in HAL_MDF_PollForScd()
2467 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_ScdStop() local
2477 status = HAL_ERROR; in HAL_MDF_ScdStop()
2481 if (status == HAL_OK) in HAL_MDF_ScdStop()
2486 status = HAL_ERROR; in HAL_MDF_ScdStop()
2499 return status; in HAL_MDF_ScdStop()
2511 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_ScdStart_IT() local
2516 status = HAL_ERROR; in HAL_MDF_ScdStart_IT()
2529 status = HAL_ERROR; in HAL_MDF_ScdStart_IT()
2533 if (status == HAL_OK) in HAL_MDF_ScdStart_IT()
2538 status = HAL_ERROR; in HAL_MDF_ScdStart_IT()
2556 return status; in HAL_MDF_ScdStart_IT()
2567 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_ScdStop_IT() local
2577 status = HAL_ERROR; in HAL_MDF_ScdStop_IT()
2581 if (status == HAL_OK) in HAL_MDF_ScdStop_IT()
2586 status = HAL_ERROR; in HAL_MDF_ScdStop_IT()
2602 return status; in HAL_MDF_ScdStop_IT()
2633 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_OldStart() local
2638 status = HAL_ERROR; in HAL_MDF_OldStart()
2651 status = HAL_ERROR; in HAL_MDF_OldStart()
2660 status = HAL_ERROR; in HAL_MDF_OldStart()
2665 if (status == HAL_OK) in HAL_MDF_OldStart()
2670 status = HAL_ERROR; in HAL_MDF_OldStart()
2680 status = HAL_ERROR; in HAL_MDF_OldStart()
2689 if (status == HAL_OK) in HAL_MDF_OldStart()
2708 return status; in HAL_MDF_OldStart()
2722 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_PollForOld() local
2728 status = HAL_ERROR; in HAL_MDF_PollForOld()
2737 status = HAL_ERROR; in HAL_MDF_PollForOld()
2742 if (status == HAL_OK) in HAL_MDF_PollForOld()
2747 status = HAL_ERROR; in HAL_MDF_PollForOld()
2754 … while (((hmdf->Instance->DFLTISR & MDF_DFLTISR_OLDF) != MDF_DFLTISR_OLDF) && (status == HAL_OK)) in HAL_MDF_PollForOld()
2761 status = HAL_TIMEOUT; in HAL_MDF_PollForOld()
2766 if (status == HAL_OK) in HAL_MDF_PollForOld()
2789 return status; in HAL_MDF_PollForOld()
2800 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_OldStop() local
2810 status = HAL_ERROR; in HAL_MDF_OldStop()
2814 if (status == HAL_OK) in HAL_MDF_OldStop()
2819 status = HAL_ERROR; in HAL_MDF_OldStop()
2832 return status; in HAL_MDF_OldStop()
2844 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_OldStart_IT() local
2849 status = HAL_ERROR; in HAL_MDF_OldStart_IT()
2862 status = HAL_ERROR; in HAL_MDF_OldStart_IT()
2871 status = HAL_ERROR; in HAL_MDF_OldStart_IT()
2876 if (status == HAL_OK) in HAL_MDF_OldStart_IT()
2881 status = HAL_ERROR; in HAL_MDF_OldStart_IT()
2891 status = HAL_ERROR; in HAL_MDF_OldStart_IT()
2900 if (status == HAL_OK) in HAL_MDF_OldStart_IT()
2922 return status; in HAL_MDF_OldStart_IT()
2933 HAL_StatusTypeDef status = HAL_OK; in HAL_MDF_OldStop_IT() local
2943 status = HAL_ERROR; in HAL_MDF_OldStop_IT()
2947 if (status == HAL_OK) in HAL_MDF_OldStop_IT()
2952 status = HAL_ERROR; in HAL_MDF_OldStop_IT()
2968 return status; in HAL_MDF_OldStop_IT()