/u-boot/drivers/rtc/ |
H A D | s35392a.c | 196 u8 date[7]; local 204 ret = s35392a_rtc_read(dev, S35390A_CMD_TIME1, date, sizeof(date)); 206 DEBUGR("Error reading date from RTC\n"); 212 date[i] = bitrev8(date[i]); 214 tm->tm_sec = bcd2bin(date[S35390A_BYTE_SECS]); 215 tm->tm_min = bcd2bin(date[S35390A_BYTE_MINS]); 216 tm->tm_hour = bcd2bin(date[S35390A_BYTE_HOURS] & ~S35390A_FLAG_24H); 217 tm->tm_wday = bcd2bin(date[S35390A_BYTE_WDA 234 u8 date[7]; local [all...] |
H A D | mvrtc.c | 25 u32 date; local 30 /* read the date register */ 31 date = readl(®s->date); 46 /* date */ 47 t->tm_mday = bcd2bin((date >> MVRTC_DATE_SFT) & MVRTC_DATE_MSK); 48 t->tm_mon = bcd2bin((date >> MVRTC_MON_SFT) & MVRTC_MON_MSK); 49 t->tm_year = bcd2bin((date >> MVRTC_YEAR_SFT) & MVRTC_YEAR_MSK); 72 u32 date = 0; local 84 /* date */ [all...] |
H A D | rx8010sj.c | 208 u8 date[7]; local 229 date[i] = ret; 232 tmp->tm_sec = bcd2bin(date[RX8010_SEC - RX8010_SEC] & 0x7f); 233 tmp->tm_min = bcd2bin(date[RX8010_MIN - RX8010_SEC] & 0x7f); 234 tmp->tm_hour = bcd2bin(date[RX8010_HOUR - RX8010_SEC] & 0x3f); 235 tmp->tm_mday = bcd2bin(date[RX8010_MDAY - RX8010_SEC] & 0x3f); 236 tmp->tm_mon = bcd2bin(date[RX8010_MONTH - RX8010_SEC] & 0x1f); 237 tmp->tm_year = bcd2bin(date[RX8010_YEAR - RX8010_SEC]) + 2000; 252 u8 date[7]; local 268 date[RX8010_SE [all...] |
H A D | mvrtc.h | 20 u32 date; member in struct:mvrtc_registers 45 /* date register */
|
H A D | stm32_rtc.c | 153 static int stm32_rtc_set_time(struct udevice *dev, u32 time, u32 date) argument 165 writel(date, priv->base + STM32_RTC_DR);
|
/u-boot/board/variscite/imx8mn_var_som/ |
H A D | imx8mn_var_som.c | 38 u8 date[9]; /* Build date */ member in struct:var_imx8_eeprom_info 67 char date[sizeof(info->date) + 1]; local 78 memcpy(date, info->date, sizeof(info->date)); 83 date[sizeof(date) - 1] = '\0'; 87 partnumber, assembly, date, [all...] |
/u-boot/tools/ |
H A D | microcode-tool.py | 45 date: String containing date from the file's header 54 date = '' 71 date = m_date.group(1) 76 return date, license_text, microcodes 84 date: String containing date from the file's header 90 date = '' 118 return date, license_text, microcodes 121 def List(date, microcode [all...] |
H A D | microcode-tool | 45 date: String containing date from the file's header 54 date = '' 71 date = m_date.group(1) 76 return date, license_text, microcodes 84 date: String containing date from the file's header 90 date = '' 118 return date, license_text, microcodes 121 def List(date, microcode [all...] |
H A D | image-host.c | 370 struct timespec date; local 379 ret = clock_gettime(CLOCK_MONOTONIC, &date); 386 srandom(date.tv_nsec);
|
H A D | ifwitool.c | 175 uint32_t date; member in struct:manifest_header 1631 hdr->date = strtoul(buffer, NULL, 16);
|
/u-boot/board/freescale/common/ |
H A D | sys_eeprom.c | 44 u8 date[6]; /* 0x12 - 0x17 Build Date */ member in struct:eeprom 55 u8 date[6]; /* 0x15 - 0x1a Build Date */ member in struct:eeprom 113 /* Build date, BCD date values, as YYMMDDhhmmss */ 114 printf("Build date: 20%02x/%02x/%02x %02x:%02x:%02x %s\n", 115 e.date[0], e.date[1], e.date[2], 116 e.date[3] & 0x7F, e.date[ [all...] |
/u-boot/board/variscite/common/ |
H A D | imx9_eeprom.c | 100 printf("Production date: %.*s %.*s %.*s\n", 102 (char *)ep->date, 104 ((char *)ep->date) + 4, 106 ((char *)ep->date) + 4 + 3);
|
H A D | imx9_eeprom.h | 38 u8 date[9]; /* 20-0x14 - build date */ member in struct:var_eeprom
|
/u-boot/dts/upstream/scripts/ |
H A D | cronjob | 82 DATE=$(date +%Y%m%d)
|
/u-boot/board/variscite/dart_6ul/ |
H A D | dart_6ul.c | 169 u8 date[DART6UL_DATE_LEN]; member in struct:dart6ul_info 248 info->date[DART6UL_DATE_LEN - 1] = '\0'; 254 info->date,
|
/u-boot/include/ |
H A D | fat.h | 140 __u16 cdate; /* Creation date */ 141 __u16 adate; /* Last access date */ 143 __u16 time,date,start;/* Time, date and first cluster */ member in struct:dir_entry
|
/u-boot/cmd/ |
H A D | date.c | 8 * RTC, Date & Time support: get and set date & time 55 case 2: /* set date & time */ 67 puts("## Failed to set date after RTC reset\n"); 76 /* insert new date & time */ 78 puts ("## Bad date format\n"); 88 printf("## Set date failed: err=%d\n", 92 puts("## Get date failed\n"); 96 case 1: /* get date & time */ 103 puts("## Get date failed\n"); 151 * Convert date strin [all...] |
H A D | Makefile | 54 obj-$(CONFIG_CMD_DATE) += date.o
|
/u-boot/board/compulab/common/ |
H A D | eeprom.c | 256 * eeprom_field_print_date() - print a field which contains date data 258 * Treat the field data as simple binary data, and print it formatted as a date. 321 * eeprom_field_update_date() - update a date field which contains binary data 323 * This function takes a date string in the form of x/Mon/y (x and y are both 329 * year value, and checks the validity of the date. 332 * @value: a date string 366 printf("%s: invalid date\n", field->name); 395 { "Production Date", 4, NULL, DEFINE_PRINT_UPDATE(date) }, 414 { "Production Date", 4, NULL, DEFINE_PRINT_UPDATE(date) },
|
/u-boot/arch/x86/lib/ |
H A D | bios.c | 51 const char date[] = "06/11/99"; local 52 memcpy((void *)0xffff5, &date, 8);
|
/u-boot/board/imgtec/ci20/ |
H A D | ci20.c | 25 u32 date; member in struct:ci20_otp 189 env_set_ulong("board_date", otp.date);
|
/u-boot/fs/fat/ |
H A D | fat.c | 1250 * @date: FAT date 1254 static void __maybe_unused fat2rtc(u16 date, u16 time, struct rtc_time *tm) argument 1256 tm->tm_mday = date & 0x1f; 1257 tm->tm_mon = (date & 0x1e0) >> 5; 1258 tm->tm_year = (date >> 9) + 1980; 1399 fat2rtc(le16_to_cpu(dir->itr.dent->date),
|
H A D | fat_write.c | 1165 u16 date; local 1175 date = (tm.tm_mday & 0x1f) | 1181 dentptr->date = date; 1186 dentptr->date = 0x2821; /* 2000-01-01 */ 1210 /* Set change date */ 1212 /* Set creation date */ 1213 dentptr->cdate = dentptr->date; 1421 /* Update change date */
|
/u-boot/lib/ |
H A D | Makefile | 148 obj-y += date.o
|
/u-boot/ |
H A D | Makefile | 60 # is now up to date. 349 # make sure the checksums are up to date before we record them. 634 # is up-to-date. When we switch to a different board configuration, old CONFIG 812 # Prohibit date/time macros, which would make the build non-deterministic 813 KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) 1971 # The SOURCE_DATE_EPOCH mechanism requires a date that behaves like GNU date. 1972 # The BSD date on the other hand behaves different and would produce errors 1973 # with the misused '-d' switch. Respect that and search a working date with 1974 # well known pre- and suffixes for the GNU variant of date [all...] |