Lines Matching refs:vc_font

591 	logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height);  in fbcon_prepare_logo()
987 vc->vc_font.width = font->width; in fbcon_startup()
988 vc->vc_font.height = font->height; in fbcon_startup()
989 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
990 vc->vc_font.charcount = font->charcount; in fbcon_startup()
995 cols /= vc->vc_font.width; in fbcon_startup()
996 rows /= vc->vc_font.height; in fbcon_startup()
1047 vc->vc_font.data = (void *)(p->fontdata = in fbcon_init()
1048 fvc->vc_font.data); in fbcon_init()
1049 vc->vc_font.width = fvc->vc_font.width; in fbcon_init()
1050 vc->vc_font.height = fvc->vc_font.height; in fbcon_init()
1051 vc->vc_font.charcount = fvc->vc_font.charcount; in fbcon_init()
1064 vc->vc_font.width = font->width; in fbcon_init()
1065 vc->vc_font.height = font->height; in fbcon_init()
1066 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_init()
1067 vc->vc_font.charcount = font->charcount; in fbcon_init()
1073 if (vc->vc_font.charcount == 256) { in fbcon_init()
1101 new_cols /= vc->vc_font.width; in fbcon_init()
1102 new_rows /= vc->vc_font.height; in fbcon_init()
1217 vc->vc_font.data = NULL; in fbcon_deinit()
1374 if (!vc->vc_font.data) { in fbcon_set_disp()
1375 vc->vc_font.data = (void *)(p->fontdata = t->fontdata); in fbcon_set_disp()
1376 vc->vc_font.width = (*default_mode)->vc_font.width; in fbcon_set_disp()
1377 vc->vc_font.height = (*default_mode)->vc_font.height; in fbcon_set_disp()
1378 vc->vc_font.charcount = (*default_mode)->vc_font.charcount; in fbcon_set_disp()
1392 if (vc->vc_font.charcount == 256) { in fbcon_set_disp()
1407 cols /= vc->vc_font.width; in fbcon_set_disp()
1408 rows /= vc->vc_font.height; in fbcon_set_disp()
1426 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ywrap_up()
1445 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ywrap_down()
1468 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_up()
1492 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_up_redraw()
1516 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_down()
1540 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_down_redraw()
1964 divides(ypan, vc->vc_font.height) && vyres > yres; in updatescrollmode_accel()
1966 divides(ywrap, vc->vc_font.height) && in updatescrollmode_accel()
1967 divides(vc->vc_font.height, vyres) && in updatescrollmode_accel()
1968 divides(vc->vc_font.height, yres); in updatescrollmode_accel()
1996 int fh = vc->vc_font.height; in updatescrollmode()
2023 if (p->userfont && FNTSIZE(vc->vc_font.data)) { in fbcon_resize()
2025 int pitch = PITCH(vc->vc_font.width); in fbcon_resize()
2036 size = CALC_FONTSZ(vc->vc_font.height, pitch, vc->vc_font.charcount); in fbcon_resize()
2037 if (size > FNTSIZE(vc->vc_font.data)) in fbcon_resize()
2043 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2044 vc->vc_font.height); in fbcon_resize()
2045 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2046 vc->vc_font.width); in fbcon_resize()
2161 if (vc->vc_font.charcount > 256) in fbcon_switch()
2287 u8 *fontdata = vc->vc_font.data; in fbcon_get_font()
2291 font->width = vc->vc_font.width; in fbcon_get_font()
2292 font->height = vc->vc_font.height; in fbcon_get_font()
2300 j = vc->vc_font.height; in fbcon_get_font()
2311 j = vc->vc_font.height * 2; in fbcon_get_font()
2322 if (font->charcount * (vc->vc_font.height * sizeof(u32)) > FNTSIZE(fontdata)) in fbcon_get_font()
2326 for (j = 0; j < vc->vc_font.height; j++) { in fbcon_get_font()
2336 j = vc->vc_font.height * 4; in fbcon_get_font()
2418 u8 *old_data = vc->vc_font.data; in fbcon_do_set_font()
2420 resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); in fbcon_do_set_font()
2421 vc->vc_font.data = (void *)(p->fontdata = data); in fbcon_do_set_font()
2426 old_width = vc->vc_font.width; in fbcon_do_set_font()
2427 old_height = vc->vc_font.height; in fbcon_do_set_font()
2428 old_charcount = vc->vc_font.charcount; in fbcon_do_set_font()
2430 vc->vc_font.width = w; in fbcon_do_set_font()
2431 vc->vc_font.height = h; in fbcon_do_set_font()
2432 vc->vc_font.charcount = charcount; in fbcon_do_set_font()
2460 vc->vc_font.data = old_data; in fbcon_do_set_font()
2468 vc->vc_font.width = old_width; in fbcon_do_set_font()
2469 vc->vc_font.height = old_height; in fbcon_do_set_font()
2470 vc->vc_font.charcount = old_charcount; in fbcon_do_set_font()
2543 tmp->vc_font.width == w && in fbcon_set_font()
2677 cols /= vc->vc_font.width; in fbcon_modechanged()
2678 rows /= vc->vc_font.height; in fbcon_modechanged()
2720 cols /= vc->vc_font.width; in fbcon_set_all_vcs()
2721 rows /= vc->vc_font.height; in fbcon_set_all_vcs()
2758 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2759 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3073 set_bit(vc->vc_font.width - 1, caps->x); in fbcon_get_requirement()
3074 set_bit(vc->vc_font.height - 1, caps->y); in fbcon_get_requirement()
3075 charcnt = vc->vc_font.charcount; in fbcon_get_requirement()
3086 set_bit(vc->vc_font.width - 1, caps->x); in fbcon_get_requirement()
3088 set_bit(vc->vc_font.height - 1, caps->y); in fbcon_get_requirement()
3089 caps->len = vc->vc_font.charcount; in fbcon_get_requirement()