Searched refs:of_mode (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/
H A Dvt8500lcdfb.c281 struct fb_videomode of_mode; vt8500lcd_probe() local
349 ret = of_get_fb_videomode(pdev->dev.of_node, &of_mode, vt8500lcd_probe()
359 fb_mem_len = of_mode.xres * of_mode.yres * 2 * (bpp / 8); vt8500lcd_probe()
405 fb_videomode_to_var(&fbi->fb.var, &of_mode); vt8500lcd_probe()
407 fbi->fb.var.xres_virtual = of_mode.xres; vt8500lcd_probe()
408 fbi->fb.var.yres_virtual = of_mode.yres * 2; vt8500lcd_probe()
H A Dimxfb.c688 struct fb_videomode *of_mode = &imxfb_mode->mode; imxfb_of_read_mode() local
692 ret = of_property_read_string(np, "model", &of_mode->name); imxfb_of_read_mode()
694 of_mode->name = NULL; imxfb_of_read_mode()
696 ret = of_get_fb_videomode(np, of_mode, OF_USE_NATIVE_MODE); imxfb_of_read_mode()

Completed in 251 milliseconds