Lines Matching refs:np
72 struct device_node *np; in ppc4xx_l2c_probe() local
82 np = of_find_compatible_node(NULL, NULL, "ibm,l2-cache"); in ppc4xx_l2c_probe()
83 if (!np) in ppc4xx_l2c_probe()
87 prop = of_get_property(np, "cache-size", NULL); in ppc4xx_l2c_probe()
89 printk(KERN_ERR "%pOF: Can't get cache-size!\n", np); in ppc4xx_l2c_probe()
90 of_node_put(np); in ppc4xx_l2c_probe()
96 dcrreg = of_get_property(np, "dcr-reg", &len); in ppc4xx_l2c_probe()
98 printk(KERN_ERR "%pOF: Can't get DCR register base !", np); in ppc4xx_l2c_probe()
99 of_node_put(np); in ppc4xx_l2c_probe()
106 irq = irq_of_parse_and_map(np, 0); in ppc4xx_l2c_probe()
109 of_node_put(np); in ppc4xx_l2c_probe()
117 of_node_put(np); in ppc4xx_l2c_probe()
173 if (of_device_is_compatible(np, "ibm,l2-cache-460ex") || in ppc4xx_l2c_probe()
174 of_device_is_compatible(np, "ibm,l2-cache-460gt")) in ppc4xx_l2c_probe()
184 of_node_put(np); in ppc4xx_l2c_probe()
195 struct device_node *np; in ppc4xx_reset_system() local
199 np = of_get_cpu_node(0, NULL); in ppc4xx_reset_system()
200 if (np) { in ppc4xx_reset_system()
201 prop = of_get_property(np, "reset-type", NULL); in ppc4xx_reset_system()