Lines Matching refs:font
1270 static int vgacon_font_set(struct vc_data *c, struct console_font *font, unsigned flags) in vgacon_font_set() argument
1272 unsigned charcount = font->charcount; in vgacon_font_set()
1278 if (font->width != VGA_FONTWIDTH || in vgacon_font_set()
1282 rc = vgacon_do_font_op(&state, font->data, 1, charcount == 512); in vgacon_font_set()
1287 rc = vgacon_adjust_height(c, font->height); in vgacon_font_set()
1291 static int vgacon_font_get(struct vc_data *c, struct console_font *font) in vgacon_font_get() argument
1296 font->width = VGA_FONTWIDTH; in vgacon_font_get()
1297 font->height = c->vc_font.height; in vgacon_font_get()
1298 font->charcount = vga_512_chars ? 512 : 256; in vgacon_font_get()
1299 if (!font->data) in vgacon_font_get()
1301 return vgacon_do_font_op(&state, font->data, 0, vga_512_chars); in vgacon_font_get()