Lines Matching defs:bcd_year
102 unsigned long *bcd_year)
121 *bcd_year = (bin2bcd(year % 100) | bin2bcd(year / 100) << 8);
136 static int pl031_stv2_time_to_tm(unsigned long st_time, unsigned long bcd_year,
139 tm->tm_year = bcd2bin(bcd_year) + (bcd2bin(bcd_year >> 8) * 100);
166 unsigned long bcd_year;
170 ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year);
172 writel(bcd_year, ldata->base + RTC_YLR);
197 unsigned long bcd_year;
204 &time, &bcd_year);
206 writel(bcd_year, ldata->base + RTC_YMR);