Searched refs:fbsize (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_lcd.c | 93 size_t fbsize; member 118 sc->vaddr = kmem_alloc_contig(sc->fbsize, M_NOWAIT | M_ZERO, 0, ~0, in jzlcd_allocfb() 132 kmem_free(sc->vaddr, sc->fbsize); in jzlcd_freefb() 268 size_t fbsize; in jzlcd_configure() local 271 fbsize = round_page(mode->hdisplay * mode->vdisplay * (FB_BPP / NBBY)); in jzlcd_configure() 280 if (sc->fbsize > 0 && sc->fbsize != fbsize) { in jzlcd_configure() 286 sc->fbsize = fbsize; in jzlcd_configure() 304 sc->info.fb_size = sc->fbsize; in jzlcd_configure()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | a10_fb.c | 158 size_t fbsize; member 181 sc->vaddr = kmem_alloc_contig(sc->fbsize, M_NOWAIT | M_ZERO, 0, ~0, in a10fb_allocfb() 195 kmem_free(sc->vaddr, sc->fbsize); in a10fb_freefb() 466 size_t fbsize; in a10fb_configure() local 469 fbsize = round_page(mode->hdisplay * mode->vdisplay * (FB_BPP / NBBY)); in a10fb_configure() 478 if (sc->fbsize > 0 && sc->fbsize != fbsize) { in a10fb_configure() 484 sc->fbsize = fbsize; in a10fb_configure() 507 sc->info.fb_size = sc->fbsize; in a10fb_configure()
|