Searched refs:time (Results 76 - 100 of 1944) sorted by relevance

1234567891011>>

/linux-master/sound/pci/emu10k1/
H A Demu10k1_synth_local.h10 #include <linux/time.h>
/linux-master/include/linux/
H A Dapm-emulation.h43 int time; member in struct:apm_power_info
H A Dhrtimer.h97 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) argument
99 timer->node.expires = time;
100 timer->_softexpires = time;
103 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) argument
105 timer->_softexpires = time;
106 timer->node.expires = ktime_add_safe(time, delta);
109 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) argument
111 timer->_softexpires = time;
112 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta));
121 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) argument
[all...]
/linux-master/arch/mips/bmips/
H A Dirq.c14 #include <asm/time.h>
/linux-master/drivers/firmware/efi/test/
H A Defi_test.h48 efi_time_t *time; member in struct:efi_gettime
54 efi_time_t *time; member in struct:efi_settime
61 efi_time_t *time; member in struct:efi_getwakeuptime
67 efi_time_t *time; member in struct:efi_setwakeuptime
/linux-master/arch/um/include/asm/
H A Ddelay.h5 #include <linux/time-internal.h>
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dgettimeofday.c6 #include <sys/time.h>
25 printf("time = %.6f\n", tv_diff.tv_sec + (tv_diff.tv_usec) * 1e-6);
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0013.h24 __s64 time[2]; member in struct:nvif_head_scanoutpos_args::nvif_head_scanoutpos_v0
/linux-master/arch/powerpc/platforms/83xx/
H A Dasp834x.c16 #include <asm/time.h>
/linux-master/arch/riscv/kernel/vdso/
H A Dvgettimeofday.c9 #include <linux/time.h>
/linux-master/arch/csky/kernel/vdso/
H A Dvgettimeofday.c3 #include <linux/time.h>
/linux-master/drivers/rtc/
H A Drtc-cmos.c236 dev_err_ratelimited(dev, "unable to read current time\n");
254 struct rtc_time *time; member in struct:cmos_read_alarm_callback_param
263 struct rtc_time *time = p->time; local
265 time->tm_sec = CMOS_READ(RTC_SECONDS_ALARM);
266 time->tm_min = CMOS_READ(RTC_MINUTES_ALARM);
267 time->tm_hour = CMOS_READ(RTC_HOURS_ALARM);
271 time->tm_mday = CMOS_READ(p->cmos->day_alrm) & 0x3f;
272 if (!time->tm_mday)
273 time
[all...]
H A Drtc-sun4v.c21 unsigned long ret, time; local
25 ret = sun4v_tod_get(&time);
27 return time;
/linux-master/arch/powerpc/platforms/52xx/
H A Dmpc5200_simple.c26 #include <asm/time.h>
/linux-master/arch/powerpc/platforms/512x/
H A Dmpc512x_generic.c16 #include <asm/time.h>
/linux-master/kernel/sched/
H A Dcpufreq_schedutil.c62 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time) argument
90 delta_ns = time - sg_policy->last_freq_update_time;
95 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, argument
104 sg_policy->last_freq_update_time = time;
211 * @time: the update time from the caller
219 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, argument
222 s64 delta_ns = time - sg_cpu->last_update;
237 * @time: the update time fro
248 sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, unsigned int flags) argument
296 sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, unsigned long max_cap) argument
350 sugov_update_single_common(struct sugov_cpu *sg_cpu, u64 time, unsigned long max_cap, unsigned int flags) argument
370 sugov_update_single_freq(struct update_util_data *hook, u64 time, unsigned int flags) argument
417 sugov_update_single_perf(struct update_util_data *hook, u64 time, unsigned int flags) argument
455 sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time) argument
478 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) argument
[all...]
/linux-master/drivers/iio/common/ssp_sensors/
H A Dssp_iio_sensor.h46 /* Converts time in ms to frequency */
47 static inline void ssp_convert_to_freq(u32 time, int *integer_part, argument
50 if (time == 0) {
56 *integer_part = SSP_FACTOR_WITH_MS / time;
61 /* Converts frequency to time in ms */
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dcore907d.c37 s64 time; local
47 time = nvif_msec(core->chan.base.device, 2000ULL,
53 if (time < 0)
/linux-master/tools/testing/selftests/timers/
H A Dleapcrash.c20 #include <time.h>
21 #include <sys/time.h>
74 /* Get the current time */
85 /* set the time to 2 seconds before the leap */
96 while (tx.time.tv_sec < next_leap + 1) {
/linux-master/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c5 #include <linux/time.h>
46 __kernel_old_time_t __c_kernel_time(__kernel_old_time_t *time, const struct vdso_data *vd) argument
48 return __cvdso_time_data(vd, time);
/linux-master/include/clocksource/
H A Dhyperv_timer.h43 u64 *cur_tsc, u64 *time)
51 * reference time we must do the following:
53 * A special '0' value indicates the time source is unreliable and we
86 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset;
102 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) argument
42 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) argument
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_full_update.c71 u64 time = ctx.skel->bss->percpu_time[i]; local
73 if (!time)
77 i, ctx.skel->bss->nr_loops * 1000000000ll / time);
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Drecalc_apic_map_test.c8 #include <time.h>
63 for (t = time(NULL) + TIMEOUT; time(NULL) < t;) {
/linux-master/tools/testing/selftests/rtc/
H A Drtctest.c14 #include <sys/time.h>
16 #include <time.h>
48 /* Read the RTC time/date */
52 TH_LOG("Current RTC date/time is %02d/%02d/%02d %02d:%02d:%02d.",
95 TH_LOG("Continuously reading RTC time for %ds (with %dms breaks after every read).",
112 /* Time should not increase more then 1s at a time */
122 TH_LOG("Performed %ld RTC time reads.", iter_count);
221 TH_LOG("Alarm time now set to %02d:%02d:%02d.",
263 rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time);
266 secs = timegm((struct tm *)&alarm.time)
[all...]
/linux-master/drivers/input/joystick/
H A Djoydump.c26 unsigned int time; member in struct:joydump
78 dump->time = t;
89 dump->time = t;
115 i, dump->time - prev->time);

Completed in 306 milliseconds

1234567891011>>