Lines Matching refs:hour1
571 *hourp = tod->hour1 * 10 + tod->hour2; in a3000_gettod()
591 *hourp = (tod->hour1 & 3) * 10 + tod->hour2; in a2000_gettod()
597 if (!(tod->hour1 & TOD2000_HOUR1_PM) && *hourp == 12) in a2000_gettod()
599 else if ((tod->hour1 & TOD2000_HOUR1_PM) && *hourp != 12) in a2000_gettod()
616 t->hour = tod->hour1 * 10 + tod->hour2; in amiga_hwclk()
628 tod->hour1 = t->hour / 10; in amiga_hwclk()
654 t->hour = (tod->hour1 & 3) * 10 + tod->hour2; in amiga_hwclk()
663 if (!(tod->hour1 & TOD2000_HOUR1_PM) && t->hour == 12) in amiga_hwclk()
665 else if ((tod->hour1 & TOD2000_HOUR1_PM) && t->hour != 12) in amiga_hwclk()
674 tod->hour1 = t->hour / 10; in amiga_hwclk()
676 tod->hour1 = TOD2000_HOUR1_PM + in amiga_hwclk()
679 tod->hour1 = t->hour / 10; in amiga_hwclk()