Home
last modified time | relevance | path

Searched refs:rtc_tm (Results 1 – 3 of 3) sorted by relevance

/arch/powerpc/kernel/
Drtas-rtc.c48 void rtas_get_rtc_time(struct rtc_time *rtc_tm) in rtas_get_rtc_time() argument
62 memset(rtc_tm, 0, sizeof(struct rtc_time)); in rtas_get_rtc_time()
79 rtc_tm->tm_sec = ret[5]; in rtas_get_rtc_time()
80 rtc_tm->tm_min = ret[4]; in rtas_get_rtc_time()
81 rtc_tm->tm_hour = ret[3]; in rtas_get_rtc_time()
82 rtc_tm->tm_mday = ret[2]; in rtas_get_rtc_time()
83 rtc_tm->tm_mon = ret[1] - 1; in rtas_get_rtc_time()
84 rtc_tm->tm_year = ret[0] - 1900; in rtas_get_rtc_time()
/arch/m68k/bvme6000/
Drtc.c73 struct rtc_time rtc_tm; in rtc_ioctl() local
80 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
83 yrs = rtc_tm.tm_year; in rtc_ioctl()
86 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
87 day = rtc_tm.tm_mday; in rtc_ioctl()
88 hrs = rtc_tm.tm_hour; in rtc_ioctl()
89 min = rtc_tm.tm_min; in rtc_ioctl()
90 sec = rtc_tm.tm_sec; in rtc_ioctl()
119 if (rtc_tm.tm_wday >= 0) in rtc_ioctl()
120 rtc->bcd_dow = bin2bcd(rtc_tm.tm_wday+1); in rtc_ioctl()
/arch/m68k/mvme16x/
Drtc.c68 struct rtc_time rtc_tm; in rtc_ioctl() local
75 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) in rtc_ioctl()
78 yrs = rtc_tm.tm_year; in rtc_ioctl()
81 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
82 day = rtc_tm.tm_mday; in rtc_ioctl()
83 hrs = rtc_tm.tm_hour; in rtc_ioctl()
84 min = rtc_tm.tm_min; in rtc_ioctl()
85 sec = rtc_tm.tm_sec; in rtc_ioctl()