Searched refs:time (Results 1 - 25 of 1944) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/platforms/pasemi/
H A Dtime.c8 #include <linux/time.h>
10 #include <asm/time.h>
/linux-master/arch/powerpc/kernel/trace/
H A Dtrace_clock.c8 #include <asm/time.h>
/linux-master/tools/perf/scripts/python/
H A Dstat-cpi.py10 def get_key(time, event, cpu, thread):
11 return "%d-%s-%d-%d" % (time, event, cpu, thread)
13 def store_key(time, cpu, thread):
14 if (time not in times):
15 times.append(time)
23 def store(time, event, cpu, thread, val, ena, run):
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
27 store_key(time, cpu, thread)
28 key = get_key(time, even
[all...]
/linux-master/lib/
H A Dfind_bit_benchmark.c39 ktime_t time; local
41 time = ktime_get();
46 time = ktime_get() - time;
47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt);
56 ktime_t time; local
60 time = ktime_get();
65 time = ktime_get() - time;
66 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cn
74 ktime_t time; local
88 ktime_t time; local
102 ktime_t time; local
121 ktime_t time; local
138 ktime_t time; local
[all...]
/linux-master/samples/ftrace/
H A Dsample-trace-array.h62 TP_PROTO(int count, unsigned long time),
64 TP_ARGS(count, time),
68 __field(unsigned long, time)
73 __entry->time = time;
77 __entry->time)
/linux-master/include/keys/
H A Drxrpc-type.h25 u32 start; /* time at which ticket starts */
26 u32 expiry; /* time at which ticket expires */
76 static inline u32 rxrpc_time64_to_u32(time64_t time) argument
78 if (time < 0)
81 if (time > UINT_MAX)
84 return (u32)time;
90 static inline time64_t rxrpc_u32_to_time64(u32 time) argument
92 return (time64_t)time;
/linux-master/arch/sh/include/mach-sh03/mach/
H A Dio.h13 #include <linux/time.h>
/linux-master/include/linux/
H A Dvideodev2.h59 #include <linux/time.h> /* need struct timeval */
/linux-master/tools/thermal/lib/
H A Duptimeofday.h6 #include <sys/time.h>
/linux-master/drivers/rtc/
H A Drtc-mc146818-lib.c34 * readout is unspecified. The maximum update time is ~2ms. Poll
81 pr_warn("Reading current time from RTC took around %li ms\n",
101 struct rtc_time *time; member in struct:mc146818_get_time_callback_param
121 p->time->tm_sec = seconds;
122 p->time->tm_min = CMOS_READ(RTC_MINUTES);
123 p->time->tm_hour = CMOS_READ(RTC_HOURS);
124 p->time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH);
125 p->time->tm_mon = CMOS_READ(RTC_MONTH);
126 p->time->tm_year = CMOS_READ(RTC_YEAR);
143 * mc146818_get_time - Get the current time fro
154 mc146818_get_time(struct rtc_time *time, int timeout) argument
212 mc146818_set_time(struct rtc_time *time) argument
[all...]
H A Drtc-pcf50633.c51 u_int8_t time[PCF50633_TI_EXTENT]; member in struct:pcf50633_time
64 rtc->tm_sec = bcd2bin(pcf->time[PCF50633_TI_SEC]);
65 rtc->tm_min = bcd2bin(pcf->time[PCF50633_TI_MIN]);
66 rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]);
67 rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]);
68 rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]);
69 rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1;
70 rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100;
75 pcf->time[PCF50633_TI_SEC] = bin2bcd(rtc->tm_sec);
76 pcf->time[PCF50633_TI_MI
[all...]
/linux-master/sound/core/seq/
H A Dseq_prioq.c7 #include <linux/time.h>
91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick));
93 /* compare real time */
94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time));
108 if (a->time.tick > b->time
[all...]
/linux-master/drivers/cpufreq/
H A Dppc_cbe_cpufreq_pervasive.c15 #include <linux/time.h>
47 long time; local
56 time = jiffies;
81 time = jiffies - time;
82 time = jiffies_to_msecs(time);
84 "pervasive unit\n", time);
/linux-master/arch/mips/loongson2ef/common/
H A Dtime.c9 #include <asm/mc146818-time.h>
10 #include <asm/time.h>
/linux-master/arch/powerpc/include/asm/
H A Dmpic_timer.h17 #include <linux/time.h>
28 time64_t time);
31 void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time);
35 time64_t time) { return NULL; }
38 void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) { } argument
34 mpic_request_timer(irq_handler_t fn, void *dev, time64_t time) argument
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dtimer.c28 u64 time = nvif_device_time(wait->device); local
31 wait->time0 = time;
32 wait->time1 = time;
35 if (wait->time1 == time) {
39 wait->time1 = time;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dpriv.h14 void (*time)(struct nvkm_timer *, u64 time); member in struct:nvkm_timer_func
15 void (*alarm_init)(struct nvkm_timer *, u32 time);
/linux-master/fs/fat/
H A Dfat_test.c26 __le16 time; member in struct:fat_timestamp_testcase
36 .time = cpu_to_le16(0),
44 .time = cpu_to_le16(49021),
52 .time = cpu_to_le16(0),
60 .time = cpu_to_le16(49021),
68 .time = cpu_to_le16(0),
76 .time = cpu_to_le16(0),
84 .time = cpu_to_le16(0),
92 .time = cpu_to_le16(48064),
100 .time
158 __le16 date, time; local
[all...]
/linux-master/arch/x86/um/vdso/
H A Dvdso.lds.S27 time;
/linux-master/arch/mips/include/asm/
H A Dcevt-r4k.h18 #include <asm/time.h>
/linux-master/include/sound/
H A Dasound.h11 #include <linux/time.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dsubdev.c58 s64 time; local
61 time = ktime_to_us(ktime_get());
75 time = ktime_to_us(ktime_get()) - time;
76 nvkm_trace(subdev, "%s completed in %lldus\n", action, time);
83 s64 time; local
86 time = ktime_to_us(ktime_get());
96 time = ktime_to_us(ktime_get()) - time;
97 nvkm_trace(subdev, "preinit completed in %lldus\n", time);
104 s64 time; local
127 s64 time; local
219 s64 time; local
[all...]
/linux-master/arch/x86/entry/vdso/
H A Dvdso.lds.S26 time;
/linux-master/tools/include/nolibc/
H A Dtime.h3 * time function definitions for NOLIBC
16 time_t time(time_t *tptr) function
/linux-master/drivers/base/power/
H A Dtrace.c32 * can just use the few bytes of actual time data, which means that
36 * (since the time between the hang and the boot might be more
91 static struct rtc_time time = { local
103 time.tm_year = (n % 100);
105 time.tm_mon = (n % 12);
107 time.tm_mday = (n % 28) + 1;
109 time.tm_hour = (n % 24);
111 time.tm_min = (n % 20) * 3;
113 mc146818_set_time(&time);
120 struct rtc_time time; local
[all...]

Completed in 813 milliseconds

1234567891011>>