Lines Matching refs:of_base
149 static void timer_of_base_exit(struct of_timer_base *of_base) in timer_of_base_exit() argument
151 iounmap(of_base->base); in timer_of_base_exit()
155 struct of_timer_base *of_base) in timer_of_base_init() argument
157 of_base->base = of_base->name ? in timer_of_base_init()
158 of_io_request_and_map(np, of_base->index, of_base->name) : in timer_of_base_init()
159 of_iomap(np, of_base->index); in timer_of_base_init()
160 if (IS_ERR_OR_NULL(of_base->base)) { in timer_of_base_init()
161 pr_err("Failed to iomap (%s:%s)\n", np->name, of_base->name); in timer_of_base_init()
162 return of_base->base ? PTR_ERR(of_base->base) : -ENOMEM; in timer_of_base_init()
174 ret = timer_of_base_init(np, &to->of_base); in timer_of_init()
209 timer_of_base_exit(&to->of_base); in timer_of_init()
230 timer_of_base_exit(&to->of_base); in timer_of_cleanup()