Searched refs:rtc_tm_sub (Results 1 – 4 of 4) sorted by relevance
32 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) in rtc_tm_sub() function
271 diff = rtc_tm_sub(alrm_tm, &tm_now); in sunxi_rtc_setalarm()
435 if (!rtc->rtc->aie_timer.enabled || rtc_tm_sub(&aie_time, &alrm->time)) in sprd_rtc_set_alarm()
440 if (!alarm->enabled || rtc_tm_sub(alarm_tm, &rtc_tm) <= 0) in isl1208_i2c_set_alarm()