Lines Matching refs:np
42 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) in mvebu_cpu_reset_map() argument
46 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
52 np->full_name)) { in mvebu_cpu_reset_map()
71 struct device_node *np; in mvebu_cpu_reset_init() local
75 np = of_find_compatible_node(NULL, NULL, in mvebu_cpu_reset_init()
77 if (np) { in mvebu_cpu_reset_init()
84 np = of_find_compatible_node(NULL, NULL, in mvebu_cpu_reset_init()
86 if (np) { in mvebu_cpu_reset_init()
93 if (!np) in mvebu_cpu_reset_init()
96 ret = mvebu_cpu_reset_map(np, res_idx); in mvebu_cpu_reset_init()
97 of_node_put(np); in mvebu_cpu_reset_init()