Searched refs:hr12 (Results 1 – 1 of 1) sorted by relevance
93 bool hr12; member121 static u8 hour2bcd(bool hr12, int hour) in hour2bcd() argument123 if (hr12) { in hour2bcd()222 *bp++ = hour2bcd(ds1305->hr12, time->tm_hour); in ds1305_set_time()357 buf[1 + DS1305_HOUR] = hour2bcd(ds1305->hr12, alm->time.tm_hour); in ds1305_set_alarm()683 ds1305->hr12 = (DS1305_HR_12 & value) != 0; in ds1305_probe()684 if (ds1305->hr12) in ds1305_probe()