Home
last modified time | relevance | path

Searched refs:timeridx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-pistachio.c93 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode() argument
99 val = gpt_readl(pcs->base, TIMER_CFG, timeridx); in pistachio_clksrc_set_mode()
105 gpt_writel(pcs->base, val, TIMER_CFG, timeridx); in pistachio_clksrc_set_mode()
108 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable() argument
113 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_enable()
114 gpt_writel(pcs->base, RELOAD_VALUE, TIMER_RELOAD_VALUE, timeridx); in pistachio_clksrc_enable()
115 pistachio_clksrc_set_mode(cs, timeridx, true); in pistachio_clksrc_enable()
118 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable() argument
121 pistachio_clksrc_set_mode(cs, timeridx, false); in pistachio_clksrc_disable()
/openbmc/qemu/target/arm/
H A Dhelper.c2790 gt_update_irq(cpu, timeridx); in gt_recalc_timer()
2794 int timeridx) in gt_timer_reset() argument
2798 timer_del(cpu->gt_timer[timeridx]); in gt_timer_reset()
2834 int timeridx, in gt_cval_write() argument
2843 int timeridx) in gt_tval_read() argument
2847 switch (timeridx) { in gt_tval_read()
2862 int timeridx, in gt_tval_write() argument
2867 switch (timeridx) { in gt_tval_write()
2884 int timeridx, in gt_ctl_write() argument
2894 gt_recalc_timer(cpu, timeridx); in gt_ctl_write()
[all …]