Lines Matching refs:off
19 static int lcd_dt_simplefb_configure_node(void *blob, int off) in lcd_dt_simplefb_configure_node() argument
57 return fdt_setup_simplefb_node(blob, off, fb_base, xsize, ysize, in lcd_dt_simplefb_configure_node()
65 int off, ret; in lcd_dt_simplefb_add_node() local
67 off = fdt_add_subnode(blob, 0, "framebuffer"); in lcd_dt_simplefb_add_node()
68 if (off < 0) in lcd_dt_simplefb_add_node()
71 ret = fdt_setprop(blob, off, "status", disabled, sizeof(disabled)); in lcd_dt_simplefb_add_node()
75 ret = fdt_setprop(blob, off, "compatible", compat, sizeof(compat)); in lcd_dt_simplefb_add_node()
79 return lcd_dt_simplefb_configure_node(blob, off); in lcd_dt_simplefb_add_node()
84 int off; in lcd_dt_simplefb_enable_existing_node() local
86 off = fdt_node_offset_by_compatible(blob, -1, "simple-framebuffer"); in lcd_dt_simplefb_enable_existing_node()
87 if (off < 0) in lcd_dt_simplefb_enable_existing_node()
90 return lcd_dt_simplefb_configure_node(blob, off); in lcd_dt_simplefb_enable_existing_node()