Searched refs:st_time (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-pl031.c117 struct rtc_time *tm, unsigned long *st_time, pl031_stv2_tm_to_time()
139 *st_time = ((tm->tm_mon + 1) << RTC_MON_SHIFT) pl031_stv2_tm_to_time()
152 static int pl031_stv2_time_to_tm(unsigned long st_time, unsigned long bcd_year, pl031_stv2_time_to_tm() argument
156 tm->tm_mon = ((st_time & RTC_MON_MASK) >> RTC_MON_SHIFT) - 1; pl031_stv2_time_to_tm()
157 tm->tm_mday = ((st_time & RTC_MDAY_MASK) >> RTC_MDAY_SHIFT); pl031_stv2_time_to_tm()
158 tm->tm_wday = ((st_time & RTC_WDAY_MASK) >> RTC_WDAY_SHIFT) - 1; pl031_stv2_time_to_tm()
159 tm->tm_hour = ((st_time & RTC_HOUR_MASK) >> RTC_HOUR_SHIFT); pl031_stv2_time_to_tm()
160 tm->tm_min = ((st_time & RTC_MIN_MASK) >> RTC_MIN_SHIFT); pl031_stv2_time_to_tm()
161 tm->tm_sec = ((st_time & RTC_SEC_MASK) >> RTC_SEC_SHIFT); pl031_stv2_time_to_tm()
116 pl031_stv2_tm_to_time(struct device *dev, struct rtc_time *tm, unsigned long *st_time, unsigned long *bcd_year) pl031_stv2_tm_to_time() argument

Completed in 33 milliseconds