Lines Matching defs:sc_fb
129 struct fbdevice sc_fb; /* frame buffer device */
219 struct fbdevice *fb = &sc->sc_fb;
249 sc->sc_fb.fb_type.fb_cmsize = 256;
250 sc->sc_fb.fb_type.fb_size = ramsize;
306 sc->sc_fb.fb_type.fb_width * sc->sc_fb.fb_type.fb_height / 8);
331 fb_attach(&sc->sc_fb, isconsole);
357 *(struct fbtype *)data = sc->sc_fb.fb_type;
362 fba->real_type = sc->sc_fb.fb_type.fb_type;
364 fba->fbtype = sc->sc_fb.fb_type;
366 fba->sattr.emu_type = sc->sc_fb.fb_type.fb_type;
368 fba->emu_types[0] = sc->sc_fb.fb_type.fb_type;
421 #define COLOR_SIZE (sc->sc_fb.fb_type.fb_width * \
422 sc->sc_fb.fb_type.fb_height * 3)
455 } else if ((u_int)off < sc->sc_fb.fb_type.fb_size) {
504 return (fb_pfour_get_video(&sc->sc_fb));
511 fb_pfour_set_video(&sc->sc_fb, enable);