Home
last modified time | relevance | path

Searched refs:day (Results 1 – 20 of 20) sorted by relevance

/u-boot/drivers/rtc/
A Dmx27rtc.c21 uint32_t day, hour, min, sec; in rtc_get() local
23 day = readl(&rtc_regs->dayr); in rtc_get()
30 sec += min * 60 + hour * 3600 + day * 24 * 3600; in rtc_get()
40 uint32_t day, hour, min, sec; in rtc_set() local
44 day = sec / (24 * 3600); in rtc_set()
54 writel(day, &rtc_regs->dayr); in rtc_set()
A Dftrtc010.c19 unsigned int day; /* 0x0c */ member
55 unsigned long day; in ftrtc010_time() local
63 day = readl(&rtc->day); in ftrtc010_time()
69 return day * 24 * 60 * 60 + hour * 60 * 60 + minute * 60 + second; in ftrtc010_time()
A Dmc13xxx-rtc.c48 u32 time, day; in rtc_set() local
54 day = time / 86400; in rtc_set()
57 pmic_reg_write(p, REG_RTC_DAY, day); in rtc_set()
A Ddavinci.c31 mday = readl(&rtc->day); in rtc_get()
69 writel(bin2bcd(tmp->tm_mday), &rtc->day); in rtc_set()
A Dds1302.c68 unsigned char day:3; /* day of week */ member
274 tmp->tm_wday=bbclk.day; in rtc_get()
313 bbclk.day=tmp->tm_wday; in rtc_set()
/u-boot/lib/
A Ddate.c34 int day; in rtc_calc_weekday() local
53 day = 1; in rtc_calc_weekday()
55 day = 0; in rtc_calc_weekday()
58 day += last_year * 365 + leaps_to_date + month_offset[tm->tm_mon - 1] + in rtc_calc_weekday()
60 tm->tm_wday = day % 7; in rtc_calc_weekday()
105 const unsigned int day, const unsigned int hour, in mktime64() argument
112 time.tm_mday = day; in mktime64()
/u-boot/lib/efi_selftest/
A Defi_selftest_rtc.c48 .day = 19, in execute()
63 tm_old.year, tm_old.month, tm_old.day, in execute()
78 tm.day != tm_new.day || in execute()
/u-boot/board/compulab/common/
A Deeprom.c286 static int validate_date(unsigned char day, unsigned char month, in validate_date() argument
299 if (day > 31) in validate_date()
306 if (day > 30) in validate_date()
318 if (day > days_in_february) in validate_date()
357 unsigned char day = (unsigned char)simple_strtol(tok1, &endptr, 0); in eeprom_field_update_date() local
358 if (*endptr != '\0' || day == 0) { in eeprom_field_update_date()
374 if (validate_date(day, month - 1, year)) { in eeprom_field_update_date()
384 field->buf[0] = day; in eeprom_field_update_date()
/u-boot/arch/arm/include/asm/
A Ddavinci_rtc.h20 unsigned int day; member
/u-boot/doc/
A DREADME.commands.itest1 A slow day today so here is a revised itest command with provisional
A DREADME.nand175 flexibility, so that one day we can eliminate the old mechanism.
/u-boot/lib/crypto/
A Dx509_cert_parser.c551 unsigned year, mon, day, hour, min, sec, mon_len; in x509_decode_time() local
577 day = DD2bin(p); in x509_decode_time()
601 if (day < 1 || day > mon_len || in x509_decode_time()
607 *_t = mktime64(year, mon, day, hour, min, sec); in x509_decode_time()
/u-boot/lib/efi_loader/
A Defi_runtime.c266 time->day = tm.tm_mday; 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()
351 tm.tm_mday = time->day; in efi_set_time_boottime()
A Defi_variable.c96 tm.tm_mday = timestamp.day; in efi_variable_authenticate()
/u-boot/include/linux/
A Dtime.h160 const unsigned int day, const unsigned int hour,
/u-boot/include/
A Defi.h236 u8 day; member
A Defi_api.h965 u8 day; member
/u-boot/cmd/
A Defidebug.c209 result->capsule_processed.day, result->capsule_processed.hour, in do_efi_capsule_res()
/u-boot/tools/binman/
A DREADME158 sunxi-spl.bin (by calling mksunxiboot, or hopefully one day mkimage). In any
/u-boot/doc/driver-model/
A Ddesign.rst756 ugliness of mixing configuration and run-time data, one day it is possible

Completed in 40 milliseconds