Home
last modified time | relevance | path

Searched refs:rtm (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/rtc/
Drtc-ls1x.c88 static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) in ls1x_rtc_read_time() argument
96 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() argument
110 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()
/linux-4.19.296/include/linux/
Dmroute.h86 struct rtmsg *rtm, u32 portid);
Dmroute6.h98 struct rtmsg *rtm, u32 portid);
Dmroute_base.h285 struct mr_mfc *c, struct rtmsg *rtm);
330 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute() argument