Lines Matching refs:TIME_NUM
57 #define TIME_NUM 8
86 if (len < TIME_NUM)
117 if (len < TIME_NUM)
156 unsigned char buf[TIME_NUM];
159 ret = max8925_bulk_read(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf);
162 ret = tm_calc(tm, buf, TIME_NUM);
170 unsigned char buf[TIME_NUM];
173 ret = data_calc(buf, tm, TIME_NUM);
176 ret = max8925_bulk_write(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf);
184 unsigned char buf[TIME_NUM];
187 ret = max8925_bulk_read(info->rtc, MAX8925_ALARM0_SEC, TIME_NUM, buf);
190 ret = tm_calc(&alrm->time, buf, TIME_NUM);
214 unsigned char buf[TIME_NUM];
217 ret = data_calc(buf, &alrm->time, TIME_NUM);
220 ret = max8925_bulk_write(info->rtc, MAX8925_ALARM0_SEC, TIME_NUM, buf);