Home
last modified time | relevance | path

Searched refs:va_sc (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_lcd_syscons.c369 va_sc = &va_softc; in am335x_syscons_configure()
373 if (va_sc->initialized) in am335x_syscons_configure()
376 va_sc->width = 0; in am335x_syscons_configure()
377 va_sc->height = 0; in am335x_syscons_configure()
389 va_sc->width = cell; in am335x_syscons_configure()
393 va_sc->height = cell; in am335x_syscons_configure()
396 if (va_sc->width == 0) in am335x_syscons_configure()
398 if (va_sc->height == 0) in am335x_syscons_configure()
403 va_sc->initialized = 1; in am335x_syscons_configure()
766 va_sc->fb_size = va_sc->width * va_sc->height in am335x_lcd_syscons_setup()
[all …]
/f-stack/freebsd/arm/freescale/imx/
H A Dimx51_ipuv3.c218 struct video_adapter_softc *va_sc = &va_softc; in ipu3_fb_init() local
228 va_sc->width = ((w0sh96 >> 29) & 0x1fff) + 1; in ipu3_fb_init()
229 va_sc->height = ((w0sh96 >> 42) & 0x0fff) + 1; in ipu3_fb_init()
233 va_sc->stride = ((w1sh96 >> 6) & 0x3fff) + 1; in ipu3_fb_init()
235 printf("%dx%d [%d]\n", va_sc->width, va_sc->height, va_sc->stride); in ipu3_fb_init()
236 va_sc->fb_size = va_sc->height * va_sc->stride; in ipu3_fb_init()
238 ipu3_fb_malloc(sc, va_sc->fb_size); in ipu3_fb_init()
247 va_sc->fb_addr = (intptr_t)sc->vbase; in ipu3_fb_init()
248 va_sc->fb_paddr = (intptr_t)sc->pbase; in ipu3_fb_init()
249 va_sc->bpp = va_sc->stride / va_sc->width; in ipu3_fb_init()
[all …]
/f-stack/freebsd/arm/versatile/
H A Dversatile_clcd.c337 va_sc->fb_size = dma_size; in versatile_clcdc_attach()
338 va_sc->width = sc->width; in versatile_clcdc_attach()
339 va_sc->height = sc->height; in versatile_clcdc_attach()
340 va_sc->depth = 16; in versatile_clcdc_attach()
341 va_sc->stride = sc->width * 2; in versatile_clcdc_attach()
590 va_sc = &va_softc; in versatilefb_configure()
592 if (va_sc->initialized) in versatilefb_configure()
595 va_sc->width = FB_WIDTH; in versatilefb_configure()
596 va_sc->height = FB_HEIGHT; in versatilefb_configure()
597 va_sc->depth = FB_DEPTH; in versatilefb_configure()
[all …]