Searched refs:adom (Results 1 – 1 of 1) sorted by relevance
236 int delta, asec, amin, ahr, adom, amon; in todpc_setalarm() local277 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()