Searched refs:date (Results 1 - 25 of 29) sorted by relevance

12

/u-boot/drivers/rtc/
H A Ds35392a.c196 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 Dmvrtc.c25 u32 date; local
30 /* read the date register */
31 date = readl(&regs->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 Drx8010sj.c208 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 Dmvrtc.h20 u32 date; member in struct:mvrtc_registers
45 /* date register */
H A Dstm32_rtc.c153 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 Dimx8mn_var_som.c38 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 Dmicrocode-tool.py45 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 Dmicrocode-tool45 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 Dimage-host.c370 struct timespec date; local
379 ret = clock_gettime(CLOCK_MONOTONIC, &date);
386 srandom(date.tv_nsec);
H A Difwitool.c175 uint32_t date; member in struct:manifest_header
1631 hdr->date = strtoul(buffer, NULL, 16);
/u-boot/board/freescale/common/
H A Dsys_eeprom.c44 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 Dimx9_eeprom.c100 printf("Production date: %.*s %.*s %.*s\n",
102 (char *)ep->date,
104 ((char *)ep->date) + 4,
106 ((char *)ep->date) + 4 + 3);
H A Dimx9_eeprom.h38 u8 date[9]; /* 20-0x14 - build date */ member in struct:var_eeprom
/u-boot/dts/upstream/scripts/
H A Dcronjob82 DATE=$(date +%Y%m%d)
/u-boot/board/variscite/dart_6ul/
H A Ddart_6ul.c169 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 Dfat.h140 __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 Ddate.c8 * 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 DMakefile54 obj-$(CONFIG_CMD_DATE) += date.o
/u-boot/board/compulab/common/
H A Deeprom.c256 * 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 Dbios.c51 const char date[] = "06/11/99"; local
52 memcpy((void *)0xffff5, &date, 8);
/u-boot/board/imgtec/ci20/
H A Dci20.c25 u32 date; member in struct:ci20_otp
189 env_set_ulong("board_date", otp.date);
/u-boot/fs/fat/
H A Dfat.c1250 * @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 Dfat_write.c1165 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 DMakefile148 obj-y += date.o
/u-boot/
H A DMakefile60 # 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...]

Completed in 184 milliseconds

12