Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 34) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/common/
A Dtimer.c214 static inline void activate_timer(struct timer *timer) in activate_timer() argument
224 static inline void deactivate_timer(struct timer *timer) in deactivate_timer() argument
233 static inline bool_t timer_lock(struct timer *timer) in timer_lock() argument
265 static inline void timer_unlock(struct timer *timer) in timer_unlock() argument
276 static bool_t active_timer(struct timer *timer) in active_timer() argument
285 struct timer *timer, in init_timer() argument
291 memset(timer, 0, sizeof(*timer)); in init_timer()
303 void set_timer(struct timer *timer, s_time_t expires) in set_timer() argument
321 void stop_timer(struct timer *timer) in stop_timer() argument
342 ret = active_timer(timer) && timer->expires <= t; in timer_expires_before()
[all …]
A DMakefile56 obj-y += timer.o
A Dsched_rt.c189 struct timer *repl_timer; /* replenishment timer */
679 prv->repl_timer = xzalloc(struct timer); in rt_init()
1508 struct timer *repl_timer = prv->repl_timer; in repl_timer_handler()
A Drcupdate.c89 struct timer idle_timer;
/xen-4.10.0-shim-comet/xen/include/xen/
A Dtimer.h17 struct timer { struct
26 struct timer *list_next; argument
59 struct timer *timer,
65 void set_timer(struct timer *timer, s_time_t expires);
71 void stop_timer(struct timer *timer);
74 bool timer_expires_before(struct timer *timer, s_time_t t);
79 void migrate_timer(struct timer *timer, unsigned int new_cpu);
86 void kill_timer(struct timer *timer);
A Dsched.h156 struct timer periodic_timer;
157 struct timer singleshot_timer;
159 struct timer poll_timer; /* timeout for SCHEDOP_poll */
442 struct timer watchdog_timer[NR_DOMAIN_WATCHDOG_TIMERS];
A Dsched-if.h40 struct timer s_timer; /* scheduling timer */
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Dmain.c381 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_set_mode()
390 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_set_mode()
391 hpet_writel(cmp, HPET_Tn_CMP(timer)); in hpet_set_mode()
438 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
440 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()
441 hpet_writel(cmp, HPET_Tn_CMP(timer)); in hpet_check_stopped()
471 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
473 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()
474 hpet_writel(cmp, HPET_Tn_CMP(timer)); in hpet_check_stopped()
524 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvtimer.c110 init_timer(&t->timer, phys_timer_expired, t, v->processor); in vcpu_vtimer_init()
119 init_timer(&t->timer, virt_timer_expired, t, v->processor); in vcpu_vtimer_init()
136 kill_timer(&v->arch.virt_timer.timer); in vcpu_timer_destroy()
137 kill_timer(&v->arch.phys_timer.timer); in vcpu_timer_destroy()
160 stop_timer(&v->arch.virt_timer.timer); in virt_timer_restore()
161 migrate_timer(&v->arch.virt_timer.timer, v->processor); in virt_timer_restore()
162 migrate_timer(&v->arch.phys_timer.timer, v->processor); in virt_timer_restore()
190 set_timer(&v->arch.phys_timer.timer, in vtimer_cntp_ctl()
194 stop_timer(&v->arch.phys_timer.timer); in vtimer_cntp_ctl()
220 set_timer(&v->arch.phys_timer.timer, in vtimer_cntp_tval()
[all …]
A Dtime.c66 static __initdata struct dt_device_node *timer; variable
122 timer = dt_find_matching_node(NULL, timer_ids); in preinit_dt_xen_time()
123 if ( !timer ) in preinit_dt_xen_time()
126 dt_device_set_used_by(timer, DOMID_XEN); in preinit_dt_xen_time()
128 res = dt_property_read_u32(timer, "clock-frequency", &rate); in preinit_dt_xen_time()
164 res = platform_get_irq(timer, i); in init_dt_xen_time()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dvpt.h54 struct timer timer; /* ac_timer */ member
106 struct timer update_timer;
107 struct timer update_timer2;
110 struct timer alarm_timer;
127 struct timer timer; /* To make sure we send SCIs */ member
A Dirq.h172 struct timer timer; member
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvpt.c207 stop_timer(&pt->timer); in pt_save_timer()
226 set_timer(&pt->timer, pt->scheduled); in pt_restore_timer()
378 set_timer(&pt->timer, pt->scheduled); in pt_intr_post()
387 set_timer(&pt->timer, pt->scheduled); in pt_intr_post()
412 migrate_timer(&pt->timer, v->processor); in pt_migrate()
471 init_timer(&pt->timer, pt_timer_fn, pt, v->processor); in create_periodic_time()
472 set_timer(&pt->timer, pt->scheduled); in create_periodic_time()
494 kill_timer(&pt->timer); in destroy_periodic_time()
520 migrate_timer(&pt->timer, v->processor); in pt_adjust_vcpu()
A Dpmtimer.c149 set_timer(&s->timer, NOW() + time_until_flip + MILLISECS(1)); in pmt_timer_callback()
366 init_timer(&s->timer, pmt_timer_callback, s, v->processor); in pmtimer_init()
378 kill_timer(&s->timer); in pmtimer_deinit()
/xen-4.10.0-shim-comet/xen/drivers/char/
A Dehci-dbgp.c332 struct timer timer; member
1187 if ( dbgp->timer.expires > goal ) in ehci_dbgp_flush()
1188 set_timer(&dbgp->timer, goal); in ehci_dbgp_flush()
1281 set_timer(&dbgp->timer, NOW() + timeout); in _ehci_dbgp_poll()
1349 set_timer(&dbgp->timer, NOW() + MILLISECS(1)); in ehci_dbgp_setup_postirq()
1361 init_timer(&dbgp->timer, ehci_dbgp_poll, port, 0); in ehci_dbgp_init_postirq()
1389 if ( dbgp->timer.function ) in ehci_dbgp_check_release()
1390 kill_timer(&dbgp->timer); in ehci_dbgp_check_release()
1415 stop_timer(&dbgp->timer); in ehci_dbgp_suspend()
1416 dbgp->timer.expires = 0; in ehci_dbgp_suspend()
A Dns16550.c80 struct timer timer; member
81 struct timer resume_timer;
577 set_timer(&uart->timer, NOW() + MILLISECS(uart->timeout_ms)); in __ns16550_poll()
728 set_timer(&uart->timer, NOW() + MILLISECS(uart->timeout_ms)); in ns16550_setup_postirq()
741 init_timer(&uart->timer, ns16550_poll, port, 0); in ns16550_init_postirq()
788 stop_timer(&uart->timer); in ns16550_suspend()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Ddomain.h39 struct timer timer; member
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dnon-fatal.c25 static struct timer mce_timer;
A Damd_nonfatal.c67 static struct timer mce_timer;
/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Dio.c566 init_timer(&pirq_dpci->timer, pt_irq_time_out, pirq_dpci, 0); in pt_irq_create_bind()
572 kill_timer(&pirq_dpci->timer); in pt_irq_create_bind()
725 kill_timer(&pirq_dpci->timer); in pt_irq_destroy_bind()
926 set_timer(&pirq_dpci->timer, NOW() + PT_IRQ_TIME_OUT); in hvm_dirq_assist()
953 stop_timer(&pirq_dpci->timer); in hvm_pirq_eoi()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/x86/
A Dvtd.c82 stop_timer(&pirq_dpci->timer); in _hvm_dpci_isairq_eoi()
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/
A Dcpufreq_ondemand.c58 static DEFINE_PER_CPU(struct timer, dbs_timer);
373 struct timer* t; in cpufreq_dbs_timer_resume()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dhpet.c97 static int hpet_next_event(unsigned long delta, int timer) in hpet_next_event() argument
105 hpet_write32(cmp, HPET_Tn_CMP(timer)); in hpet_next_event()
A Dnmi.c40 static DEFINE_PER_CPU(struct timer, nmi_timer);
/xen-4.10.0-shim-comet/tools/hotplug/Linux/init.d/
A Dsysconfig.xendomains.in122 # If this variable is non-zero, the script will set up a watchdog timer

Completed in 39 milliseconds

12