Lines Matching defs:error
18 int error;
24 error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret);
26 wait_time = rtas_busy_delay_time(error);
33 if (error != 0) {
35 "error: reading the clock failed (%d)\n",
36 error);
43 /* NOTE: get_rtc_time will get an error if executed in interrupt context
50 int error;
56 error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret);
58 wait_time = rtas_busy_delay_time(error);
63 "error: reading clock "
71 if (error != 0) {
73 "error: reading the clock failed (%d)\n",
74 error);
88 int error, wait_time;
93 error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_OF_DAY), 7, 1, NULL,
98 wait_time = rtas_busy_delay_time(error);
106 if (error != 0)
108 "error: setting the clock failed (%d)\n",
109 error);