Searched refs:time (Results 151 - 175 of 1944) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/platforms/8xx/
H A Dm8xx_setup.c17 #include <linux/time.h>
31 /* A place holder for time base interrupts, if they are ever enabled. */
140 time64_t time; local
142 time = rtc_tm_to_time64(tm);
145 out_be32(&mpc8xx_immr->im_sit.sit_rtc, (u32)time);
155 /* Get time from the RTC. */
/linux-master/tools/testing/selftests/damon/
H A Daccess_memory.c9 #include <time.h>
21 printf("Usage: %s <number> <size (bytes)> <time (ms)>\n",
H A Dsysfs_update_schemes_tried_regions_hang.py5 import time namespace
/linux-master/arch/arm/vdso/
H A Dvgettimeofday.c7 #include <linux/time.h>
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dvmlinux.c5 #include <time.h>
/linux-master/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c29 int time; member in struct:pcmtest_test_params
149 self->params.time = 4;
175 samples = calloc(self->params.sec_buf_len * self->params.time, 1);
184 params->rate * params->channels * params->time);
186 for (i = 0; i < self->params.sec_buf_len * params->time; i++) {
192 write_res = snd_pcm_writei(handle, samples, params->rate * params->time);
214 samples = calloc(self->params.sec_buf_len * self->params.time, 1);
223 params->rate * params->channels * params->time);
224 read_res = snd_pcm_readi(handle, samples, params->rate * params->time);
228 for (i = 0; i < self->params.sec_buf_len * self->params.time;
[all...]
/linux-master/tools/perf/ui/browsers/
H A Dres_sample.c8 #include "time-utils.h"
50 timestamp__scnprintf_nsec(res_samples[i].time, tbuf, sizeof tbuf);
68 n = timestamp__scnprintf_nsec(r->time - context_len, trange, sizeof trange);
70 timestamp__scnprintf_nsec(r->time + context_len, trange + n, sizeof trange - n);
72 timestamp__scnprintf_nsec(r->time, tsample, sizeof tsample);
76 if (asprintf(&cmd, "%s script %s%s --time %s %s%s %s%s --ns %s %s %s %s %s | less +/%s",
/linux-master/arch/powerpc/platforms/83xx/
H A Dmpc831x_rdb.c15 #include <asm/time.h>
H A Dmpc830x_rdb.c14 #include <asm/time.h>
/linux-master/tools/testing/kunit/
H A Dkunit.py15 import time namespace
81 config_start = time.time()
83 config_end = time.time()
91 build_start = time.time()
95 build_end = time.time()
187 test_start = time
[all...]
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c24 #include <sys/time.h>
721 struct timespec time; local
782 * The interface to sem_timedwait is an absolute time, so we need to
783 * get the current time, then add in the millisecond Timeout value.
785 if (clock_gettime(CLOCK_REALTIME, &time) == -1) {
790 time.tv_sec += (msec_timeout / ACPI_MSEC_PER_SEC);
791 time.tv_nsec +=
796 if (time.tv_nsec >= ACPI_NSEC_PER_SEC) {
797 time.tv_sec += (time
984 struct timeval time; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dobject.c197 s64 time; local
201 time = ktime_to_us(ktime_get());
218 time = ktime_to_us(ktime_get()) - time;
219 nvif_debug(object, "%s completed in %lldus\n", action, time);
239 s64 time; local
243 time = ktime_to_us(ktime_get());
257 time = ktime_to_us(ktime_get()) - time;
258 nvif_debug(object, "init completed in %lldus\n", time);
276 s64 time; local
[all...]
/linux-master/drivers/rtc/
H A Drtc-ds1286.c164 * Once the read clears, read the RTC time (again via ioctl). Easy.
272 alm->time.tm_min = ds1286_rtc_read(priv, RTC_MINUTES_ALARM) & 0x7f;
273 alm->time.tm_hour = ds1286_rtc_read(priv, RTC_HOURS_ALARM) & 0x1f;
274 alm->time.tm_wday = ds1286_rtc_read(priv, RTC_DAY_ALARM) & 0x07;
278 alm->time.tm_min = bcd2bin(alm->time.tm_min);
279 alm->time.tm_hour = bcd2bin(alm->time.tm_hour);
280 alm->time.tm_sec = 0;
289 hrs = alm->time
[all...]
H A Drtc-rc5t583.c26 /* Total number of RTC registers needed to set time*/
51 * Gets current rc5t583 RTC time and date parameters.
53 * The RTC's time/alarm representation is not what gmtime(3) requires
68 dev_err(dev, "RTC read time failed with err:%d\n", ret);
100 dev_err(dev, "RTC set time failed with error %d\n", ret);
121 alm->time.tm_sec = 0;
122 alm->time.tm_min = bcd2bin(alarm_data[0]);
123 alm->time.tm_hour = bcd2bin(alarm_data[1]);
124 alm->time.tm_mday = bcd2bin(alarm_data[2]);
125 alm->time
[all...]
H A Drtc-mxc.c85 * This function is used to obtain the RTC time or the alarm value in
114 * This function sets the RTC alarm value or the time value.
116 static void set_alarm_or_time(struct device *dev, int time_alarm, time64_t time) argument
122 day = div_s64_rem(time, 86400, &tod);
124 /* time is within a day now */
128 /* time is within an hour now */
154 time64_t time; local
158 time = rtc_tm_to_time64(alrm);
162 set_alarm_or_time(dev, MXC_RTC_ALARM, time);
222 * This function reads the current RTC time int
243 time64_t time = rtc_tm_to_time64(tm); local
[all...]
H A Dproc.c57 seq_printf(seq, "alrm_time\t: %ptRt\n", &alrm.time);
58 seq_printf(seq, "alrm_date\t: %ptRd\n", &alrm.time);
/linux-master/crypto/
H A Djitterentropy.c72 __u64 prev_time; /* SENSITIVE Previous time stamp */
97 /* LSB of time stamp to process */
118 * variations (2nd derivation of time is
216 * @delta_masked [in] Masked time delta to process
308 * 1st derivative of the jitter measurement (time delta)
309 * 2nd derivative of the jitter measurement (delta of time deltas)
310 * 3rd derivative of the jitter measurement (delta of delta of time deltas)
315 * @current_delta [in] Jitter time delta
330 * Insert the result of the comparison of two back-to-back time
385 __u64 time local
422 jent_condition_data(struct rand_data *ec, __u64 time, int stuck) argument
521 __u64 time = 0; local
[all...]
/linux-master/arch/sh/include/asm/
H A Dromimage-macros.h49 .macro WAIT, time
59 2 : .long \time * 100
/linux-master/include/linux/
H A Dlp.h24 #define LP_TIME(minor) lp_table[(minor)].time /* wait time */
50 unsigned int time; member in struct:lp_struct
96 * This is the port delay time, in microseconds.
/linux-master/tools/perf/scripts/python/
H A Dsctop.py13 import os, sys, time namespace
89 time.sleep(interval)
H A Dpowerpc-hcalls.py21 # 'min': minimum time nsec
22 # 'max': maximum time nsec
23 # 'time': average time nsec
166 time = output[opcode]['time']
171 print(print_ptrn % (h_name, cnt, min_t, max_t, time//cnt))
179 output[opcode]['time'] += diff
187 'time': diff,
/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_test.c39 #include <time.h>
75 srand((unsigned int) time(NULL));
/linux-master/tools/testing/selftests/timers/
H A Dset-tz.c20 #include <time.h>
21 #include <sys/time.h>
/linux-master/arch/x86/kernel/
H A Dtime.c18 #include <linux/time.h>
26 #include <asm/time.h>
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Ddevice.c35 return args.time;
38 return device->user.func->time(&device->user);

Completed in 300 milliseconds

1234567891011>>