Lines Matching refs:np
63 struct device_node *np; in vt8500_init() local
72 np = of_find_compatible_node(NULL, NULL, "via,vt8500-gpio"); in vt8500_init()
73 if (np) { in vt8500_init()
74 gpio_base = of_iomap(np, 0); in vt8500_init()
80 of_node_put(np); in vt8500_init()
101 np = of_find_compatible_node(NULL, NULL, "wm,wm8505-gpio"); in vt8500_init()
102 if (!np) in vt8500_init()
103 np = of_find_compatible_node(NULL, NULL, in vt8500_init()
105 if (np) { in vt8500_init()
106 gpio_base = of_iomap(np, 0); in vt8500_init()
112 of_node_put(np); in vt8500_init()
130 np = of_find_compatible_node(NULL, NULL, "via,vt8500-pmc"); in vt8500_init()
131 if (np) { in vt8500_init()
132 pmc_base = of_iomap(np, 0); in vt8500_init()
137 of_node_put(np); in vt8500_init()