Lines Matching refs:np
76 struct device_node *np; in ppc4xx_l2c_probe() local
86 np = of_find_compatible_node(NULL, NULL, "ibm,l2-cache"); in ppc4xx_l2c_probe()
87 if (!np) in ppc4xx_l2c_probe()
91 prop = of_get_property(np, "cache-size", NULL); in ppc4xx_l2c_probe()
93 printk(KERN_ERR "%s: Can't get cache-size!\n", np->full_name); in ppc4xx_l2c_probe()
94 of_node_put(np); in ppc4xx_l2c_probe()
100 dcrreg = of_get_property(np, "dcr-reg", &len); in ppc4xx_l2c_probe()
103 np->full_name); in ppc4xx_l2c_probe()
104 of_node_put(np); in ppc4xx_l2c_probe()
111 irq = irq_of_parse_and_map(np, 0); in ppc4xx_l2c_probe()
114 of_node_put(np); in ppc4xx_l2c_probe()
122 of_node_put(np); in ppc4xx_l2c_probe()
178 if (of_device_is_compatible(np, "ibm,l2-cache-460ex") || in ppc4xx_l2c_probe()
179 of_device_is_compatible(np, "ibm,l2-cache-460gt")) in ppc4xx_l2c_probe()
189 of_node_put(np); in ppc4xx_l2c_probe()
200 struct device_node *np; in ppc4xx_reset_system() local
204 np = of_find_node_by_type(NULL, "cpu"); in ppc4xx_reset_system()
205 if (np) { in ppc4xx_reset_system()
206 prop = of_get_property(np, "reset-type", NULL); in ppc4xx_reset_system()