Searched refs:hour2bcd (Results 1 – 1 of 1) sorted by relevance
121 static u8 hour2bcd(bool hr12, int hour) in hour2bcd() function222 *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()