/xen/xen/common/ |
A D | timer.c | 224 static inline void activate_timer(struct timer *timer) in activate_timer() argument 234 static inline void deactivate_timer(struct timer *timer) in deactivate_timer() argument 243 static inline bool_t timer_lock(struct timer *timer) in timer_lock() argument 275 static inline void timer_unlock(struct timer *timer) in timer_unlock() argument 286 static bool active_timer(const struct timer *timer) in active_timer() argument 294 struct timer *timer, in init_timer() argument 300 memset(timer, 0, sizeof(*timer)); in init_timer() 312 void set_timer(struct timer *timer, s_time_t expires) in set_timer() argument 330 void stop_timer(struct timer *timer) in stop_timer() argument 351 ret = active_timer(timer) && timer->expires <= t; in timer_expires_before() [all …]
|
A D | Makefile | 53 obj-y += timer.o
|
A D | rcupdate.c | 91 struct timer idle_timer;
|
/xen/xen/include/xen/ |
A D | timer.h | 17 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); 85 static inline bool timer_is_active(const struct timer *timer) in timer_is_active() argument 87 ASSERT(timer->status <= TIMER_STATUS_in_list); in timer_is_active() 88 return timer->status >= TIMER_STATUS_in_heap; in timer_is_active() 92 void migrate_timer(struct timer *timer, unsigned int new_cpu); [all …]
|
A D | sched.h | 163 struct timer periodic_timer; 164 struct timer singleshot_timer; 166 struct timer poll_timer; /* timeout for SCHEDOP_poll */ 480 struct timer watchdog_timer[NR_DOMAIN_WATCHDOG_TIMERS];
|
/xen/tools/tests/vhpet/ |
A D | main.c | 381 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/xen/include/asm-x86/hvm/ |
A D | vpt.h | 50 struct timer timer; /* ac_timer */ member 102 struct timer update_timer; 103 struct timer update_timer2; 106 struct timer alarm_timer; 123 struct timer timer; /* To make sure we send SCIs */ member
|
A D | viridian.h | 22 struct timer timer; member
|
A D | irq.h | 176 struct timer timer; member
|
/xen/xen/arch/arm/ |
A D | vtimer.c | 108 init_timer(&t->timer, phys_timer_expired, t, v->processor); in vcpu_vtimer_init() 116 init_timer(&t->timer, virt_timer_expired, t, v->processor); in vcpu_vtimer_init() 133 kill_timer(&v->arch.virt_timer.timer); in vcpu_timer_destroy() 134 kill_timer(&v->arch.phys_timer.timer); in vcpu_timer_destroy() 156 stop_timer(&v->arch.virt_timer.timer); in virt_timer_restore() 157 migrate_timer(&v->arch.virt_timer.timer, v->processor); in virt_timer_restore() 158 migrate_timer(&v->arch.phys_timer.timer, v->processor); in virt_timer_restore() 192 set_timer(&v->arch.phys_timer.timer, expires); in vtimer_cntp_ctl() 195 stop_timer(&v->arch.phys_timer.timer); in vtimer_cntp_ctl() 228 set_timer(&v->arch.phys_timer.timer, expires); in vtimer_cntp_tval() [all …]
|
A D | time.c | 67 static __initdata struct dt_device_node *timer; variable 123 timer = dt_find_matching_node(NULL, timer_ids); in preinit_dt_xen_time() 124 if ( !timer ) in preinit_dt_xen_time() 127 dt_device_set_used_by(timer, DOMID_XEN); in preinit_dt_xen_time() 129 res = dt_property_read_u32(timer, "clock-frequency", &rate); in preinit_dt_xen_time() 165 res = platform_get_irq(timer, i); in init_dt_xen_time()
|
/xen/xen/arch/x86/hvm/ |
A D | vpt.c | 235 stop_timer(&pt->timer); in pt_save_timer() 254 set_timer(&pt->timer, pt->scheduled); in pt_restore_timer() 295 set_timer(&pt->timer, pt->scheduled); in pt_irq_fired() 304 set_timer(&pt->timer, pt->scheduled); in pt_irq_fired() 481 migrate_timer(&pt->timer, v->processor); in pt_migrate() 549 init_timer(&pt->timer, pt_timer_fn, pt, v->processor); in create_periodic_time() 550 set_timer(&pt->timer, pt->scheduled); in create_periodic_time() 572 kill_timer(&pt->timer); in destroy_periodic_time() 588 migrate_timer(&pt->timer, v->processor); in pt_adjust_vcpu()
|
A D | pmtimer.c | 149 set_timer(&s->timer, NOW() + time_until_flip + MILLISECS(1)); in pmt_timer_callback() 367 init_timer(&s->timer, pmt_timer_callback, s, v->processor); in pmtimer_init() 379 kill_timer(&s->timer); in pmtimer_deinit()
|
/xen/xen/arch/x86/hvm/viridian/ |
A D | time.c | 125 stop_timer(&vs->timer); in stop_stimer() 209 migrate_timer(&vs->timer, v->processor); in start_stimer() 210 set_timer(&vs->timer, timeout + NOW()); in start_stimer() 271 stop_timer(&vs->timer); in time_vcpu_freeze() 507 init_timer(&vs->timer, stimer_expire, vs, v->processor); in viridian_time_vcpu_init() 529 kill_timer(&vs->timer); in viridian_time_vcpu_deinit()
|
/xen/xen/include/asm-arm/ |
A D | domain.h | 40 struct timer timer; member
|
/xen/xen/drivers/char/ |
A D | ehci-dbgp.c | 333 struct timer timer; member 1195 if ( dbgp->timer.expires > goal ) in ehci_dbgp_flush() 1196 set_timer(&dbgp->timer, goal); in ehci_dbgp_flush() 1289 set_timer(&dbgp->timer, NOW() + timeout); in _ehci_dbgp_poll() 1358 set_timer(&dbgp->timer, NOW() + MILLISECS(1)); in ehci_dbgp_setup_postirq() 1370 init_timer(&dbgp->timer, ehci_dbgp_poll, port, 0); in ehci_dbgp_init_postirq() 1398 if ( dbgp->timer.function ) in ehci_dbgp_check_release() 1399 kill_timer(&dbgp->timer); in ehci_dbgp_check_release() 1424 stop_timer(&dbgp->timer); in ehci_dbgp_suspend() 1425 dbgp->timer.expires = 0; in ehci_dbgp_suspend()
|
A D | ns16550.c | 81 struct timer timer; member 82 struct timer resume_timer; 579 set_timer(&uart->timer, NOW() + MILLISECS(uart->timeout_ms)); in __ns16550_poll() 743 set_timer(&uart->timer, NOW() + MILLISECS(uart->timeout_ms)); in ns16550_setup_postirq() 756 init_timer(&uart->timer, ns16550_poll, port, 0); in ns16550_init_postirq() 842 stop_timer(&uart->timer); in ns16550_suspend()
|
/xen/xen/drivers/passthrough/vtd/x86/ |
A D | hvm.c | 40 stop_timer(&pirq_dpci->timer); in _hvm_dpci_isairq_eoi()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | non-fatal.c | 25 static struct timer mce_timer;
|
A D | amd_nonfatal.c | 67 static struct timer mce_timer;
|
/xen/xen/drivers/passthrough/ |
A D | io.c | 573 init_timer(&pirq_dpci->timer, pt_irq_time_out, pirq_dpci, 0); in pt_irq_create_bind() 579 kill_timer(&pirq_dpci->timer); in pt_irq_create_bind() 747 kill_timer(&pirq_dpci->timer); in pt_irq_destroy_bind() 946 set_timer(&pirq_dpci->timer, NOW() + PT_IRQ_TIME_OUT); in hvm_dirq_assist() 975 stop_timer(&pirq_dpci->timer); in hvm_pirq_eoi()
|
/xen/xen/drivers/cpufreq/ |
A D | cpufreq_ondemand.c | 58 static DEFINE_PER_CPU(struct timer, dbs_timer); 385 struct timer *t = &per_cpu(dbs_timer, cpu); in cpufreq_dbs_timer_resume()
|
/xen/xen/arch/x86/ |
A D | hpet.c | 99 static int hpet_next_event(unsigned long delta, int timer) in hpet_next_event() argument 107 hpet_write32(cmp, HPET_Tn_CMP(timer)); in hpet_next_event()
|
A D | nmi.c | 42 static DEFINE_PER_CPU(struct timer, nmi_timer);
|
/xen/tools/hotplug/Linux/init.d/ |
A D | sysconfig.xendomains.in | 122 # If this variable is non-zero, the script will set up a watchdog timer
|