Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 24 of 24) sorted by relevance

/arch/um/os-Linux/
Dtime.c20 struct itimerval interval = ((struct itimerval) { { 0, usec }, in set_interval() local
23 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in set_interval()
33 struct itimerval interval; in timer_one_shot() local
36 interval = ((struct itimerval) { { 0, 0 }, { sec, usec } }); in timer_one_shot()
38 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in timer_one_shot()
142 struct itimerval interval; in after_sleep_interval() local
160 interval = ((struct itimerval) { { 0, usec }, tv }); in after_sleep_interval()
162 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in after_sleep_interval()
/arch/sh/kernel/timers/
Dtimer-tmu.c91 static void tmu_timer_set_interval(int tmu_num, unsigned long interval, unsigned int reload) in tmu_timer_set_interval() argument
98 ctrl_outl(interval, tmu_tcnt); in tmu_timer_set_interval()
99 tmu_latest_interval[tmu_num] = interval; in tmu_timer_set_interval()
105 ctrl_outl( reload ? interval : 0 , tmu_tcor); in tmu_timer_set_interval()
226 unsigned long interval; in tmu_timer_init() local
250 interval = (frequency + HZ / 2) / HZ; in tmu_timer_init()
252 tmu_timer_set_interval(TMU0,interval, 1); in tmu_timer_init()
Dtimer-cmt.c154 unsigned long interval; in cmt_timer_init() local
164 interval = cmt0_clk.parent->rate / 8 / HZ; in cmt_timer_init()
165 printk(KERN_INFO "Interval = %ld\n", interval); in cmt_timer_init()
167 ctrl_outw(interval, CMT_CMCOR_0); in cmt_timer_init()
Dtimer-mtu2.c162 unsigned long interval; in mtu2_timer_init() local
178 interval = CONFIG_SH_PCLK_FREQ / 16 / HZ; in mtu2_timer_init()
179 printk(KERN_INFO "Interval = %ld\n", interval); in mtu2_timer_init()
181 ctrl_outw(interval, MTU2_TGRA_1); in mtu2_timer_init()
/arch/sh/kernel/
Dtime_64.c293 unsigned long interval; in time_init() local
315 interval = (clk_get_rate(clk)/(HZ*4)); in time_init()
317 printk("Interval = %ld\n", interval); in time_init()
323 ctrl_outl(interval, TMU0_TCOR); in time_init()
324 ctrl_outl(interval, TMU0_TCNT); in time_init()
/arch/s390/kernel/
Dvtime.c275 if (event->interval) { in do_callbacks()
277 event->expires = event->interval + vq->elapsed; in do_callbacks()
409 timer->interval = 0; in add_virt_timer()
423 timer->interval = timer->expires; in add_virt_timer_periodic()
468 timer->interval = 0; in mod_virt_timer()
479 if (timer->interval) in mod_virt_timer()
480 timer->interval = expires; in mod_virt_timer()
Dcompat_linux.h196 struct compat_timespec __user *interval);
Dcompat_linux.c350 struct compat_timespec __user *interval) in sys32_sched_rr_get_interval() argument
360 if (put_compat_timespec(&t, interval)) in sys32_sched_rr_get_interval()
/arch/cris/arch-v32/mach-fs/
Darbiter.c72 int interval = 0; in crisv32_arbiter_config() local
118 interval = NBR_OF_SLOTS; in crisv32_arbiter_config()
120 interval = in crisv32_arbiter_config()
129 pos += interval; in crisv32_arbiter_config()
/arch/s390/appldata/
Dappldata_base.c289 int len, interval; in appldata_interval_handler() local
308 interval = 0; in appldata_interval_handler()
309 sscanf(buf, "%i", &interval); in appldata_interval_handler()
310 if (interval <= 0) in appldata_interval_handler()
315 appldata_interval = interval; in appldata_interval_handler()
/arch/powerpc/platforms/chrp/
Dsetup.c600 unsigned long interval, offset; in chrp_init2() local
604 interval = HZ * 59 / *p; in chrp_init2()
607 event_scan_interval = ncpus * interval; in chrp_init2()
613 offset += interval; in chrp_init2()
616 *p, interval); in chrp_init2()
/arch/s390/include/asm/
Dtimer.h24 __u64 interval; member
/arch/cris/arch-v32/mach-a3/
Darbiter.c135 int interval = 0; in crisv32_arbiter_config() local
181 interval = NBR_OF_SLOTS; in crisv32_arbiter_config()
183 interval = NBR_OF_SLOTS / in crisv32_arbiter_config()
192 pos += interval; in crisv32_arbiter_config()
/arch/x86/kvm/
Di8254.c272 s64 interval; in create_pit_timer() local
274 interval = muldiv64(val, NSEC_PER_SEC, KVM_PIT_FREQ); in create_pit_timer()
276 pr_debug("pit: create pit timer, interval is %llu nsec\n", interval); in create_pit_timer()
280 pt->period = (is_period == 0) ? 0 : interval; in create_pit_timer()
285 hrtimer_start(&pt->timer, ktime_add_ns(ktime_get(), interval), in create_pit_timer()
/arch/mips/kernel/
Dlinux32.c161 struct compat_timespec __user *, interval)
170 if (put_user (t.tv_sec, &interval->tv_sec) ||
171 __put_user(t.tv_nsec, &interval->tv_nsec))
/arch/parisc/kernel/
Dsys_parisc32.c171 struct compat_timespec __user *interval) in sys32_sched_rr_get_interval() argument
177 if (put_compat_timespec(&t, interval)) in sys32_sched_rr_get_interval()
/arch/powerpc/kernel/
Dsys_ppc32.c231 asmlinkage long compat_sys_sched_rr_get_interval(u32 pid, struct compat_timespec __user *interval) in compat_sys_sched_rr_get_interval() argument
241 if (put_compat_timespec(&t, interval)) in compat_sys_sched_rr_get_interval()
/arch/sparc/kernel/
Dsys_sparc32.c231 …ge long compat_sys_sched_rr_get_interval(compat_pid_t pid, struct compat_timespec __user *interval) in compat_sys_sched_rr_get_interval() argument
240 if (put_compat_timespec(&t, interval)) in compat_sys_sched_rr_get_interval()
/arch/x86/ia32/
Dsys_ia32.c407 struct compat_timespec __user *interval) in sys32_sched_rr_get_interval() argument
416 if (put_compat_timespec(&t, interval)) in sys32_sched_rr_get_interval()
/arch/s390/
DKconfig486 A custom interval value (in seconds) can be written to
487 /proc/appldata/interval.
489 Defaults are 60 seconds interval and timer off.
/arch/powerpc/boot/dts/
Dvirtex440-ml507.dts280 xlnx,wdt-interval = <0x1e>;
/arch/ia64/ia32/
Dsys_ia32.c1895 sys32_sched_rr_get_interval (pid_t pid, struct compat_timespec __user *interval) in sys32_sched_rr_get_interval() argument
1904 if (put_compat_timespec(&t, interval)) in sys32_sched_rr_get_interval()
/arch/arm/
DKconfig847 accounting to be spread across the timer interval, preventing a
/arch/x86/
DKconfig1932 MFGPTs have a better resolution and max interval than the