Lines Matching +full:dt +full:- +full:node
1 // SPDX-License-Identifier: GPL-2.0
14 * Maxime Ripard <maxime.ripard@free-electrons.com>
71 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_disable() local
72 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable()
77 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_enable() local
78 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable()
84 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_set_count() local
85 writel(count, dt->base + COUNT(dt->timer_id)); in dc_timer_set_count()
103 struct digicolor_timer *dt = dc_timer(ce); in digicolor_clkevt_set_periodic() local
106 dc_timer_set_count(ce, dt->ticks_per_jiffy); in digicolor_clkevt_set_periodic()
139 evt->event_handler(evt); in digicolor_timer_interrupt()
149 static int __init digicolor_timer_init(struct device_node *node) in digicolor_timer_init() argument
159 dc_timer_dev.base = of_iomap(node, 0); in digicolor_timer_init()
162 return -ENXIO; in digicolor_timer_init()
165 irq = irq_of_parse_and_map(node, dc_timer_dev.timer_id); in digicolor_timer_init()
168 return -EINVAL; in digicolor_timer_init()
171 clk = of_clk_get(node, 0); in digicolor_timer_init()
185 clocksource_mmio_init(dc_timer_dev.base + COUNT(TIMER_B), node->name, in digicolor_timer_init()
203 TIMER_OF_DECLARE(conexant_digicolor, "cnxt,cx92755-timer",