Lines Matching defs:TIME_NUM
54 #define TIME_NUM 8
84 if (len < TIME_NUM)
115 if (len < TIME_NUM)
154 unsigned char buf[TIME_NUM];
157 ret = max8925_bulk_read(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf);
160 ret = tm_calc(tm, buf, TIME_NUM);
168 unsigned char buf[TIME_NUM];
171 ret = data_calc(buf, tm, TIME_NUM);
174 ret = max8925_bulk_write(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf);
182 unsigned char buf[TIME_NUM];
185 ret = max8925_bulk_read(info->rtc, MAX8925_ALARM0_SEC, TIME_NUM, buf);
188 ret = tm_calc(&alrm->time, buf, TIME_NUM);
220 unsigned char buf[TIME_NUM];
223 ret = data_calc(buf, &alrm->time, TIME_NUM);
226 ret = max8925_bulk_write(info->rtc, MAX8925_ALARM0_SEC, TIME_NUM, buf);