Lines Matching refs:font
1253 static int vgacon_font_set(struct vc_data *c, struct console_font *font, unsigned flags) in vgacon_font_set() argument
1255 unsigned charcount = font->charcount; in vgacon_font_set()
1261 if (font->width != VGA_FONTWIDTH || in vgacon_font_set()
1265 rc = vgacon_do_font_op(&state, font->data, 1, charcount == 512); in vgacon_font_set()
1270 rc = vgacon_adjust_height(c, font->height); in vgacon_font_set()
1274 static int vgacon_font_get(struct vc_data *c, struct console_font *font) in vgacon_font_get() argument
1279 font->width = VGA_FONTWIDTH; in vgacon_font_get()
1280 font->height = c->vc_font.height; in vgacon_font_get()
1281 font->charcount = vga_512_chars ? 512 : 256; in vgacon_font_get()
1282 if (!font->data) in vgacon_font_get()
1284 return vgacon_do_font_op(&state, font->data, 0, vga_512_chars); in vgacon_font_get()