Lines Matching refs:tm
738 struct rtc_time tm;
743 rtc_time64_to_tm(now.tv_sec + 1 + timezone_offset, &tm);
745 return ppc_md.set_rtc_time(&tm);
750 struct rtc_time tm;
770 ppc_md.get_rtc_time(&tm);
772 ts->tv_sec = rtc_tm_to_time64(&tm);
1017 static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
1019 ppc_md.get_rtc_time(tm);
1023 static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
1028 if (ppc_md.set_rtc_time(tm) < 0)