Searched refs:rtm (Results 1 – 4 of 4) sorted by relevance
88 static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) in ls1x_rtc_read_time() argument96 memset(rtm, 0, sizeof(struct rtc_time)); in ls1x_rtc_read_time()100 rtc_time64_to_tm(t, rtm); in ls1x_rtc_read_time()105 static int ls1x_rtc_set_time(struct device *dev, struct rtc_time *rtm) in ls1x_rtc_set_time() argument110 v = ((rtm->tm_mon + 1) << LS1X_MONTH_OFFSET) in ls1x_rtc_set_time()111 | (rtm->tm_mday << LS1X_DAY_OFFSET) in ls1x_rtc_set_time()112 | (rtm->tm_hour << LS1X_HOUR_OFFSET) in ls1x_rtc_set_time()113 | (rtm->tm_min << LS1X_MIN_OFFSET) in ls1x_rtc_set_time()114 | (rtm->tm_sec << LS1X_SEC_OFFSET); in ls1x_rtc_set_time()127 t = rtm->tm_year + 1900; in ls1x_rtc_set_time()
86 struct rtmsg *rtm, u32 portid);
98 struct rtmsg *rtm, u32 portid);
285 struct mr_mfc *c, struct rtmsg *rtm);330 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute() argument