/linux-master/tools/testing/selftests/mm/ |
H A D | on-fault-limit.c | 6 #include <sys/time.h>
|
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | mpc837x_rdb.c | 13 #include <asm/time.h>
|
/linux-master/arch/powerpc/platforms/40x/ |
H A D | ppc40x_simple.c | 16 #include <asm/time.h>
|
/linux-master/drivers/rtc/ |
H A D | rtc-max31335.c | 201 /* time keeping registers */ 273 struct rtc_time time; local 281 alrm->time.tm_sec = bcd2bin(regs[0] & 0x7f); 282 alrm->time.tm_min = bcd2bin(regs[1] & 0x7f); 283 alrm->time.tm_hour = bcd2bin(regs[2] & 0x3f); 284 alrm->time.tm_mday = bcd2bin(regs[3] & 0x3f); 285 alrm->time.tm_mon = bcd2bin(regs[4] & 0x1f) - 1; 286 alrm->time.tm_year = bcd2bin(regs[5]) + 100; 288 ret = max31335_read_time(dev, &time); 292 if (time [all...] |
H A D | rtc-sunxi.c | 60 * Get time values 82 * Set time values 186 struct rtc_time *alrm_tm = &wkalrm->time; 221 u32 date, time; local 228 time = readl(chip->base + SUNXI_RTC_HMS); 230 (time != readl(chip->base + SUNXI_RTC_HMS))); 232 rtc_tm->tm_sec = SUNXI_TIME_GET_SEC_VALUE(time); 233 rtc_tm->tm_min = SUNXI_TIME_GET_MIN_VALUE(time); 234 rtc_tm->tm_hour = SUNXI_TIME_GET_HOUR_VALUE(time); 255 struct rtc_time *alrm_tm = &wkalrm->time; 330 u32 time = 0; local [all...] |
/linux-master/arch/mips/sgi-ip22/ |
H A D | ip22-time.c | 19 #include <linux/time.h> 26 #include <asm/time.h>
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_rand.h | 7 #include <time.h> 32 srand(time(NULL));
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync_stress_merge.c | 30 #include <time.h> 46 srand(time(NULL));
|
/linux-master/tools/testing/selftests/timers/ |
H A D | mqueue-lat.c | 25 #include <time.h> 26 #include <sys/time.h>
|
/linux-master/tools/power/cpupower/bench/ |
H A D | system.c | 8 #include <time.h> 9 #include <sys/time.h> 22 * returns time since epoch in ��s 24 * @retval time 120 * notifies the user that the benchmark may run some time
|
/linux-master/tools/perf/util/ |
H A D | jitdump.h | 14 #include <sys/time.h> 15 #include <time.h>
|
/linux-master/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | nx_dbg.h | 13 #include <time.h> 35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
|
/linux-master/arch/arm/kernel/ |
H A D | time.c | 3 * linux/arch/arm/kernel/time.c 8 * This file contains the ARM-specific time handling details: 24 #include <linux/time.h> 29 #include <asm/mach/time.h> 40 /* change this if you have some constant time drift */
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.h | 85 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); local 87 return ns_to_ktime(time);
|
/linux-master/fs/orangefs/ |
H A D | dcache.c | 100 unsigned long time = (unsigned long) dentry->d_fsdata; local 102 if (time_before(jiffies, time))
|
/linux-master/arch/um/os-Linux/ |
H A D | time.c | 13 #include <time.h> 14 #include <sys/time.h>
|
/linux-master/scripts/tracing/ |
H A D | draw_functrace.py | 11 calls. Only the functions's names and the call time are provided. 35 def __init__(self, func, time = None, parent = None): 37 self._time = time
|
/linux-master/arch/powerpc/kernel/ |
H A D | rtas-rtc.c | 3 #include <linux/time.h> 10 #include <asm/time.h> 28 /* This is boot time so we spin. */
|
/linux-master/lib/dim/ |
H A D | dim.c | 61 u32 delta_us = ktime_us_delta(end->time, start->time);
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 37 #include <time.h> 89 srand((unsigned int) time(NULL));
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | harness.c | 99 void test_harness_set_timeout(uint64_t time) argument 101 timeout = time;
|
/linux-master/scripts/kconfig/ |
H A D | nconf.h | 22 #include <time.h> 23 #include <sys/time.h>
|
/linux-master/fs/fat/ |
H A D | misc.c | 177 * time: 0 - 4: sec (0 - 29) 2sec counts 178 * time: 5 - 10: min (0 - 59) 179 * time: 11 - 15: hour (0 - 23) 203 /* Convert a FAT time/date pair to a UNIX date (seconds since 1 1 70). */ 207 u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); local 221 second = (time & 0x1f) << 1; 222 second += ((time >> 5) & 0x3f) * SECS_PER_MIN; 223 second += (time >> 11) * SECS_PER_HOUR; 242 /* Convert linear UNIX date to a FAT time/date pair. */ 244 __le16 *time, __le1 243 fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, __le16 *time, __le16 *date, u8 *time_cs) argument [all...] |
/linux-master/kernel/trace/ |
H A D | ring_buffer_benchmark.c | 21 /* run time and sleep time in seconds */ 235 unsigned long long time; local 276 * cond_resched and also add any time that was lost by a 299 time = ktime_us_delta(end_time, start_time); 327 trace_printk("Time: %lld (usecs)\n", time); 339 /* Convert time from usecs to millisecs */ 340 do_div(time, USEC_PER_MSEC); 341 if (time) 342 hit /= (long)time; [all...] |
/linux-master/include/linux/ |
H A D | mc146818rtc.h | 101 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ 115 # define RTC_VRT 0x80 /* valid RAM and time */ 129 int mc146818_get_time(struct rtc_time *time, int timeout); 130 int mc146818_set_time(struct rtc_time *time);
|