Home
last modified time | relevance | path

Searched refs:bcd_year (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/rtc/
Drtc-pl031.c102 unsigned long *bcd_year) in pl031_stv2_tm_to_time() argument
121 *bcd_year = (bin2bcd(year % 100) | bin2bcd(year / 100) << 8); in pl031_stv2_tm_to_time()
136 static int pl031_stv2_time_to_tm(unsigned long st_time, unsigned long bcd_year, in pl031_stv2_time_to_tm() argument
139 tm->tm_year = bcd2bin(bcd_year) + (bcd2bin(bcd_year >> 8) * 100); in pl031_stv2_time_to_tm()
166 unsigned long bcd_year; in pl031_stv2_set_time() local
170 ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year); in pl031_stv2_set_time()
172 writel(bcd_year, ldata->base + RTC_YLR); in pl031_stv2_set_time()
197 unsigned long bcd_year; in pl031_stv2_set_alarm() local
204 &time, &bcd_year); in pl031_stv2_set_alarm()
206 writel(bcd_year, ldata->base + RTC_YMR); in pl031_stv2_set_alarm()
Drtc-nuc900.c59 int bcd_year; member
127 gettm->bcd_year = bin2bcd(settm->tm_year) << 16; in nuc900_rtc_bin2bcd()
129 gettm->bcd_year = bin2bcd(settm->tm_year - 100) << 16; in nuc900_rtc_bin2bcd()
175 val = gettm.bcd_mday | gettm.bcd_mon | gettm.bcd_year; in nuc900_rtc_set_time()
208 val = tm.bcd_mday | tm.bcd_mon | tm.bcd_year; in nuc900_rtc_set_alarm()
/linux-2.6.39/arch/m68k/mvme16x/
Drtc.c57 wtime.tm_year = bcd2bin(rtc->bcd_year); in rtc_ioctl()
109 rtc->bcd_year = bin2bcd(yrs%100); in rtc_ioctl()
Dconfig.c264 t->tm_year = bcd2int (rtc->bcd_year); in mvme16x_hwclk()
/linux-2.6.39/arch/m68k/bvme6000/
Drtc.c61 wtime.tm_year = bcd2bin(rtc->bcd_year); in rtc_ioctl()
118 rtc->bcd_year = bin2bcd(yrs%100); in rtc_ioctl()
Dconfig.c284 rtc->bcd_year = bin2bcd(t->tm_year%100); in bvme6000_hwclk()
297 t->tm_year = bcd2bin(rtc->bcd_year); in bvme6000_hwclk()
/linux-2.6.39/arch/m68k/include/asm/
Dmvme16xhw.h52 bcd_year; member
Dmvme147hw.h15 bcd_year; member
Dbvme6000hw.h61 pad_l[3], bcd_year, member
/linux-2.6.39/arch/m68k/mvme147/
Dconfig.c155 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()