Lines Matching defs:va_sc
172 struct video_adapter_softc *va_sc = &va_softc;
231 va_sc->fb_addr = (intptr_t)pmap_mapdev(fb_config->base, fb_config->screen_size);
232 va_sc->fb_paddr = fb_config->base;
233 va_sc->fb_size = fb_config->screen_size;
234 va_sc->depth = fb_config->bpp;
235 va_sc->stride = fb_config->pitch;
237 va_sc->width = fb_config->xres;
238 va_sc->height = fb_config->yres;
239 bcmfb_update_margins(&va_sc->va);
594 struct video_adapter_softc *va_sc;
596 va_sc = &va_softc;
600 if (va_sc->initialized)
603 va_sc->width = 0;
604 va_sc->height = 0;
616 va_sc->width = (int)fdt32_to_cpu(cell);
620 va_sc->height = (int)fdt32_to_cpu(cell);
623 if (va_sc->width == 0)
624 va_sc->width = FB_WIDTH;
625 if (va_sc->height == 0)
626 va_sc->height = FB_HEIGHT;
628 bcmfb_init(0, &va_sc->va, 0);
630 va_sc->initialized = 1;