Home
last modified time | relevance | path

Searched refs:of_base (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/clocksource/ !
Dtimer-of.c149 static __init 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()
[all …]
Dtimer-of.h38 struct of_timer_base of_base; member
51 return to->of_base.base; in timer_of_base()
Dtimer-tegra.c318 cpu_to->of_base.base = timer_reg_base + base; in tegra_init_timer()
366 to->of_base.base = timer_reg_base; in tegra_init_timer()
Dtimer-rda.c144 .of_base = {