Lines Matching defs:va_sc
368 struct video_adapter_softc *va_sc;
370 va_sc = &va_softc;
374 if (va_sc->initialized)
377 va_sc->width = 0;
378 va_sc->height = 0;
390 va_sc->width = (int)fdt32_to_cpu(cell);
394 va_sc->height = (int)fdt32_to_cpu(cell);
397 if (va_sc->width == 0)
398 va_sc->width = FB_WIDTH;
399 if (va_sc->height == 0)
400 va_sc->height = FB_HEIGHT;
402 am335x_syscons_init(0, &va_sc->va, 0);
404 va_sc->initialized = 1;
759 struct video_adapter_softc *va_sc = &va_softc;
761 va_sc->fb_addr = vaddr;
762 va_sc->fb_paddr = paddr;
763 va_sc->depth = panel->bpp;
764 va_sc->stride = panel->bpp*panel->panel_width/8;
766 va_sc->width = panel->panel_width;
767 va_sc->height = panel->panel_height;
768 va_sc->fb_size = va_sc->width * va_sc->height
769 * va_sc->depth/8;
770 am335x_syscons_update_margins(&va_sc->va);