Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/amiga/
Dconfig.c571 *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()
[all …]
/linux-2.4.37.9/arch/m68k/amiga/
Dconfig.c584 *hourp = tod_3000.hour1 * 10 + tod_3000.hour2; in a3000_gettod()
611 *hourp = (tod_2000.hour1 & 3) * 10 + tod_2000.hour2; in a2000_gettod()
617 if (!(tod_2000.hour1 & TOD2000_HOUR1_PM) && *hourp == 12) in a2000_gettod()
619 else if ((tod_2000.hour1 & TOD2000_HOUR1_PM) && *hourp != 12) in a2000_gettod()
634 t->tm_hour = tod_3000.hour1 * 10 + tod_3000.hour2; in amiga_hwclk()
646 tod_3000.hour1 = t->tm_hour / 10; in amiga_hwclk()
679 t->tm_hour = (tod_2000.hour1 & 3) * 10 + tod_2000.hour2; in amiga_hwclk()
688 if (!(tod_2000.hour1 & TOD2000_HOUR1_PM) && t->tm_hour == 12) in amiga_hwclk()
690 else if ((tod_2000.hour1 & TOD2000_HOUR1_PM) && t->tm_hour != 12) in amiga_hwclk()
699 tod_2000.hour1 = t->tm_hour / 10; in amiga_hwclk()
[all …]
/linux-2.4.37.9/include/asm-m68k/
Damigahw.h313 unsigned int :28, hour1:4; /* upper digit */ member
335 unsigned int :28, hour1:4; /* upper digit */ member