Searched refs:month (Results 1 – 17 of 17) sorted by relevance
| /u-boot/drivers/rtc/ |
| A D | rtc-lib.c | 26 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() argument 28 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); in rtc_month_days() 40 unsigned int month, year, secs; in rtc_to_tm() local 59 for (month = 0; month < 11; month++) { in rtc_to_tm() 62 newdays = days - rtc_month_days(month, year); in rtc_to_tm() 67 tm->tm_mon = month + 1; /* January = 1 */ in rtc_to_tm()
|
| A D | m48t35ax.c | 26 uchar sec, min, hour, cent_day, date, month, year; in rtc_get() local 39 month = rtc_read (0x6); in rtc_get() 49 year, month, date, cent_day, in rtc_get() 56 tmp->tm_mon = bcd2bin (month & 0x1F); in rtc_get()
|
| A D | m41t60.c | 90 uchar min, date, month, years; in rtc_validate() local 115 month = data[RTC_MONTH] & 0x3F; in rtc_validate() 121 0x12 < month || in rtc_validate() 123 daysInMonth[month] < date || 0x09 < (date & 0x0F) || 0x00 == date || in rtc_validate() 124 (0x29 == date && 0x02 == month && in rtc_validate()
|
| A D | davinci.c | 33 mon_cent = readl(&rtc->month); in rtc_get() 66 writel(bin2bcd(tmp->tm_mon), &rtc->month); in rtc_set()
|
| A D | ds1302.c | 65 unsigned char month:4; member 276 tmp->tm_mon=10*bbclk.month10+bbclk.month; in rtc_get() 319 bbclk.month=tmp->tm_mon%10; in rtc_set()
|
| /u-boot/lib/efi_selftest/ |
| A D | efi_selftest_rtc.c | 47 .month = 5, in execute() 63 tm_old.year, tm_old.month, tm_old.day, in execute() 77 tm.month != tm_new.month || in execute()
|
| /u-boot/board/compulab/common/ |
| A D | eeprom.c | 286 static int validate_date(unsigned char day, unsigned char month, in validate_date() argument 291 switch (month) { in validate_date() 363 unsigned char month; in eeprom_field_update_date() local 364 for (month = 1; month <= 12; month++) in eeprom_field_update_date() 365 if (!strcmp(tok2, months[month - 1])) in eeprom_field_update_date() 374 if (validate_date(day, month - 1, year)) { in eeprom_field_update_date() 385 field->buf[1] = month; in eeprom_field_update_date()
|
| /u-boot/doc/build/ |
| A D | source.rst | 20 v<year>.<month> 24 v<year>.<month>-rc<number>
|
| /u-boot/arch/arm/include/asm/ |
| A D | davinci_rtc.h | 21 unsigned int month; /* 0x10 */ member
|
| /u-boot/lib/efi_loader/ |
| A D | efi_runtime.c | 265 time->month = tm.tm_mon; in efi_get_time_boottime() 305 !time->month || time->month > 12 || !time->day || in efi_validate_time() 306 time->day > rtc_month_days(time->month - 1, time->year) || in efi_validate_time() 350 tm.tm_mon = time->month; in efi_set_time_boottime()
|
| A D | efi_variable.c | 95 tm.tm_mon = timestamp.month; in efi_variable_authenticate()
|
| /u-boot/include/ |
| A D | rtc.h | 322 int rtc_month_days(unsigned int month, unsigned int year);
|
| A D | efi.h | 235 u8 month; member
|
| A D | efi_api.h | 964 u8 month; member
|
| /u-boot/cmd/ |
| A D | efidebug.c | 208 result->capsule_processed.year, result->capsule_processed.month, in do_efi_capsule_res()
|
| /u-boot/doc/ |
| A D | README.POST | 687 o) Passing month boundaries 689 This will be checked by setting RTC to a second before a month
|
| /u-boot/ |
| A D | README | 118 names consisting of the calendar year and month of the release date.
|
Completed in 30 milliseconds