Searched refs:dc_timer_dev (Results 1 – 1 of 1) sorted by relevance
121 static struct digicolor_timer dc_timer_dev = { variable146 return ~readl(dc_timer_dev.base + COUNT(TIMER_B)); in digicolor_timer_sched_read()159 dc_timer_dev.base = of_iomap(node, 0); in digicolor_timer_init()160 if (!dc_timer_dev.base) { in digicolor_timer_init()165 irq = irq_of_parse_and_map(node, dc_timer_dev.timer_id); in digicolor_timer_init()178 dc_timer_dev.ticks_per_jiffy = DIV_ROUND_UP(rate, HZ); in digicolor_timer_init()181 writel(UINT_MAX, dc_timer_dev.base + COUNT(TIMER_B)); in digicolor_timer_init()182 writeb(CONTROL_ENABLE, dc_timer_dev.base + CONTROL(TIMER_B)); in digicolor_timer_init()190 &dc_timer_dev.ce); in digicolor_timer_init()196 dc_timer_dev.ce.cpumask = cpu_possible_mask; in digicolor_timer_init()[all …]