Home
last modified time | relevance | path

Searched refs:vpitch (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/video/console/
H A Dsticon.c171 unsigned int vpitch) in sticon_set_font() argument
183 if ((w < 6) || (h < 6) || (w > 32) || (h > 32) || (vpitch != 32) in sticon_set_font()
271 unsigned int vpitch, unsigned int flags) in sticon_font_set() argument
273 return sticon_set_font(vc, font, vpitch); in sticon_font_set()
H A Dnewport_con.c500 static int newport_set_font(int unit, struct console_font *op, unsigned int vpitch) in newport_set_font() argument
510 if ((w != 8) || (h != 16) || (vpitch != 32) in newport_set_font()
573 unsigned int vpitch, unsigned int flags) in newport_font_set() argument
575 return newport_set_font(vc->vc_num, font, vpitch); in newport_font_set()
H A Dvgacon.c1014 unsigned int vpitch, unsigned int flags) in vgacon_font_set() argument
1022 if (font->width != VGA_FONTWIDTH || font->height > 32 || vpitch != 32 || in vgacon_font_set()
1035 static int vgacon_font_get(struct vc_data *c, struct console_font *font, unsigned int vpitch) in vgacon_font_get() argument
1037 if (vga_video_type < VIDEO_TYPE_EGAM || vpitch != 32) in vgacon_font_get()
/openbmc/linux/include/linux/
H A Dconsole.h63 unsigned int vpitch, unsigned int flags);
65 unsigned int vpitch);
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c2270 static int fbcon_get_font(struct vc_data *vc, struct console_font *font, unsigned int vpitch) in fbcon_get_font() argument
2278 if (font->height > vpitch) in fbcon_get_font()
2291 memset(data + j, 0, vpitch - j); in fbcon_get_font()
2292 data += vpitch; in fbcon_get_font()
2302 memset(data + j, 0, 2*vpitch - j); in fbcon_get_font()
2303 data += 2*vpitch; in fbcon_get_font()
2317 memset(data, 0, 3 * (vpitch - j)); in fbcon_get_font()
2318 data += 3 * (vpitch - j); in fbcon_get_font()
2327 memset(data + j, 0, 4 * vpitch - j); in fbcon_get_font()
2328 data += 4 * vpitch; in fbcon_get_font()
[all …]
/openbmc/linux/drivers/tty/vt/
H A Dvt.c4547 unsigned int vpitch = op->op == KD_FONT_OP_GET_TALL ? op->height : 32; in con_font_get() local
4549 if (vpitch > max_font_height) in con_font_get()
4563 rc = vc->vc_sw->con_font_get(vc, &font, vpitch); in con_font_get()
4571 c = (font.width+7)/8 * vpitch * font.charcount; in con_font_get()
4597 unsigned int vpitch = op->op == KD_FONT_OP_SET_TALL ? op->height : 32; in con_font_set() local
4608 if (vpitch < op->height) in con_font_set()
4610 size = (op->width+7)/8 * vpitch * op->charcount; in con_font_set()
4628 rc = vc->vc_sw->con_font_set(vc, &font, vpitch, op->flags); in con_font_set()