Lines Matching refs:np
62 struct device_node *np; in warp_post_info() local
67 np = of_find_compatible_node(NULL, NULL, "pika,fpga-sd"); in warp_post_info()
68 if (np == NULL) in warp_post_info()
71 fpga = of_iomap(np, 0); in warp_post_info()
72 of_node_put(np); in warp_post_info()
166 struct device_node *np, *child; in pika_setup_leds() local
168 np = of_find_compatible_node(NULL, NULL, "gpio-leds"); in pika_setup_leds()
169 if (!np) { in pika_setup_leds()
174 for_each_child_of_node(np, child) in pika_setup_leds()
180 of_node_put(np); in pika_setup_leds()
185 static void pika_setup_critical_temp(struct device_node *np, in pika_setup_critical_temp() argument
199 irq = irq_of_parse_and_map(np, 0); in pika_setup_critical_temp()
228 struct device_node *np; in pika_dtm_thread() local
231 np = of_find_compatible_node(NULL, NULL, "adi,ad7414"); in pika_dtm_thread()
232 if (np == NULL) in pika_dtm_thread()
235 client = of_find_i2c_device_by_node(np); in pika_dtm_thread()
237 of_node_put(np); in pika_dtm_thread()
241 pika_setup_critical_temp(np, client); in pika_dtm_thread()
243 of_node_put(np); in pika_dtm_thread()
270 struct device_node *np; in pika_dtm_start() local
272 np = of_find_compatible_node(NULL, NULL, "pika,fpga"); in pika_dtm_start()
273 if (np == NULL) in pika_dtm_start()
276 dtm_fpga = of_iomap(np, 0); in pika_dtm_start()
277 of_node_put(np); in pika_dtm_start()