Home | History | Annotate | Download | only in rtc

Lines Matching refs:tm_hour

125 		dt->tm_hour = HOURS_12(buf[3]);
127 dt->tm_hour += 12;
129 dt->tm_hour = HOURS_24(buf[3]);
147 printf("rs5c372_convert_to_time: hour = %d\n", dt->tm_hour);
200 printf("rtc_set: tm_hour = %d\n", tmp->tm_hour);
218 if (tmp->tm_hour >= 12) { /* PM */
220 if (tmp->tm_hour == 12)
221 buf[3] = bin2bcd(tmp->tm_hour);
223 buf[3] = bin2bcd(tmp->tm_hour - 12);
227 buf[3] = bin2bcd(tmp->tm_hour);