Lines Matching refs:of_base
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()
200 timer_of_base_exit(&to->of_base); in timer_of_init()
220 timer_of_base_exit(&to->of_base); in timer_of_cleanup()