Lines Matching refs:REG_B_DM
85 if ((cmos_read(RTC_REG_B) & REG_B_DM) == 0) { in cmos_get_date_time()
265 cmos_write(RTC_REG_B, REG_B_24H | REG_B_DM); in dec_check_time()
279 cmos_write(RTC_REG_B, REG_B_24H | REG_B_DM); in alarm_time()
345 if (mode & REG_B_DM) { in set_datetime()
411 set_time(REG_B_DM, 0x81, 59, 0); in basic_12h_dec()
418 set_time(REG_B_DM, 0x8c, 59, 59); in basic_12h_dec()
423 set_time(REG_B_DM, 0x0c, 59, 59); in basic_12h_dec()
428 set_time(REG_B_DM, 0x0b, 59, 59); in basic_12h_dec()
433 set_time(REG_B_DM, 0x8b, 59, 59); in basic_12h_dec()
462 set_time(REG_B_24H | REG_B_DM, 9, 59, 0); in basic_24h_dec()
469 set_time(REG_B_24H | REG_B_DM, 9, 59, 0); in basic_24h_dec()
474 set_time(REG_B_24H | REG_B_DM, 23, 59, 0); in basic_24h_dec()
512 cmos_write(RTC_REG_B, REG_B_DM); in am_pm_alarm()