Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clocksource/
Dtimer-davinci.c243 const struct davinci_timer_cfg *timer_cfg) in davinci_timer_register() argument
256 if (!request_mem_region(timer_cfg->reg.start, in davinci_timer_register()
257 resource_size(&timer_cfg->reg), in davinci_timer_register()
263 base = ioremap(timer_cfg->reg.start, resource_size(&timer_cfg->reg)); in davinci_timer_register()
281 if (timer_cfg->cmp_off) { in davinci_timer_register()
282 clockevent->cmp_off = timer_cfg->cmp_off; in davinci_timer_register()
294 rv = request_irq(timer_cfg->irq[DAVINCI_TIMER_CLOCKEVENT_IRQ].start, in davinci_timer_register()
309 if (timer_cfg->cmp_off) { in davinci_timer_register()
337 struct davinci_timer_cfg timer_cfg = { }; in of_davinci_timer_register() local
341 rv = of_address_to_resource(np, 0, &timer_cfg.reg); in of_davinci_timer_register()
[all …]
Dhyperv_timer.c99 union hv_stimer_config timer_cfg; in hv_ce_set_oneshot() local
101 timer_cfg.as_uint64 = 0; in hv_ce_set_oneshot()
102 timer_cfg.enable = 1; in hv_ce_set_oneshot()
103 timer_cfg.auto_enable = 1; in hv_ce_set_oneshot()
109 timer_cfg.direct_mode = 1; in hv_ce_set_oneshot()
110 timer_cfg.apic_vector = HYPERV_STIMER0_VECTOR; in hv_ce_set_oneshot()
118 timer_cfg.direct_mode = 0; in hv_ce_set_oneshot()
119 timer_cfg.sintx = stimer0_message_sint; in hv_ce_set_oneshot()
121 hv_set_register(HV_REGISTER_STIMER0_CONFIG, timer_cfg.as_uint64); in hv_ce_set_oneshot()