Lines Matching refs:hr
779 u32 sec, min, hr; in acpi_system_read_alarm() local
791 hr = CMOS_READ(RTC_HOURS_ALARM); in acpi_system_read_alarm()
816 BCD_TO_BIN(hr); in acpi_system_read_alarm()
848 p += (hr > 23) ? sprintf(p, "**:") : sprintf(p, "%2.2u:", hr); in acpi_system_read_alarm()
903 u32 sec, min, hr, day, mo, yr; in acpi_system_write_alarm() local
929 if ((result = get_date_field(&p, &hr))) in acpi_system_write_alarm()
941 hr += 1; in acpi_system_write_alarm()
944 if (hr > 23) { in acpi_system_write_alarm()
946 hr -= 24; in acpi_system_write_alarm()
964 BIN_TO_BCD(hr); in acpi_system_write_alarm()
973 hr += CMOS_READ(RTC_HOURS); in acpi_system_write_alarm()
984 BCD_TO_BIN(hr); in acpi_system_write_alarm()
994 hr++; in acpi_system_write_alarm()
997 if (hr > 23) { in acpi_system_write_alarm()
999 hr -= 24; in acpi_system_write_alarm()
1013 BIN_TO_BCD(hr); in acpi_system_write_alarm()
1021 CMOS_WRITE(hr, RTC_HOURS_ALARM); in acpi_system_write_alarm()