/linux-master/arch/powerpc/platforms/8xx/ |
H A D | m8xx_setup.c | 17 #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 D | access_memory.c | 9 #include <time.h> 21 printf("Usage: %s <number> <size (bytes)> <time (ms)>\n",
|
H A D | sysfs_update_schemes_tried_regions_hang.py | 5 import time namespace
|
/linux-master/arch/arm/vdso/ |
H A D | vgettimeofday.c | 7 #include <linux/time.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | vmlinux.c | 5 #include <time.h>
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | test-pcmtest-driver.c | 29 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 D | res_sample.c | 8 #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 D | mpc831x_rdb.c | 15 #include <asm/time.h>
|
H A D | mpc830x_rdb.c | 14 #include <asm/time.h>
|
/linux-master/tools/testing/kunit/ |
H A D | kunit.py | 15 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 D | osunixxf.c | 24 #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 D | object.c | 197 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 D | rtc-ds1286.c | 164 * 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 D | rtc-rc5t583.c | 26 /* 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 D | rtc-mxc.c | 85 * 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 D | proc.c | 57 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 D | jitterentropy.c | 72 __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 D | romimage-macros.h | 49 .macro WAIT, time 59 2 : .long \time * 100
|
/linux-master/include/linux/ |
H A D | lp.h | 24 #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 D | sctop.py | 13 import os, sys, time namespace 89 time.sleep(interval)
|
H A D | powerpc-hcalls.py | 21 # '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 D | media_device_test.c | 39 #include <time.h> 75 srand((unsigned int) time(NULL));
|
/linux-master/tools/testing/selftests/timers/ |
H A D | set-tz.c | 20 #include <time.h> 21 #include <sys/time.h>
|
/linux-master/arch/x86/kernel/ |
H A D | time.c | 18 #include <linux/time.h> 26 #include <asm/time.h>
|
/linux-master/drivers/gpu/drm/nouveau/nvif/ |
H A D | device.c | 35 return args.time; 38 return device->user.func->time(&device->user);
|