Lines Matching refs:commonResult

73     RTCResult commonResult;            // For saving asynchronous function processing results  member
197 rtcWork.commonResult = RTC_GetDateAsync(date, RtcGetResultCallback, NULL); in RTC_GetDate()
198 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_GetDate()
202 return rtcWork.commonResult; in RTC_GetDate()
261 rtcWork.commonResult = RTC_GetTimeAsync(time, RtcGetResultCallback, NULL); in RTC_GetTime()
262 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_GetTime()
266 return rtcWork.commonResult; in RTC_GetTime()
329 rtcWork.commonResult = RTC_GetDateTimeAsync(date, time, RtcGetResultCallback, NULL); in RTC_GetDateTime()
330 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_GetDateTime()
334 return rtcWork.commonResult; in RTC_GetDateTime()
398 rtcWork.commonResult = RTC_SetDateAsync(date, RtcGetResultCallback, NULL); in RTC_SetDate()
399 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_SetDate()
403 return rtcWork.commonResult; in RTC_SetDate()
467 rtcWork.commonResult = RTC_SetTimeAsync(time, RtcGetResultCallback, NULL); in RTC_SetTime()
468 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_SetTime()
472 return rtcWork.commonResult; in RTC_SetTime()
544 rtcWork.commonResult = RTC_SetDateTimeAsync(date, time, RtcGetResultCallback, NULL); in RTC_SetDateTime()
545 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_SetDateTime()
549 return rtcWork.commonResult; in RTC_SetDateTime()
616 rtcWork.commonResult = RTCi_SetRegStatus2Async(status2, RtcGetResultCallback, NULL); in RTCi_SetRegStatus2()
617 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTCi_SetRegStatus2()
621 return rtcWork.commonResult; in RTCi_SetRegStatus2()
686 rtcWork.commonResult = RTCi_SetRegAdjustAsync(Adjust, RtcGetResultCallback, NULL); in RTCi_SetRegAdjust()
687 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTCi_SetRegAdjust()
691 return rtcWork.commonResult; in RTCi_SetRegAdjust()
768 rtcWork.commonResult = RTC_GetAlarmStatusAsync(chan, status, RtcGetResultCallback, NULL); in RTC_GetAlarmStatus()
769 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_GetAlarmStatus()
773 return rtcWork.commonResult; in RTC_GetAlarmStatus()
853 rtcWork.commonResult = RTC_GetAlarmParamAsync(chan, param, RtcGetResultCallback, NULL); in RTC_GetAlarmParam()
854 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_GetAlarmParam()
858 return rtcWork.commonResult; in RTC_GetAlarmParam()
953 rtcWork.commonResult = RTC_SetAlarmStatusAsync(chan, status, RtcGetResultCallback, NULL); in RTC_SetAlarmStatus()
954 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_SetAlarmStatus()
958 return rtcWork.commonResult; in RTC_SetAlarmStatus()
1045 rtcWork.commonResult = RTC_SetAlarmParamAsync(chan, param, RtcGetResultCallback, NULL); in RTC_SetAlarmParam()
1046 if (rtcWork.commonResult == RTC_RESULT_SUCCESS) in RTC_SetAlarmParam()
1050 return rtcWork.commonResult; in RTC_SetAlarmParam()
1714 rtcWork.commonResult = result; in RtcGetResultCallback()