Searched refs:rtc_month_days (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/rtc/ |
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()
|
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()
|
D | lib_test.c | 11 if (*mday != rtc_month_days(*month - 1, *year)) { in advance_date()
|
D | rtc-ds1511.c | 200 if (day > rtc_month_days(rtc_tm->tm_mon, rtc_tm->tm_year)) in ds1511_rtc_set_time()
|
D | rtc-davinci.c | 240 tmp_days = rtc_month_days(mon, year); in convertfromdays()
|
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()
|
D | interface.c | 358 days = rtc_month_days(alarm->time.tm_mon, in __rtc_read_alarm()
|
D | rtc-ds1685.c | 341 if (tm->tm_mday > rtc_month_days(tm->tm_mon, tm->tm_year)) in ds1685_rtc_set_time()
|
/linux-6.1.9/include/linux/ |
D | rtc.h | 21 extern int rtc_month_days(unsigned int month, unsigned int year);
|