Lines Matching refs:np
172 int btext_initialize(struct device_node *np) in btext_initialize() argument
178 prop = of_get_property(np, "linux,bootx-width", NULL); in btext_initialize()
180 prop = of_get_property(np, "width", NULL); in btext_initialize()
184 prop = of_get_property(np, "linux,bootx-height", NULL); in btext_initialize()
186 prop = of_get_property(np, "height", NULL); in btext_initialize()
190 prop = of_get_property(np, "linux,bootx-depth", NULL); in btext_initialize()
192 prop = of_get_property(np, "depth", NULL); in btext_initialize()
197 prop = of_get_property(np, "linux,bootx-linebytes", NULL); in btext_initialize()
199 prop = of_get_property(np, "linebytes", NULL); in btext_initialize()
204 prop = of_get_property(np, "linux,bootx-addr", NULL); in btext_initialize()
206 prop = of_get_property(np, "address", NULL); in btext_initialize()
235 struct device_node *np = NULL; in btext_find_display() local
240 np = of_find_node_by_path(name); in btext_find_display()
241 if (np != NULL) { in btext_find_display()
242 if (strcmp(np->type, "display") != 0) { in btext_find_display()
244 of_node_put(np); in btext_find_display()
245 np = NULL; in btext_find_display()
249 if (np) in btext_find_display()
250 rc = btext_initialize(np); in btext_find_display()
254 for_each_node_by_type(np, "display") { in btext_find_display()
255 if (of_get_property(np, "linux,opened", NULL)) { in btext_find_display()
256 printk("trying %s ...\n", np->full_name); in btext_find_display()
257 rc = btext_initialize(np); in btext_find_display()