Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/console/
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()
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()
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()
/Linux-v6.6/include/linux/
Dconsole.h63 unsigned int vpitch, unsigned int flags);
65 unsigned int vpitch);
/Linux-v6.6/drivers/video/fbdev/core/
Dfbcon.c2268 static int fbcon_get_font(struct vc_data *vc, struct console_font *font, unsigned int vpitch) in fbcon_get_font() argument
2276 if (font->height > vpitch) in fbcon_get_font()
2289 memset(data + j, 0, vpitch - j); in fbcon_get_font()
2290 data += vpitch; in fbcon_get_font()
2300 memset(data + j, 0, 2*vpitch - j); in fbcon_get_font()
2301 data += 2*vpitch; in fbcon_get_font()
2315 memset(data, 0, 3 * (vpitch - j)); in fbcon_get_font()
2316 data += 3 * (vpitch - j); in fbcon_get_font()
2325 memset(data + j, 0, 4 * vpitch - j); in fbcon_get_font()
2326 data += 4 * vpitch; in fbcon_get_font()
[all …]
/Linux-v6.6/drivers/tty/vt/
Dvt.c4537 unsigned int vpitch = op->op == KD_FONT_OP_GET_TALL ? op->height : 32; in con_font_get() local
4539 if (vpitch > max_font_height) in con_font_get()
4553 rc = vc->vc_sw->con_font_get(vc, &font, vpitch); in con_font_get()
4561 c = (font.width+7)/8 * vpitch * font.charcount; in con_font_get()
4587 unsigned int vpitch = op->op == KD_FONT_OP_SET_TALL ? op->height : 32; in con_font_set() local
4598 if (vpitch < op->height) in con_font_set()
4600 size = (op->width+7)/8 * vpitch * op->charcount; in con_font_set()
4618 rc = vc->vc_sw->con_font_set(vc, &font, vpitch, op->flags); in con_font_set()