Lines Matching refs:readb
114 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_interrupt()
130 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_alarm()
145 tmp = readb(rtc->regbase + RCR2); in __sh_rtc_periodic()
222 tmp = readb(rtc->regbase + RCR1); in sh_rtc_setaie()
239 tmp = readb(rtc->regbase + RCR1); in sh_rtc_proc()
242 tmp = readb(rtc->regbase + RCR2); in sh_rtc_proc()
256 tmp = readb(rtc->regbase + RCR1); in sh_rtc_setcie()
279 if (!(readb(rtc->regbase + RCR2) & RCR2_RTCEN)) in sh_rtc_read_time()
287 tmp = readb(rtc->regbase + RCR1); in sh_rtc_read_time()
292 sec128 = readb(rtc->regbase + R64CNT); in sh_rtc_read_time()
294 tm->tm_sec = bcd2bin(readb(rtc->regbase + RSECCNT)); in sh_rtc_read_time()
295 tm->tm_min = bcd2bin(readb(rtc->regbase + RMINCNT)); in sh_rtc_read_time()
296 tm->tm_hour = bcd2bin(readb(rtc->regbase + RHRCNT)); in sh_rtc_read_time()
297 tm->tm_wday = bcd2bin(readb(rtc->regbase + RWKCNT)); in sh_rtc_read_time()
298 tm->tm_mday = bcd2bin(readb(rtc->regbase + RDAYCNT)); in sh_rtc_read_time()
299 tm->tm_mon = bcd2bin(readb(rtc->regbase + RMONCNT)) - 1; in sh_rtc_read_time()
306 yr = readb(rtc->regbase + RYRCNT); in sh_rtc_read_time()
312 sec2 = readb(rtc->regbase + R64CNT); in sh_rtc_read_time()
313 cf_bit = readb(rtc->regbase + RCR1) & RCR1_CF; in sh_rtc_read_time()
345 tmp = readb(rtc->regbase + RCR2); in sh_rtc_set_time()
367 tmp = readb(rtc->regbase + RCR2); in sh_rtc_set_time()
382 byte = readb(rtc->regbase + reg_off); in sh_rtc_read_alarm_value()
407 wkalrm->enabled = (readb(rtc->regbase + RCR1) & RCR1_AIE) ? 1 : 0; in sh_rtc_read_alarm()
434 rcr1 = readb(rtc->regbase + RCR1); in sh_rtc_set_alarm()