Searched refs:rtc_month_days (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | lib.c | 30 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() function 34 EXPORT_SYMBOL(rtc_month_days); 153 tm->tm_mday > rtc_month_days(tm->tm_mon, in rtc_valid_tm()
|
H A D | lib_test.c | 11 if (*mday != rtc_month_days(*month - 1, *year)) { in advance_date()
|
H A D | rtc-rtd119x.c | 117 while (day >= rtc_month_days(tm->tm_mon, year)) { in rtd119x_rtc_read_time() 118 day -= rtc_month_days(tm->tm_mon, year); in rtd119x_rtc_read_time()
|
H A D | rtc-stm32.c | 462 max_day_forward = rtc_month_days(now.tm_mon, now.tm_year) in stm32_rtc_valid_alrm() 464 + min(rtc_month_days(next_month, next_year), now.tm_mday); in stm32_rtc_valid_alrm()
|
H A D | rtc-ds1511.c | 200 if (day > rtc_month_days(rtc_tm->tm_mon, rtc_tm->tm_year)) in ds1511_rtc_set_time()
|
H A D | rtc-cmos.c | 437 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm() 456 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()
|
H A D | interface.c | 357 days = rtc_month_days(alarm->time.tm_mon, in __rtc_read_alarm()
|
H A D | rtc-ds1685.c | 341 if (tm->tm_mday > rtc_month_days(tm->tm_mon, tm->tm_year)) in ds1685_rtc_set_time()
|
/openbmc/u-boot/drivers/rtc/ |
H A D | rtc-lib.c | 26 static int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() function 62 newdays = days - rtc_month_days(month, year); in rtc_to_tm()
|
/openbmc/linux/include/linux/ |
H A D | rtc.h | 21 extern int rtc_month_days(unsigned int month, unsigned int year);
|