Searched refs:time (Results 251 - 275 of 1944) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/mm/
H A Don-fault-limit.c6 #include <sys/time.h>
/linux-master/arch/powerpc/platforms/83xx/
H A Dmpc837x_rdb.c13 #include <asm/time.h>
/linux-master/arch/powerpc/platforms/40x/
H A Dppc40x_simple.c16 #include <asm/time.h>
/linux-master/drivers/rtc/
H A Drtc-max31335.c201 /* 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 Drtc-sunxi.c60 * 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 Dip22-time.c19 #include <linux/time.h>
26 #include <asm/time.h>
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_rand.h7 #include <time.h>
32 srand(time(NULL));
/linux-master/tools/testing/selftests/sync/
H A Dsync_stress_merge.c30 #include <time.h>
46 srand(time(NULL));
/linux-master/tools/testing/selftests/timers/
H A Dmqueue-lat.c25 #include <time.h>
26 #include <sys/time.h>
/linux-master/tools/power/cpupower/bench/
H A Dsystem.c8 #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 Djitdump.h14 #include <sys/time.h>
15 #include <time.h>
/linux-master/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dnx_dbg.h13 #include <time.h>
35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
/linux-master/arch/arm/kernel/
H A Dtime.c3 * 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 Dclock.h85 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); local
87 return ns_to_ktime(time);
/linux-master/fs/orangefs/
H A Ddcache.c100 unsigned long time = (unsigned long) dentry->d_fsdata; local
102 if (time_before(jiffies, time))
/linux-master/arch/um/os-Linux/
H A Dtime.c13 #include <time.h>
14 #include <sys/time.h>
/linux-master/scripts/tracing/
H A Ddraw_functrace.py11 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 Drtas-rtc.c3 #include <linux/time.h>
10 #include <asm/time.h>
28 /* This is boot time so we spin. */
/linux-master/lib/dim/
H A Ddim.c61 u32 delta_us = ktime_us_delta(end->time, start->time);
/linux-master/tools/testing/selftests/media_tests/
H A Dvideo_device_test.c37 #include <time.h>
89 srand((unsigned int) time(NULL));
/linux-master/tools/testing/selftests/powerpc/
H A Dharness.c99 void test_harness_set_timeout(uint64_t time) argument
101 timeout = time;
/linux-master/scripts/kconfig/
H A Dnconf.h22 #include <time.h>
23 #include <sys/time.h>
/linux-master/fs/fat/
H A Dmisc.c177 * 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 Dring_buffer_benchmark.c21 /* 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 Dmc146818rtc.h101 # 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);

Completed in 228 milliseconds

<<11121314151617181920>>