Searched refs:vi_depth (Results 1 – 12 of 12) sorted by relevance
183 if (VGLModeInfo.vi_depth != 4 || VGLModeInfo.vi_planes != 4 in VGLInit()192 if (VGLModeInfo.vi_depth != 8) { in VGLInit()296 *8/(VGLModeInfo.vi_depth/VGLModeInfo.vi_planes); in VGLInit()357 if (VGLModeInfo.vi_depth == 4 && VGLModeInfo.vi_planes == 4) { in VGLCheckSwitch()367 if (VGLModeInfo.vi_depth == 8) { in VGLCheckSwitch()539 *8/(VGLModeInfo.vi_depth/VGLModeInfo.vi_planes); in VGLSetVScreenSize()
111 info.vi_depth, info.vi_planes); in pcx_start()114 && info.vi_depth == pcx_info.bpp in pcx_start()217 sdepth = adp->va_info.vi_depth; in pcx_draw()
868 switch (info->vi_depth/info->vi_planes) { in update_adapter_info()1249 ppw = 16/(adp->va_info.vi_depth/adp->va_info.vi_planes); in set_line_length()1285 ppb = 8/(adp->va_info.vi_depth/adp->va_info.vi_planes); in set_display_start()1484 if ((info->vi_depth != 0) in vga_query_mode()1485 && (info->vi_depth != bios_vmode[i].vi_depth)) in vga_query_mode()2953 ((struct fbtype *)arg)->fb_depth = adp->va_info.vi_depth; in vga_dev_ioctl()2954 if ((adp->va_info.vi_depth <= 1) || (adp->va_info.vi_depth > 8)) in vga_dev_ioctl()2957 ((struct fbtype *)arg)->fb_cmsize = 1 << adp->va_info.vi_depth; in vga_dev_ioctl()
968 vesa_vmode[modes].vi_depth = vmode.v_bpp; in vesa_bios_init()1258 if ((info->vi_depth != 0) in vesa_query_mode()1259 && (info->vi_depth != vesa_vmode[i].vi_depth)) in vesa_query_mode()
99 info.vi_height, info.vi_depth) == 0)) in bmp_start()
587 info->vi_depth, info->vi_planes, in fb_dump_mode_info()
645 switch (info.vi_depth/info.vi_planes) { in probe_adapters()1041 if ((info->vi_depth != 0) in gdc_query_mode()1042 && (info->vi_depth != bios_vmode[i].vi_depth)) in gdc_query_mode()1130 switch (info.vi_depth/info.vi_planes) { in gdc_set_mode()1446 ((struct fbtype *)arg)->fb_depth = adp->va_info.vi_depth; in gdc_dev_ioctl()1447 if ((adp->va_info.vi_depth <= 1) || (adp->va_info.vi_depth > 8)) in gdc_dev_ioctl()1450 ((struct fbtype *)arg)->fb_cmsize = 1 << adp->va_info.vi_depth; in gdc_dev_ioctl()
123 int vi_depth; member453 info->vi_depth != 15 && info->vi_depth != 16 && in sc_support_pixel_mode()454 info->vi_depth != 24 && info->vi_depth != 32) in sc_support_pixel_mode()459 info->vi_depth != 8) in sc_support_pixel_mode()
186 switch ((scp)->sc->adp->va_info.vi_depth) { \1132 bpp = scp->sc->adp->va_info.vi_depth; in vga_pxlmouse_direct()
451 info.vi_depth > depth) { in sc_set_vesa_mode()453 depth = info.vi_depth; in sc_set_vesa_mode()
346 int vi_depth; member
1127 _info.vi_depth, _info.vi_planes); in show_mode_info()1151 _info.vi_depth, mm); in show_mode_info()