Home
last modified time | relevance | path

Searched refs:font (Results 1 – 18 of 18) sorted by relevance

/drivers/firmware/efi/
Dearlycon.c17 static const struct font_desc *font; variable
94 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up()
99 src = efi_earlycon_map((i + font->height) * len, len); in efi_earlycon_scroll_up()
120 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
121 src = font->data + c * font->height * bytes + h * bytes; in efi_earlycon_write_char()
123 for (m = 0; m < font->width; m++) { in efi_earlycon_write_char()
155 linemax = (si->lfb_width - efi_x) / font->width; in efi_earlycon_write()
159 for (h = 0; h < font->height; h++) { in efi_earlycon_write()
172 x += font->width; in efi_earlycon_write()
180 efi_x += count * font->width; in efi_earlycon_write()
[all …]
/drivers/video/console/
Dsticore.c140 struct sti_cooked_font *font) in sti_putc() argument
144 .font_start_addr = STI_PTR(font->raw), in sti_putc()
148 .dest_x = x * font->width, in sti_putc()
149 .dest_y = y * font->height, in sti_putc()
200 int height, int width, int c, struct sti_cooked_font *font) in sti_clear() argument
206 .src_x = src_x * font->width, in sti_clear()
207 .src_y = src_y * font->height, in sti_clear()
208 .dest_x = src_x * font->width, in sti_clear()
209 .dest_y = src_y * font->height, in sti_clear()
210 .width = width * font->width, in sti_clear()
[all …]
Dsticon.c59 #define STI_DEF_FONT sticon_sti->font
269 static int sticon_font_set(struct vc_data *vc, struct console_font *font, in sticon_font_set() argument
272 return sticon_set_font(vc, font); in sticon_font_set()
281 vc_cols = sti_onscreen_x(sti) / sti->font->width; in sticon_init()
282 vc_rows = sti_onscreen_y(sti) / sti->font->height; in sticon_init()
Dvgacon.c1052 static int vgacon_font_set(struct vc_data *c, struct console_font *font, in vgacon_font_set() argument
1055 unsigned charcount = font->charcount; in vgacon_font_set()
1061 if (font->width != VGA_FONTWIDTH || in vgacon_font_set()
1065 rc = vgacon_do_font_op(&vgastate, font->data, 1, charcount == 512); in vgacon_font_set()
1070 rc = vgacon_adjust_height(c, font->height); in vgacon_font_set()
1074 static int vgacon_font_get(struct vc_data *c, struct console_font *font) in vgacon_font_get() argument
1079 font->width = VGA_FONTWIDTH; in vgacon_font_get()
1080 font->height = c->vc_font.height; in vgacon_font_get()
1081 font->charcount = vga_512_chars ? 512 : 256; in vgacon_font_get()
1082 if (!font->data) in vgacon_font_get()
[all …]
Dnewport_con.c572 static int newport_font_set(struct vc_data *vc, struct console_font *font, unsigned flags) in newport_font_set() argument
574 return newport_set_font(vc->vc_num, font); in newport_font_set()
/drivers/video/fbdev/
Dsticore.h46 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
47 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
361 struct sti_cooked_font *font; /* ptr to selected font (cooked) */ member
395 struct sti_cooked_font *font);
399 int height, int width, int c, struct sti_cooked_font *font);
402 struct sti_cooked_font *font);
Darkfb.c121 const u8 *font = map->data; in arkfb_settile() local
135 fb_writeb(font[i], &fb[i * 4]); in arkfb_settile()
136 fb_writeb(font[i], &fb[i * 4 + (128 * 8)]); in arkfb_settile()
143 font += map->height; in arkfb_settile()
Dcg6.c198 u32 font; member
439 sbus_writel(val, &fbc->font); in cg6_imageblit()
464 sbus_writel(val, &fbc->font); in cg6_imageblit()
Dffb.c296 u32 font; member
598 upa_writel(val, &fbc->font); in ffb_imageblit()
618 upa_writel(val, &fbc->font); in ffb_imageblit()
Ds3fb.c292 const u8 *font = map->data; in s3fb_settile_fast() local
306 fb_writeb(font[c * map->height + i], fb + c * 4); in s3fb_settile_fast()
DKconfig1114 also use font widths different from 8.
1123 packed pixel and 32 bpp packed pixel. You can also use font widths
1133 pixel and 32 bpp packed pixel. You can also use font widths
1149 too. You can use only some font widths, as the driver uses generic
1200 too. You can use only some font widths, as the driver uses generic
/drivers/video/fbdev/core/
Dfbcon.c942 const struct font_desc *font = NULL; in fbcon_startup() local
993 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_startup()
994 font = get_default_font(info->var.xres, in fbcon_startup()
998 vc->vc_font.width = font->width; in fbcon_startup()
999 vc->vc_font.height = font->height; in fbcon_startup()
1000 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
1001 vc->vc_font.charcount = font->charcount; in fbcon_startup()
1068 const struct font_desc *font = NULL; in fbcon_init() local
1070 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_init()
1071 font = get_default_font(info->var.xres, in fbcon_init()
[all …]
Dsvgalib.c195 const u8 *font = map->data; in svga_settile() local
209 fb_writeb(font[i], fb + i * 4); in svga_settile()
213 font += map->height; in svga_settile()
/drivers/usb/misc/sisusbvga/
Dsisusb_con.c1200 sisusbcon_font_set(struct vc_data *c, struct console_font *font, in sisusbcon_font_set() argument
1204 unsigned charcount = font->charcount; in sisusbcon_font_set()
1206 if (font->width != 8 || (charcount != 256 && charcount != 512)) in sisusbcon_font_set()
1230 memcpy(sisusb->font_backup, font->data, array_size(charcount, 32)); in sisusbcon_font_set()
1232 sisusb->font_backup_height = font->height; in sisusbcon_font_set()
1238 return sisusbcon_do_font_op(sisusb, 1, 2, font->data, in sisusbcon_font_set()
1241 c, font->height, 1); in sisusbcon_font_set()
1246 sisusbcon_font_get(struct vc_data *c, struct console_font *font) in sisusbcon_font_get() argument
1256 font->width = 8; in sisusbcon_font_get()
1257 font->height = c->vc_font.height; in sisusbcon_font_get()
[all …]
/drivers/media/test-drivers/vimc/
Dvimc-core.c268 const struct font_desc *font = find_font("VGA8x16"); in vimc_probe() local
274 if (!font) { in vimc_probe()
279 tpg_set_font(font->data); in vimc_probe()
/drivers/tty/vt/
Dvt.c4592 struct console_font font; in con_font_get() local
4597 font.data = kmalloc(max_font_size, GFP_KERNEL); in con_font_get()
4598 if (!font.data) in con_font_get()
4601 font.data = NULL; in con_font_get()
4607 rc = vc->vc_sw->con_font_get(vc, &font); in con_font_get()
4615 c = (font.width+7)/8 * 32 * font.charcount; in con_font_get()
4617 if (op->data && font.charcount > op->charcount) in con_font_get()
4619 if (font.width > op->width || font.height > op->height) in con_font_get()
4624 op->height = font.height; in con_font_get()
4625 op->width = font.width; in con_font_get()
[all …]
/drivers/media/test-drivers/vivid/
Dvivid-core.c2018 const struct font_desc *font = find_font("VGA8x16"); in vivid_probe() local
2021 if (font == NULL) { in vivid_probe()
2026 tpg_set_font(font->data); in vivid_probe()
/drivers/tty/
DKconfig49 This enables support for font mapping and Unicode translation