font 418 arch/powerpc/kernel/btext.c static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) font 426 arch/powerpc/kernel/btext.c bits = *font++; font 439 arch/powerpc/kernel/btext.c static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) font 448 arch/powerpc/kernel/btext.c bits = *font++; font 457 arch/powerpc/kernel/btext.c static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) font 466 arch/powerpc/kernel/btext.c bits = *font++; font 476 arch/powerpc/kernel/btext.c unsigned char *font = &vga_font[((unsigned int)c) * 16]; font 483 arch/powerpc/kernel/btext.c draw_byte_32(font, (unsigned int *)base, rb); font 487 arch/powerpc/kernel/btext.c draw_byte_16(font, (unsigned int *)base, rb); font 490 arch/powerpc/kernel/btext.c draw_byte_8(font, (unsigned int *)base, rb); font 197 arch/sparc/kernel/btext.c unsigned char *font = &vga_font[((unsigned int)c) * 16]; font 203 arch/sparc/kernel/btext.c draw_byte_32(font, (unsigned int *)base, rb); font 207 arch/sparc/kernel/btext.c draw_byte_16(font, (unsigned int *)base, rb); font 210 arch/sparc/kernel/btext.c draw_byte_8(font, (unsigned int *)base, rb); font 242 arch/sparc/kernel/btext.c static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) font 250 arch/sparc/kernel/btext.c bits = *font++; font 263 arch/sparc/kernel/btext.c static void draw_byte_16(unsigned char *font, unsigned int *base, int rb) font 272 arch/sparc/kernel/btext.c bits = *font++; font 281 arch/sparc/kernel/btext.c static void draw_byte_8(unsigned char *font, unsigned int *base, int rb) font 290 arch/sparc/kernel/btext.c bits = *font++; font 17 drivers/firmware/efi/earlycon.c static const struct font_desc *font; font 94 drivers/firmware/efi/earlycon.c for (i = 0; i < height - font->height; i++) { font 99 drivers/firmware/efi/earlycon.c src = efi_earlycon_map((i + font->height) * len, len); font 120 drivers/firmware/efi/earlycon.c src = font->data + c * font->height; font 153 drivers/firmware/efi/earlycon.c linemax = (si->lfb_width - efi_x) / font->width; font 157 drivers/firmware/efi/earlycon.c for (h = 0; h < font->height; h++) { font 170 drivers/firmware/efi/earlycon.c x += font->width; font 178 drivers/firmware/efi/earlycon.c efi_x += count * font->width; font 183 drivers/firmware/efi/earlycon.c efi_y += font->height; font 188 drivers/firmware/efi/earlycon.c if (efi_x + font->width > si->lfb_width) { font 190 drivers/firmware/efi/earlycon.c efi_y += font->height; font 193 drivers/firmware/efi/earlycon.c if (efi_y + font->height > si->lfb_height) { font 196 drivers/firmware/efi/earlycon.c efi_y -= font->height; font 199 drivers/firmware/efi/earlycon.c for (i = 0; i < font->height; i++) font 232 drivers/firmware/efi/earlycon.c font = get_default_font(xres, yres, -1, -1); font 233 drivers/firmware/efi/earlycon.c if (!font) font 236 drivers/firmware/efi/earlycon.c efi_y = rounddown(yres, font->height) - font->height; font 237 drivers/firmware/efi/earlycon.c for (i = 0; i < (yres - efi_y) / font->height; i++) font 1541 drivers/media/platform/vivid/vivid-core.c const struct font_desc *font = find_font("VGA8x16"); font 1544 drivers/media/platform/vivid/vivid-core.c if (font == NULL) { font 1549 drivers/media/platform/vivid/vivid-core.c tpg_set_font(font->data); font 4468 drivers/tty/vt/vt.c struct console_font font; font 4473 drivers/tty/vt/vt.c font.data = kmalloc(max_font_size, GFP_KERNEL); font 4474 drivers/tty/vt/vt.c if (!font.data) font 4477 drivers/tty/vt/vt.c font.data = NULL; font 4483 drivers/tty/vt/vt.c rc = vc->vc_sw->con_font_get(vc, &font); font 4491 drivers/tty/vt/vt.c c = (font.width+7)/8 * 32 * font.charcount; font 4493 drivers/tty/vt/vt.c if (op->data && font.charcount > op->charcount) font 4496 drivers/tty/vt/vt.c if (font.width > op->width || font.height > op->height) font 4499 drivers/tty/vt/vt.c if (font.width != 8) font 4501 drivers/tty/vt/vt.c else if ((op->height && font.height > op->height) || font 4502 drivers/tty/vt/vt.c font.height > 32) font 4508 drivers/tty/vt/vt.c op->height = font.height; font 4509 drivers/tty/vt/vt.c op->width = font.width; font 4510 drivers/tty/vt/vt.c op->charcount = font.charcount; font 4512 drivers/tty/vt/vt.c if (op->data && copy_to_user(op->data, font.data, c)) font 4516 drivers/tty/vt/vt.c kfree(font.data); font 4522 drivers/tty/vt/vt.c struct console_font font; font 4538 drivers/tty/vt/vt.c font.data = memdup_user(op->data, size); font 4539 drivers/tty/vt/vt.c if (IS_ERR(font.data)) font 4540 drivers/tty/vt/vt.c return PTR_ERR(font.data); font 4544 drivers/tty/vt/vt.c u8 *charmap = font.data; font 4551 drivers/tty/vt/vt.c kfree(font.data); font 4560 drivers/tty/vt/vt.c kfree(font.data); font 4567 drivers/tty/vt/vt.c font.charcount = op->charcount; font 4568 drivers/tty/vt/vt.c font.width = op->width; font 4569 drivers/tty/vt/vt.c font.height = op->height; font 4575 drivers/tty/vt/vt.c rc = vc->vc_sw->con_font_set(vc, &font, op->flags); font 4579 drivers/tty/vt/vt.c kfree(font.data); font 4585 drivers/tty/vt/vt.c struct console_font font = {.width = op->width, .height = op->height}; font 4604 drivers/tty/vt/vt.c rc = vc->vc_sw->con_font_default(vc, &font, s); font 4609 drivers/tty/vt/vt.c op->width = font.width; font 4610 drivers/tty/vt/vt.c op->height = font.height; font 1199 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_font_set(struct vc_data *c, struct console_font *font, font 1203 drivers/usb/misc/sisusbvga/sisusb_con.c unsigned charcount = font->charcount; font 1205 drivers/usb/misc/sisusbvga/sisusb_con.c if (font->width != 8 || (charcount != 256 && charcount != 512)) font 1229 drivers/usb/misc/sisusbvga/sisusb_con.c memcpy(sisusb->font_backup, font->data, charcount * 32); font 1231 drivers/usb/misc/sisusbvga/sisusb_con.c sisusb->font_backup_height = font->height; font 1237 drivers/usb/misc/sisusbvga/sisusb_con.c return sisusbcon_do_font_op(sisusb, 1, 2, font->data, font 1240 drivers/usb/misc/sisusbvga/sisusb_con.c c, font->height, 1); font 1245 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_font_get(struct vc_data *c, struct console_font *font) font 1255 drivers/usb/misc/sisusbvga/sisusb_con.c font->width = 8; font 1256 drivers/usb/misc/sisusbvga/sisusb_con.c font->height = c->vc_font.height; font 1257 drivers/usb/misc/sisusbvga/sisusb_con.c font->charcount = 256; font 1259 drivers/usb/misc/sisusbvga/sisusb_con.c if (!font->data) { font 1270 drivers/usb/misc/sisusbvga/sisusb_con.c memcpy(font->data, sisusb->font_backup, 256 * 32); font 1348 drivers/usb/misc/sisusbvga/sisusb_con.c struct console_font *font, font 1355 drivers/usb/misc/sisusbvga/sisusb_con.c struct console_font *font, char *name) font 127 drivers/video/console/dummycon.c static int dummycon_font_set(struct vc_data *vc, struct console_font *font, font 134 drivers/video/console/dummycon.c struct console_font *font, char *name) font 573 drivers/video/console/newport_con.c static int newport_font_set(struct vc_data *vc, struct console_font *font, unsigned flags) font 575 drivers/video/console/newport_con.c return newport_set_font(vc->vc_num, font); font 140 drivers/video/console/sticore.c .font_start_addr= STI_PTR(sti->font->raw), font 558 drivers/video/console/sticore.c struct sti_cooked_font *font; font 563 drivers/video/console/sticore.c if ((font = sti_select_fbfont(rom, font_name[index]))) font 564 drivers/video/console/sticore.c return font; font 570 drivers/video/console/sticore.c for (font = rom->font_start, i = font_index[index]; font 571 drivers/video/console/sticore.c font && (i > 0); font 572 drivers/video/console/sticore.c font = font->next_font, i--); font 574 drivers/video/console/sticore.c if (font) font 575 drivers/video/console/sticore.c return font; font 634 drivers/video/console/sticore.c struct sti_cooked_font *font; font 637 drivers/video/console/sticore.c for (font = rom->font_start; font; font = font->next_font, i++) { font 638 drivers/video/console/sticore.c if ((font->raw->width == width) && font 639 drivers/video/console/sticore.c (font->raw->height == height)) font 771 drivers/video/console/sticore.c sti->font = sti_select_font(sti->rom, sti_search_font); font 772 drivers/video/console/sticore.c sti->font_width = sti->font->raw->width; font 773 drivers/video/console/sticore.c sti->font_height = sti->font->raw->height; font 775 drivers/video/console/sticore.c sti->font->raw = sti_bmode_font_raw(sti->font); font 1281 drivers/video/console/vgacon.c static int vgacon_font_set(struct vc_data *c, struct console_font *font, font 1284 drivers/video/console/vgacon.c unsigned charcount = font->charcount; font 1290 drivers/video/console/vgacon.c if (font->width != VGA_FONTWIDTH || font 1294 drivers/video/console/vgacon.c rc = vgacon_do_font_op(&vgastate, font->data, 1, charcount == 512); font 1299 drivers/video/console/vgacon.c rc = vgacon_adjust_height(c, font->height); font 1303 drivers/video/console/vgacon.c static int vgacon_font_get(struct vc_data *c, struct console_font *font) font 1308 drivers/video/console/vgacon.c font->width = VGA_FONTWIDTH; font 1309 drivers/video/console/vgacon.c font->height = c->vc_font.height; font 1310 drivers/video/console/vgacon.c font->charcount = vga_512_chars ? 512 : 256; font 1311 drivers/video/console/vgacon.c if (!font->data) font 1313 drivers/video/console/vgacon.c return vgacon_do_font_op(&vgastate, font->data, 0, vga_512_chars); font 121 drivers/video/fbdev/arkfb.c const u8 *font = map->data; font 135 drivers/video/fbdev/arkfb.c fb_writeb(font[i], &fb[i * 4]); font 136 drivers/video/fbdev/arkfb.c fb_writeb(font[i], &fb[i * 4 + (128 * 8)]); font 143 drivers/video/fbdev/arkfb.c font += map->height; font 198 drivers/video/fbdev/cg6.c u32 font; font 439 drivers/video/fbdev/cg6.c sbus_writel(val, &fbc->font); font 464 drivers/video/fbdev/cg6.c sbus_writel(val, &fbc->font); font 970 drivers/video/fbdev/core/fbcon.c const struct font_desc *font = NULL; font 1046 drivers/video/fbdev/core/fbcon.c if (!fontname[0] || !(font = find_font(fontname))) font 1047 drivers/video/fbdev/core/fbcon.c font = get_default_font(info->var.xres, font 1051 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = font->width; font 1052 drivers/video/fbdev/core/fbcon.c vc->vc_font.height = font->height; font 1053 drivers/video/fbdev/core/fbcon.c vc->vc_font.data = (void *)(p->fontdata = font->data); font 1123 drivers/video/fbdev/core/fbcon.c const struct font_desc *font = NULL; font 1125 drivers/video/fbdev/core/fbcon.c if (!fontname[0] || !(font = find_font(fontname))) font 1126 drivers/video/fbdev/core/fbcon.c font = get_default_font(info->var.xres, font 1130 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = font->width; font 1131 drivers/video/fbdev/core/fbcon.c vc->vc_font.height = font->height; font 1132 drivers/video/fbdev/core/fbcon.c vc->vc_font.data = (void *)(p->fontdata = font->data); font 2453 drivers/video/fbdev/core/fbcon.c static int fbcon_get_font(struct vc_data *vc, struct console_font *font) font 2456 drivers/video/fbdev/core/fbcon.c u8 *data = font->data; font 2459 drivers/video/fbdev/core/fbcon.c font->width = vc->vc_font.width; font 2460 drivers/video/fbdev/core/fbcon.c font->height = vc->vc_font.height; font 2461 drivers/video/fbdev/core/fbcon.c font->charcount = vc->vc_hi_font_mask ? 512 : 256; font 2462 drivers/video/fbdev/core/fbcon.c if (!font->data) font 2465 drivers/video/fbdev/core/fbcon.c if (font->width <= 8) { font 2467 drivers/video/fbdev/core/fbcon.c for (i = 0; i < font->charcount; i++) { font 2473 drivers/video/fbdev/core/fbcon.c } else if (font->width <= 16) { font 2475 drivers/video/fbdev/core/fbcon.c for (i = 0; i < font->charcount; i++) { font 2481 drivers/video/fbdev/core/fbcon.c } else if (font->width <= 24) { font 2482 drivers/video/fbdev/core/fbcon.c for (i = 0; i < font->charcount; i++) { font 2494 drivers/video/fbdev/core/fbcon.c for (i = 0; i < font->charcount; i++) { font 2638 drivers/video/fbdev/core/fbcon.c static int fbcon_set_font(struct vc_data *vc, struct console_font *font, font 2642 drivers/video/fbdev/core/fbcon.c unsigned charcount = font->charcount; font 2643 drivers/video/fbdev/core/fbcon.c int w = font->width; font 2644 drivers/video/fbdev/core/fbcon.c int h = font->height; font 2647 drivers/video/fbdev/core/fbcon.c u8 *new_data, *data = font->data; font 2648 drivers/video/fbdev/core/fbcon.c int pitch = (font->width+7) >> 3; font 2656 drivers/video/fbdev/core/fbcon.c if (!(info->pixmap.blit_x & (1 << (font->width - 1))) || font 2657 drivers/video/fbdev/core/fbcon.c !(info->pixmap.blit_y & (1 << (font->height - 1)))) font 2699 drivers/video/fbdev/core/fbcon.c return fbcon_do_set_font(vc, font->width, font->height, new_data, 1); font 2702 drivers/video/fbdev/core/fbcon.c static int fbcon_set_def_font(struct vc_data *vc, struct console_font *font, char *name) font 2713 drivers/video/fbdev/core/fbcon.c font->width = f->width; font 2714 drivers/video/fbdev/core/fbcon.c font->height = f->height; font 195 drivers/video/fbdev/core/svgalib.c const u8 *font = map->data; font 209 drivers/video/fbdev/core/svgalib.c fb_writeb(font[i], fb + i * 4); font 213 drivers/video/fbdev/core/svgalib.c font += map->height; font 296 drivers/video/fbdev/ffb.c u32 font; font 598 drivers/video/fbdev/ffb.c upa_writel(val, &fbc->font); font 618 drivers/video/fbdev/ffb.c upa_writel(val, &fbc->font); font 292 drivers/video/fbdev/s3fb.c const u8 *font = map->data; font 306 drivers/video/fbdev/s3fb.c fb_writeb(font[c * map->height + i], fb + c * 4); font 52 drivers/video/fbdev/sticore.h #define sti_font_x(sti) (PTR_STI(sti->font)->width) font 53 drivers/video/fbdev/sticore.h #define sti_font_y(sti) (PTR_STI(sti->font)->height) font 365 drivers/video/fbdev/sticore.h struct sti_cooked_font *font; /* ptr to selected font (cooked) */ font 64 include/linux/console.h int (*con_font_set)(struct vc_data *vc, struct console_font *font, font 66 include/linux/console.h int (*con_font_get)(struct vc_data *vc, struct console_font *font); font 68 include/linux/console.h struct console_font *font, char *name);