Lines Matching refs:timer_cfg
243 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()
347 rv = of_irq_to_resource_table(np, timer_cfg.irq, in of_davinci_timer_register()
360 rv = davinci_timer_register(clk, &timer_cfg); in of_davinci_timer_register()