/linux-master/arch/sh/boards/mach-sdk7786/ |
H A D | fpga.c | 54 u16 version, date; local 63 date = fpga_read_reg(FPGADR); 67 ((date >> 12) & 0xf) + 2000, 68 (date >> 8) & 0xf, bcd2bin(date & 0xff));
|
/linux-master/fs/fat/ |
H A D | fat_test.c | 27 __le16 date; member in struct:fat_timestamp_testcase 37 .date = cpu_to_le16(33), 45 .date = cpu_to_le16(65439), 53 .date = cpu_to_le16(33), 61 .date = cpu_to_le16(65439), 69 .date = cpu_to_le16(8285), 77 .date = cpu_to_le16(10333), 85 .date = cpu_to_le16(61537), 93 .date = cpu_to_le16(12380), 101 .date 158 __le16 date, time; local [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-rx4581.c | 97 unsigned char date[7]; local 102 * time and date then re-read the "update flag". If the update flag 124 /* Now read time and date */ 125 date[0] = 0x80; 126 err = spi_write_then_read(spi, date, 1, date, 7); 128 dev_err(dev, "Unable to read date\n"); 142 "low voltage detected, date/time is not reliable.\n"); 148 date[0], date[ [all...] |
H A D | rtc-rx8581.c | 72 unsigned char date[7]; local 78 * time and date then re-read the "update flag". If the update flag 88 "low voltage detected, date/time is not reliable.\n"); 101 /* Now read time and date */ 102 err = regmap_bulk_read(rx8581->regmap, RX8581_REG_SC, date, 103 sizeof(date)); 116 date[0], date[1], date[2], date[ [all...] |
H A D | rtc-rx8010.c | 110 u8 date[RX8010_YEAR - RX8010_SEC + 1]; local 122 err = regmap_bulk_read(rx8010->regs, RX8010_SEC, date, sizeof(date)); 126 dt->tm_sec = bcd2bin(date[RX8010_SEC - RX8010_SEC] & 0x7f); 127 dt->tm_min = bcd2bin(date[RX8010_MIN - RX8010_SEC] & 0x7f); 128 dt->tm_hour = bcd2bin(date[RX8010_HOUR - RX8010_SEC] & 0x3f); 129 dt->tm_mday = bcd2bin(date[RX8010_MDAY - RX8010_SEC] & 0x3f); 130 dt->tm_mon = bcd2bin(date[RX8010_MONTH - RX8010_SEC] & 0x1f) - 1; 131 dt->tm_year = bcd2bin(date[RX8010_YEAR - RX8010_SEC]) + 100; 132 dt->tm_wday = ffs(date[RX8010_WDA 140 u8 date[RX8010_YEAR - RX8010_SEC + 1]; local [all...] |
H A D | rtc-spear.c | 63 /* date reg equal to time reg, for debug only */ 194 * @tm: holds date and time 196 * This function read time and date. On success it will return 0 202 unsigned int time, date; local 209 date = readl(config->ioaddr + DATE_REG); 214 tm->tm_mday = (date >> MDAY_SHIFT) & DAY_MASK; 215 tm->tm_mon = (date >> MONTH_SHIFT) & MONTH_MASK; 216 tm->tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; 225 * @tm: holds date and time 227 * This function set time and date 233 unsigned int time, date; local 259 unsigned int time, date; local 289 unsigned int time, date; local [all...] |
H A D | rtc-rx8025.c | 145 dev_warn(dev, "power-on reset detected, date is invalid\n"); 151 dev_warn(dev, "crystal stopped, date is invalid\n"); 218 u8 date[7]; local 225 err = rx8025_read_regs(client, RX8025_REG_SEC, 7, date); 229 dev_dbg(dev, "%s: read %7ph\n", __func__, date); 231 dt->tm_sec = bcd2bin(date[RX8025_REG_SEC] & 0x7f); 232 dt->tm_min = bcd2bin(date[RX8025_REG_MIN] & 0x7f); 234 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x3f); 236 dt->tm_hour = bcd2bin(date[RX8025_REG_HOUR] & 0x1f) % 12 237 + (date[RX8025_REG_HOU 252 u8 date[7]; local [all...] |
H A D | rtc-max31335.c | 227 u8 date[7]; local 230 ret = regmap_bulk_read(max31335->regmap, MAX31335_SECONDS, date, 231 sizeof(date)); 235 tm->tm_sec = bcd2bin(date[0] & 0x7f); 236 tm->tm_min = bcd2bin(date[1] & 0x7f); 237 tm->tm_hour = bcd2bin(date[2] & 0x3f); 238 tm->tm_wday = bcd2bin(date[3] & 0x7) - 1; 239 tm->tm_mday = bcd2bin(date[4] & 0x3f); 240 tm->tm_mon = bcd2bin(date[5] & 0x1f) - 1; 241 tm->tm_year = bcd2bin(date[ 252 u8 date[7]; local [all...] |
H A D | rtc-sunxi.c | 53 * Get date values 74 * Set date values 189 u32 date; local 192 date = readl(chip->base + SUNXI_RTC_YMD); 198 alrm_tm->tm_mday = SUNXI_DATE_GET_DAY_VALUE(date); 199 alrm_tm->tm_mon = SUNXI_DATE_GET_MON_VALUE(date); 200 alrm_tm->tm_year = SUNXI_DATE_GET_YEAR_VALUE(date, 221 u32 date, time; local 227 date = readl(chip->base + SUNXI_RTC_YMD); 229 } while ((date ! 329 u32 date = 0; local [all...] |
H A D | rtc-rv3028.c | 124 u8 date[6]; local 133 ret = regmap_bulk_read(rv3028->regmap, RV3028_TS_SEC, date, 134 sizeof(date)); 138 tm.tm_sec = bcd2bin(date[0]); 139 tm.tm_min = bcd2bin(date[1]); 140 tm.tm_hour = bcd2bin(date[2]); 141 tm.tm_mday = bcd2bin(date[3]); 142 tm.tm_mon = bcd2bin(date[4]) - 1; 143 tm.tm_year = bcd2bin(date[5]) + 100; 311 u8 date[ local 339 u8 date[7]; local [all...] |
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | stress_code_patching.sh | 29 START_TIME=`date +%s` 31 while [ `date +%s` -lt $END_TIME ]
|
/linux-master/scripts/ |
H A D | stackusage | 5 now=`date +%s`
|
/linux-master/tools/testing/selftests/powerpc/security/ |
H A D | mitigation-patching.sh | 16 start=$(date +%s) 24 now=$(date +%s)
|
/linux-master/tools/testing/selftests/rtc/ |
H A D | setdate.c | 25 const char *rtc, *date; local 33 date = argv[2]; 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); 52 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n", 56 /* Write the new date in RTC */ 71 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n",
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
H A D | ls.c | 29 char *date; local 39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); 40 nvkm_debug(subdev, "\tdate : %s\n", date); 41 kfree(date); 114 char *date; local 123 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNE [all...] |
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nft_zones_many.sh | 73 local outerstart=$(date +%s%3N) 77 local start=$(date +%s%3N) 87 stop=$(date +%s%3N) 115 local outerstart=$(date +%s%3N) 116 local start=$(date +%s%3N) 132 stop=$(date +%s%3N)
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-test-1-run-qemu.sh | 11 # "ds" is the top-level date-stamped directory and "scenario" 35 echo ' ---' `date`: Starting kernel, PID $$ 65 echo Monitoring qemu job at pid $qemu_pid `date` 68 echo Monitoring qemu job at yet-as-unknown pid `date` 119 echo ' ---' `date`: "Kernel done" 132 echo Grace period for qemu job at pid $qemu_pid `date` 139 echo "PID $qemu_pid killed due to run STOP.1 request `date`" >> $resdir/Warnings 2>&1 166 echo Continuing at console.log time $last_ts \"`tail -n 1 $resdir/console.log`\" `date` 171 echo "!!! PID $qemu_pid hung at $kruntime vs. $seconds seconds `date`" >> $resdir/Warnings 2>&1
|
H A D | kvm-check-branches.sh | 44 ds="`date +%Y.%m.%d-%H.%M.%S`-group" 68 date 90 date
|
/linux-master/arch/s390/include/uapi/asm/ |
H A D | hypfs.h | 42 char date[8]; /* MM/DD/YY in EBCDIC */ member in struct:hypfs_diag0c_entry
|
/linux-master/tools/testing/selftests/pstore/ |
H A D | common_tests | 60 LOG_DIR=$TOP_DIR/logs/`date +%Y%m%d-%H%M%S`_${UUID}/ 66 date > $LOG_FILE
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | with_stress.sh | 87 start=$(date +%s) 93 time=$(($(date +%s) - $start))
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 48 unsigned date; local 91 * EN 50067:1998 to convert a UTC date to an RDS Modified 96 date = 14956 + tm.tm_mday + ((tm.tm_year - l) * 1461) / 4 + 103 data[1].lsb |= date >> 15; 105 data[2].lsb = (date << 1) & 0xfe; 107 data[2].msb = (date >> 7) & 0xff;
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw_abi.h | 59 u32 date; member in struct:uc_css_header
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | waiting.sh | 4 tenths=date\ +%s%1N
|
/linux-master/arch/x86/include/asm/ |
H A D | microcode.h | 33 unsigned int date; member in struct:microcode_header_intel
|