Home
last modified time | relevance | path

Searched refs:adom (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c236 int delta, asec, amin, ahr, adom, amon; in todpc_setalarm() local
277 adom = (delta / 24) + BCD_TO_BYTE(rtc.rtc_dom); in todpc_setalarm()
280 if (adom > dpm[mon]) { in todpc_setalarm()
286 adom = dpm[mon]; in todpc_setalarm()
290 amon <= 12 && adom > dpm[amon]; amon++) { in todpc_setalarm()
291 adom -= dpm[amon]; in todpc_setalarm()
299 adom = dpm[12]; in todpc_setalarm()
305 rtc.rtc_adom = BYTE_TO_BCD(adom); in todpc_setalarm()