Lines Matching refs:np
36 struct device_node *np = of_cpu_device_node_get(cpu); in get_cpu_node_with_valid_op() local
38 if (!of_get_property(np, "operating-points", NULL)) { in get_cpu_node_with_valid_op()
39 of_node_put(np); in get_cpu_node_with_valid_op()
40 np = NULL; in get_cpu_node_with_valid_op()
43 return np; in get_cpu_node_with_valid_op()
48 struct device_node *np; in dt_init_opp_table() local
51 np = of_node_get(cpu_dev->of_node); in dt_init_opp_table()
52 if (!np) { in dt_init_opp_table()
58 of_node_put(np); in dt_init_opp_table()
65 struct device_node *np; in dt_get_transition_latency() local
68 np = of_node_get(cpu_dev->of_node); in dt_get_transition_latency()
69 if (!np) { in dt_get_transition_latency()
74 of_property_read_u32(np, "clock-latency", &transition_latency); in dt_get_transition_latency()
75 of_node_put(np); in dt_get_transition_latency()
90 struct device_node *np; in generic_bL_probe() local
92 np = get_cpu_node_with_valid_op(0); in generic_bL_probe()
93 if (!np) in generic_bL_probe()
96 of_node_put(np); in generic_bL_probe()