Home
last modified time | relevance | path

Searched refs:month (Results 1 – 17 of 17) sorted by relevance

/u-boot/drivers/rtc/
A Drtc-lib.c26 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 Dm48t35ax.c26 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 Dm41t60.c90 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 Ddavinci.c33 mon_cent = readl(&rtc->month); in rtc_get()
66 writel(bin2bcd(tmp->tm_mon), &rtc->month); in rtc_set()
A Dds1302.c65 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 Defi_selftest_rtc.c47 .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 Deeprom.c286 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 Dsource.rst20 v<year>.<month>
24 v<year>.<month>-rc<number>
/u-boot/arch/arm/include/asm/
A Ddavinci_rtc.h21 unsigned int month; /* 0x10 */ member
/u-boot/lib/efi_loader/
A Defi_runtime.c265 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 Defi_variable.c95 tm.tm_mon = timestamp.month; in efi_variable_authenticate()
/u-boot/include/
A Drtc.h322 int rtc_month_days(unsigned int month, unsigned int year);
A Defi.h235 u8 month; member
A Defi_api.h964 u8 month; member
/u-boot/cmd/
A Defidebug.c208 result->capsule_processed.year, result->capsule_processed.month, in do_efi_capsule_res()
/u-boot/doc/
A DREADME.POST687 o) Passing month boundaries
689 This will be checked by setting RTC to a second before a month
/u-boot/
A DREADME118 names consisting of the calendar year and month of the release date.

Completed in 30 milliseconds