| /src/sys/dev/sbus/ |
| genfb_sbus.c | 110 sc->sc_gen.sc_depth = prom_getpropint(sa->sa_node, "depth", 8); 112 (sc->sc_gen.sc_width * sc->sc_gen.sc_depth + 7) >> 3 ); 118 sc->sc_gen.sc_width, sc->sc_gen.sc_height, sc->sc_gen.sc_depth); 127 if (sc->sc_gen.sc_depth <= 8) {
|
| cgtwelve.c | 78 int sc_depth; member in struct:cgtwelve_softc 236 sc->sc_depth = 32; 404 if (sc->sc_depth == 8) { 604 wdf->depth = sc->sc_depth; 629 if (sc->sc_depth == 32) { 651 cgtwelve_setup(sc, sc->sc_depth); 695 sc->sc_depth = new_depth; 705 if (sc->sc_depth == 8) { 850 cgtwelve_select_ovl(sc, sc->sc_depth == 8 ? CG12_SEL_8BIT : CG12_SEL_24BIT);
|
| tcx.c | 95 int sc_depth; /* depth of the fb we mmap() */ member in struct:tcx_softc 254 sc->sc_depth = 8; 259 sc->sc_depth = 32; 808 } else if (sc->sc_depth == 32) { 871 sc->sc_depth = new_depth; 881 if (sc->sc_depth == 8) { 916 if (sc->sc_depth == 8) {
|
| /src/sys/arch/sparc64/dev/ |
| ffbvar.h | 61 int sc_height, sc_width, sc_linebytes, sc_depth; member in struct:ffb_softc
|
| gfb.c | 66 int sc_width, sc_height, sc_depth, sc_stride, sc_fblen; member in struct:gfb_softc 148 sc->sc_depth = 32; 357 ri->ri_depth = sc->sc_depth; 464 for (i = 0; i < (1 << sc->sc_depth); i++) {
|
| /src/sys/dev/wsfb/ |
| genfbvar.h | 110 int sc_width, sc_height, sc_stride, sc_depth; member in struct:genfb_softc
|
| genfb.c | 191 if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) { 218 sc->sc_stride = (sc->sc_width * sc->sc_depth) >> 3; 224 if (sc->sc_stride < sc->sc_width * (sc->sc_depth >> 3)) 225 sc->sc_stride = sc->sc_width * (sc->sc_depth >> 3); 330 sc->sc_width, sc->sc_height, sc->sc_depth, sc->sc_stride); 408 for (i = 0; i < uimin(1 << sc->sc_depth, 256); i++) { 424 scp->sc_splash.si_depth = sc->sc_depth; 649 ri->ri_depth = sc->sc_depth; 864 if (sc->sc_depth <= 8) { 865 for (i = 0; i < (1 << sc->sc_depth); i++) [all...] |
| /src/sys/arch/macppc/dev/ |
| valkyriefb.c | 74 int sc_depth; member in struct:valkyriefb_softc 308 sc->sc_depth = 8; 332 sc->sc_depth = 16; 345 sc->sc_linebytes = mode->hdisplay * (sc->sc_depth >> 3); 347 sc->sc_width, sc->sc_height, sc->sc_depth); 420 ri->ri_depth = sc->sc_depth;
|
| platinumfb.c | 129 int sc_depth; member in struct:platinumfb_softc 743 sc->sc_depth = 8; 749 sc->sc_depth = 16; 755 sc->sc_depth = 32; 781 sc->sc_pfs->vmode_name, sc->sc_depth); 915 ri->ri_depth = sc->sc_depth;
|
| /src/sys/dev/usb/ |
| udl.h | 104 uint8_t sc_depth; member in struct:udl_softc 120 ((sc)->sc_width * (sc)->sc_height * ((sc)->sc_depth / 8))
|
| /src/sys/dev/pci/ |
| mgafbvar.h | 94 int sc_depth; member in struct:mgafb_softc
|
| unichromefb.c | 116 int sc_depth; member in struct:unichromefb_softc 267 sc->sc_depth = UNICHROMEFB_DEPTH; 268 sc->sc_stride = sc->sc_width * (sc->sc_depth / 8); 326 uni_setmode(sc, UNICHROMEFB_MODE, sc->sc_depth); 335 sc->sc_fbaddr, sc->sc_width, sc->sc_height, sc->sc_depth); 411 uni_setmode(sc, UNICHROMEFB_MODE, sc->sc_depth); 441 fb->depth = sc->sc_depth; 507 ri->ri_depth = sc->sc_depth; 1221 (((sc->sc_width * sc->sc_depth >> 3) >> 3) | 1222 (((sc->sc_width * sc->sc_depth >> 3) >> 3) << 16))) [all...] |
| mgafb.c | 331 sc->sc_depth = 8; 333 sc->sc_depth = 16; 355 sc->sc_stride = sc->sc_width * (sc->sc_depth / 8); 365 sc->sc_width, sc->sc_height, sc->sc_depth); 414 if (sc->sc_depth == 8) 433 if (!console && sc->sc_depth == 8) 1243 if (sc->sc_depth == 8) 1357 (bus_size_t)(sc->sc_depth / 8) > sc->sc_vram_size) 1414 if (sc->sc_depth == 8) { 1479 lclk_65mn = 32U * bus_bytes / (uint32_t)sc->sc_depth; [all...] |
| pm2fb.c | 100 int sc_width, sc_height, sc_depth, sc_stride; member in struct:pm2fb_softc 349 if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) { 351 sc->sc_depth = 8; 359 sc->sc_stride = sc->sc_width * (sc->sc_depth >> 3); 627 ri->ri_depth = sc->sc_depth; 632 if (sc->sc_depth == 8) 860 switch(sc->sc_depth) { 929 if (sc->sc_depth == 8) { 1629 sc->sc_depth = 8; 1701 sc->sc_depth = 8 [all...] |
| r128fb.c | 79 int sc_width, sc_height, sc_depth, sc_stride; member in struct:r128fb_softc 229 if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) { 538 ri->ri_depth = sc->sc_depth; 543 if (sc->sc_depth == 8) 639 for (i = 0; i < (1 << sc->sc_depth); i++) { 700 switch (sc->sc_depth) { 723 device_xname(sc->sc_dev), sc->sc_depth);
|
| veritefb.c | 233 int sc_depth; member in struct:veritefb_softc 601 sc->sc_depth = 8; 606 st = veritefb_stride_for(sc->sc_width * (sc->sc_depth / 8)); 610 sc->sc_width * (sc->sc_depth / 8)); 619 sc->sc_width, sc->sc_height, sc->sc_depth); 906 switch (sc->sc_depth) { 957 screenwidth = (uint32_t)sc->sc_width * (sc->sc_depth / 8); 965 crtcctl = (sc->sc_depth == 16 ? VFB_PIXFMT_565 : VFB_PIXFMT_8I) | 1204 if (sc->sc_depth == 16) 1331 ri->ri_depth = sc->sc_depth; [all...] |
| pm3fb.c | 83 int sc_width, sc_height, sc_depth, sc_stride; member in struct:pm3fb_softc 251 if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) { 253 sc->sc_depth = 8; 256 sc->sc_stride = sc->sc_width * (sc->sc_depth >> 3); 502 ri->ri_depth = sc->sc_depth; 507 if (sc->sc_depth == 8) 1453 sc->sc_depth = 8;
|
| /src/sys/arch/sparc/dev/ |
| cgfourteenvar.h | 90 int sc_depth; /* current colour depth */ member in struct:cgfourteen_softc
|
| cgfourteen.c | 366 sc->sc_depth = 8; 487 if (sc->sc_depth == 8) 826 if (sc->sc_depth == 16) { 879 if (sc->sc_depth == 8) { 921 if (sc->sc_depth == 8) 1071 if (sc->sc_depth == 8) { 1123 ri->ri_depth = sc->sc_depth; 1126 ri->ri_stride = ri->ri_width * (sc->sc_depth >> 3); 1159 if ((sc->sc_sx != NULL) && (sc->sc_depth == 8)) { 1184 if (sc->sc_depth == depth [all...] |
| /src/sys/arch/mac68k/dev/ |
| genfb_grfbus.c | 86 uint8_t sc_depth; member in struct:genfb_grfbus_softc 197 prop_dictionary_set_uint8(dict, "depth", sc->sc_depth); 254 sc->sc_depth = gm->psize == 16 ? 15 : gm->psize;
|
| /src/sys/arch/arm/fdt/ |
| arm_simplefb.c | 69 uint16_t sc_depth; member in struct:arm_simplefb_softc 129 ri->ri_depth = sc->sc_depth; 250 sc->sc_depth = depth;
|
| /src/sys/dev/pci/igma/ |
| igmafb.c | 56 int sc_depth; member in struct:igmafb_softc 138 sc->sc_depth = 32; 142 sc->sc_width, sc->sc_height, sc->sc_depth, sc->sc_stride); 342 ri->ri_depth = sc->sc_depth; 354 switch (sc->sc_depth) {
|
| /src/sys/arch/usermode/dev/ |
| vncfb.c | 79 unsigned int sc_depth; member in struct:vncfb_softc 206 sc->sc_depth = 32; 214 sc->sc_framebufsize = sc->sc_width * sc->sc_height * (sc->sc_depth / 8); 222 sc->sc_width, sc->sc_height, sc->sc_depth, taa->u.vnc.port); 226 sc->sc_rfb.depth = sc->sc_depth; 293 ri->ri_depth = sc->sc_depth; 480 *(u_int *)data = sc->sc_width * (sc->sc_depth / 8);
|
| /src/sys/arch/arm/ti/ |
| omap3_dss.c | 72 int sc_width, sc_height, sc_depth, sc_stride; member in struct:omapfb_softc 243 sc->sc_depth = 16; 302 if (sc->sc_depth == 8) { 655 ri->ri_depth = sc->sc_depth; 807 sc->sc_depth = d; 808 sc->sc_stride = sc->sc_width * (sc->sc_depth >> 3); 872 int bpp = sc->sc_depth >> 3; /* bytes per pixel */ 925 int bpp = sc->sc_depth >> 3; /* bytes per pixel */ 946 hstep = 1 - (sc->sc_depth >> 2);
|
| /src/sys/dev/pci/voyager/ |
| voyagerfb.c | 89 int sc_width, sc_height, sc_depth, sc_stride; member in struct:voyagerfb_softc 698 sc->sc_depth = 32; 700 sc->sc_depth = 8; 714 sc->sc_width, sc->sc_height, sc->sc_depth, sc->sc_stride); 774 if (sc->sc_depth <= 8) { 854 sc->sc_depth = 32; 856 sc->sc_depth = 8; 863 sc->sc_depth = 32; 1010 ri->ri_depth = sc->sc_depth; 1022 if (sc->sc_depth == 8) [all...] |