Lines Matching refs:tm_sec
206 rtc_tm->tm_sec = readb(info->base + S3C2410_RTCSEC); in s3c_rtc_gettime()
213 if (rtc_tm->tm_sec == 0 && !have_retried) { in s3c_rtc_gettime()
218 rtc_tm->tm_sec = bcd2bin(rtc_tm->tm_sec); in s3c_rtc_gettime()
231 rtc_tm->tm_hour, rtc_tm->tm_min, rtc_tm->tm_sec); in s3c_rtc_gettime()
246 tm->tm_hour, tm->tm_min, tm->tm_sec); in s3c_rtc_settime()
259 writeb(bin2bcd(tm->tm_sec), info->base + S3C2410_RTCSEC); in s3c_rtc_settime()
282 alm_tm->tm_sec = readb(info->base + S3C2410_ALMSEC); in s3c_rtc_getalarm()
298 alm_tm->tm_hour, alm_tm->tm_min, alm_tm->tm_sec); in s3c_rtc_getalarm()
302 alm_tm->tm_sec = bcd2bin(alm_tm->tm_sec); in s3c_rtc_getalarm()
334 tm->tm_hour, tm->tm_min, tm->tm_sec); in s3c_rtc_setalarm()
343 if (tm->tm_sec < 60 && tm->tm_sec >= 0) { in s3c_rtc_setalarm()
345 writeb(bin2bcd(tm->tm_sec), info->base + S3C2410_ALMSEC); in s3c_rtc_setalarm()
571 rtc_tm.tm_sec = 0; in s3c_rtc_probe()