Lines Matching refs:alm_tm
193 struct rtc_time *alm_tm = &alrm->time; in pic32_rtc_getalarm() local
198 alm_tm->tm_sec = readb(base + PIC32_ALRMSEC); in pic32_rtc_getalarm()
199 alm_tm->tm_min = readb(base + PIC32_ALRMMIN); in pic32_rtc_getalarm()
200 alm_tm->tm_hour = readb(base + PIC32_ALRMHOUR); in pic32_rtc_getalarm()
201 alm_tm->tm_mon = readb(base + PIC32_ALRMMON); in pic32_rtc_getalarm()
202 alm_tm->tm_mday = readb(base + PIC32_ALRMDAY); in pic32_rtc_getalarm()
203 alm_tm->tm_year = readb(base + PIC32_ALRMYEAR); in pic32_rtc_getalarm()
209 dev_dbg(dev, "getalarm: %d, %ptR\n", alm_en, alm_tm); in pic32_rtc_getalarm()
211 alm_tm->tm_sec = bcd2bin(alm_tm->tm_sec); in pic32_rtc_getalarm()
212 alm_tm->tm_min = bcd2bin(alm_tm->tm_min); in pic32_rtc_getalarm()
213 alm_tm->tm_hour = bcd2bin(alm_tm->tm_hour); in pic32_rtc_getalarm()
214 alm_tm->tm_mday = bcd2bin(alm_tm->tm_mday); in pic32_rtc_getalarm()
215 alm_tm->tm_mon = bcd2bin(alm_tm->tm_mon) - 1; in pic32_rtc_getalarm()
216 alm_tm->tm_year = bcd2bin(alm_tm->tm_year); in pic32_rtc_getalarm()