Lines Matching refs:np
131 static int __init rk_timer_probe(struct rk_timer *timer, struct device_node *np) in rk_timer_probe() argument
138 timer->base = of_iomap(np, 0); in rk_timer_probe()
144 if (of_device_is_compatible(np, "rockchip,rk3399-timer")) { in rk_timer_probe()
150 pclk = of_clk_get_by_name(np, "pclk"); in rk_timer_probe()
164 timer_clk = of_clk_get_by_name(np, "timer"); in rk_timer_probe()
180 irq = irq_of_parse_and_map(np, 0); in rk_timer_probe()
209 static int __init rk_clkevt_init(struct device_node *np) in rk_clkevt_init() argument
220 ret = rk_timer_probe(&rk_clkevt->timer, np); in rk_clkevt_init()
255 static int __init rk_clksrc_init(struct device_node *np) in rk_clksrc_init() argument
265 ret = rk_timer_probe(rk_clksrc, np); in rk_clksrc_init()
294 static int __init rk_timer_init(struct device_node *np) in rk_timer_init() argument
297 return rk_clkevt_init(np); in rk_timer_init()
302 return rk_clksrc_init(np); in rk_timer_init()