Searched refs:of_base (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/clocksource/ |
| H A D | timer-rtl-otto.c | 102 rttm_ack_irq(to->of_base.base); in rttm_timer_interrupt() 103 RTTM_DEBUG(to->of_base.base); in rttm_timer_interrupt() 133 rttm_enable_timer(to->of_base.base, mode, to->of_clk.rate / RTTM_TICKS_PER_SEC); in rttm_start_timer() 140 RTTM_DEBUG(to->of_base.base); in rttm_next_event() 141 rttm_bounce_timer(to->of_base.base, RTTM_CTRL_COUNTER); in rttm_next_event() 142 rttm_disable_timer(to->of_base.base); in rttm_next_event() 143 rttm_set_period(to->of_base.base, delta); in rttm_next_event() 153 RTTM_DEBUG(to->of_base.base); in rttm_state_oneshot() 154 rttm_bounce_timer(to->of_base.base, RTTM_CTRL_COUNTER); in rttm_state_oneshot() 155 rttm_disable_timer(to->of_base.base); in rttm_state_oneshot() [all …]
|
| H A D | timer-of.c | 140 static __init void timer_of_base_exit(struct of_timer_base *of_base) in timer_of_base_exit() argument 142 iounmap(of_base->base); in timer_of_base_exit() 146 struct of_timer_base *of_base) in timer_of_base_init() argument 148 of_base->base = of_base->name ? in timer_of_base_init() 149 of_io_request_and_map(np, of_base->index, of_base->name) : in timer_of_base_init() 150 of_iomap(np, of_base->index); in timer_of_base_init() 151 if (IS_ERR_OR_NULL(of_base->base)) { in timer_of_base_init() 152 pr_err("Failed to iomap (%s:%s)\n", np->name, of_base->name); in timer_of_base_init() 153 return of_base->base ? PTR_ERR(of_base->base) : -ENOMEM; in timer_of_base_init() 165 ret = timer_of_base_init(np, &to->of_base); in timer_of_init() [all …]
|
| H A D | timer-of.h | 37 struct of_timer_base of_base; member 50 return to->of_base.base; in timer_of_base()
|