Lines Matching refs:tm_hour
129 tmp->tm_hour = bcd2bin (hour & 0x3F); in rtc_get()
139 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
152 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
166 rtc_write (RTC_HR_REG_ADDR, bin2bcd (tmp->tm_hour)); in rtc_set()
195 tmp.tm_hour = 0; in rtc_reset()
203 tmp.tm_hour, tmp.tm_min, tmp.tm_sec); in rtc_reset()
238 tm->tm_hour, tm->tm_min, tm->tm_sec); in ds1307_rtc_set()
247 buf[RTC_HR_REG_ADDR] = bin2bcd(tm->tm_hour); in ds1307_rtc_set()
304 tm->tm_hour = bcd2bin(buf[RTC_HR_REG_ADDR] & 0x3F); in ds1307_rtc_get()
316 tm->tm_hour, tm->tm_min, tm->tm_sec); in ds1307_rtc_get()
328 .tm_hour = 0, in ds1307_rtc_reset()
349 tmp.tm_hour, tmp.tm_min, tmp.tm_sec); in ds1307_rtc_reset()