Lines Matching refs:readw
97 day = readw(ioaddr + RTC_DAYR); in get_alarm_or_time()
98 hr_min = readw(ioaddr + RTC_HOURMIN); in get_alarm_or_time()
99 sec = readw(ioaddr + RTC_SECOND); in get_alarm_or_time()
102 day = readw(ioaddr + RTC_DAYALARM); in get_alarm_or_time()
103 hr_min = readw(ioaddr + RTC_ALRM_HM) & 0xffff; in get_alarm_or_time()
104 sec = readw(ioaddr + RTC_ALRM_SEC); in get_alarm_or_time()
162 writew(readw(ioaddr + RTC_RTCISR), ioaddr + RTC_RTCISR); in rtc_update_alarm()
175 reg = readw(ioaddr + RTC_RTCIENR); in mxc_rtc_irq_enable()
196 status = readw(ioaddr + RTC_RTCISR) & readw(ioaddr + RTC_RTCIENR); in mxc_rtc_interrupt()
265 alrm->pending = ((readw(ioaddr + RTC_RTCISR) & RTC_ALM_BIT)) ? 1 : 0; in mxc_rtc_read_alarm()
386 if (((readw(pdata->ioaddr + RTC_RTCCTL)) & RTC_ENABLE_BIT) == 0) { in mxc_rtc_probe()