Lines Matching refs:np
92 struct device_node *np; in mxs_get_ocotp() local
101 np = of_find_compatible_node(NULL, NULL, "fsl,ocotp"); in mxs_get_ocotp()
102 ocotp_base = of_iomap(np, 0); in mxs_get_ocotp()
166 struct device_node *np, *from = NULL; in update_fec_mac_prop() local
174 np = of_find_compatible_node(from, NULL, "fsl,imx28-fec"); in update_fec_mac_prop()
175 if (!np) in update_fec_mac_prop()
178 from = np; in update_fec_mac_prop()
180 if (of_get_property(np, "local-mac-address", NULL)) in update_fec_mac_prop()
232 of_update_property(np, newmac); in update_fec_mac_prop()
302 struct device_node *np; in tx28_post_init() local
309 np = of_find_compatible_node(NULL, NULL, "fsl,imx28-fec"); in tx28_post_init()
310 pdev = of_find_device_by_node(np); in tx28_post_init()
362 struct device_node *np; in mxs_get_soc_id() local
365 np = of_find_compatible_node(NULL, NULL, "fsl,imx23-digctl"); in mxs_get_soc_id()
366 digctl_base = of_iomap(np, 0); in mxs_get_soc_id()
373 of_node_put(np); in mxs_get_soc_id()
435 struct device_node *np; in mxs_restart_init() local
437 np = of_find_compatible_node(NULL, NULL, "fsl,clkctrl"); in mxs_restart_init()
438 reset_addr = of_iomap(np, 0); in mxs_restart_init()
442 if (of_device_is_compatible(np, "fsl,imx23-clkctrl")) in mxs_restart_init()
446 of_node_put(np); in mxs_restart_init()