Searched refs:hr12 (Results 1 – 1 of 1) sorted by relevance
97 bool hr12; member125 static u8 hour2bcd(bool hr12, int hour) in hour2bcd() argument127 if (hr12) { in hour2bcd()229 *bp++ = hour2bcd(ds1305->hr12, time->tm_hour); in ds1305_set_time()377 buf[1 + DS1305_HOUR] = hour2bcd(ds1305->hr12, alm->time.tm_hour); in ds1305_set_alarm()735 ds1305->hr12 = (DS1305_HR_12 & value) != 0; in ds1305_probe()736 if (ds1305->hr12) in ds1305_probe()