Searched refs:bcd_year (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-pl031.c | 117 unsigned long *bcd_year) in pl031_stv2_tm_to_time() argument 134 *bcd_year = (bin2bcd(year % 100) | bin2bcd(year / 100) << 8); in pl031_stv2_tm_to_time() 149 static int pl031_stv2_time_to_tm(unsigned long st_time, unsigned long bcd_year, in pl031_stv2_time_to_tm() argument 152 tm->tm_year = bcd2bin(bcd_year) + (bcd2bin(bcd_year >> 8) * 100); in pl031_stv2_time_to_tm() 179 unsigned long bcd_year; in pl031_stv2_set_time() local 183 ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year); in pl031_stv2_set_time() 185 writel(bcd_year, ldata->base + RTC_YLR); in pl031_stv2_set_time() 210 unsigned long bcd_year; in pl031_stv2_set_alarm() local 214 &time, &bcd_year); in pl031_stv2_set_alarm() 216 writel(bcd_year, ldata->base + RTC_YMR); in pl031_stv2_set_alarm()
|
/linux-6.3-rc2/arch/m68k/mvme16x/ |
A D | rtc.c | 57 wtime.tm_year = bcd2bin(rtc->bcd_year); in rtc_ioctl() 109 rtc->bcd_year = bin2bcd(yrs%100); in rtc_ioctl()
|
A D | config.c | 441 t->tm_year = bcd2int (rtc->bcd_year); in mvme16x_hwclk()
|
/linux-6.3-rc2/arch/m68k/bvme6000/ |
A D | rtc.c | 61 wtime.tm_year = bcd2bin(rtc->bcd_year); in rtc_ioctl() 118 rtc->bcd_year = bin2bcd(yrs%100); in rtc_ioctl()
|
A D | config.c | 302 rtc->bcd_year = bin2bcd(t->tm_year%100); in bvme6000_hwclk() 315 t->tm_year = bcd2bin(rtc->bcd_year); in bvme6000_hwclk()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | mvme16xhw.h | 36 bcd_year; member
|
A D | mvme147hw.h | 16 bcd_year; member
|
A D | bvme6000hw.h | 62 pad_l[3], bcd_year, member
|
/linux-6.3-rc2/arch/m68k/mvme147/ |
A D | config.c | 176 t->tm_year = bcd2int (m147_rtc->bcd_year); in mvme147_hwclk()
|
Completed in 12 milliseconds