Home
last modified time | relevance | path

Searched refs:font (Results 1 - 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/lib/fonts/
H A DMakefile4 font-objs := fonts.o
6 font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o
7 font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
8 font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
9 font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
10 font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
11 font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
12 font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
13 font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
14 font
[all...]
H A Dfonts.c2 * `Soft' font definitions
21 #include <linux/font.h>
73 * find_font - find a font
74 * @name: string name of a font
76 * Find a specified font with string name @name.
78 * Returns %NULL if no font found, or a pointer to the
79 * specified font.
96 * get_default_font - get default font
102 * Get the default font for a specified screen size.
105 * Returns %NULL if no font i
[all...]
/kernel/linux/linux-6.6/lib/fonts/
H A DMakefile4 font-objs := fonts.o
6 font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o
7 font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
8 font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
9 font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
10 font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
11 font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
12 font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
13 font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
14 font
[all...]
H A Dfonts.c2 * `Soft' font definitions
21 #include <linux/font.h>
73 * find_font - find a font
74 * @name: string name of a font
76 * Find a specified font with string name @name.
78 * Returns %NULL if no font found, or a pointer to the
79 * specified font.
96 * get_default_font - get default font
102 * Get the default font for a specified screen size.
105 * Returns %NULL if no font i
[all...]
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Dearlycon.c8 #include <linux/font.h>
18 static const struct font_desc *font; variable
105 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up()
110 src = efi_earlycon_map((i + font->height) * len, len); in efi_earlycon_scroll_up()
131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
132 src = font->data + c * font->height * bytes + h * bytes; in efi_earlycon_write_char()
134 for (m = 0; m < font->width; m++) { in efi_earlycon_write_char()
158 unsigned int linemax = (si->lfb_width - efi_x) / font->width; in efi_earlycon_write()
165 for (h = 0; h < font in efi_earlycon_write()
[all...]
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dearlycon.c8 #include <linux/font.h>
17 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 in efi_earlycon_write()
[all...]
/kernel/linux/linux-6.6/drivers/video/
H A Dsticore.c25 #include <linux/font.h>
159 struct sti_cooked_font *font) in sti_putc()
163 .font_start_addr = (void *)STI_PTR(font->raw), in sti_putc()
167 .dest_x = x * font->width, in sti_putc()
168 .dest_y = y * font->height, in sti_putc()
231 int height, int width, int c, struct sti_cooked_font *font) in sti_clear()
237 .src_x = src_x * font->width, in sti_clear()
238 .src_y = src_y * font->height, in sti_clear()
239 .dest_x = src_x * font->width, in sti_clear()
240 .dest_y = src_y * font in sti_clear()
158 sti_putc(struct sti_struct *sti, int c, int y, int x, struct sti_cooked_font *font) sti_putc() argument
230 sti_clear(struct sti_struct *sti, int src_y, int src_x, int height, int width, int c, struct sti_cooked_font *font) sti_clear() argument
267 sti_bmove(struct sti_struct *sti, int src_y, int src_x, int dst_y, int dst_x, int height, int width, struct sti_cooked_font *font) sti_bmove() argument
583 sti_dump_font(struct sti_cooked_font *font) sti_dump_font() argument
605 struct sti_cooked_font *font; sti_search_font() local
618 struct sti_cooked_font *font; sti_select_font() local
[all...]
/kernel/linux/linux-5.10/drivers/video/console/
H A Dsticore.c25 #include <linux/font.h>
140 struct sti_cooked_font *font) in sti_putc()
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()
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 in sti_clear()
139 sti_putc(struct sti_struct *sti, int c, int y, int x, struct sti_cooked_font *font) sti_putc() argument
199 sti_clear(struct sti_struct *sti, int src_y, int src_x, int height, int width, int c, struct sti_cooked_font *font) sti_clear() argument
231 sti_bmove(struct sti_struct *sti, int src_y, int src_x, int dst_y, int dst_x, int height, int width, struct sti_cooked_font *font) sti_bmove() argument
555 struct sti_cooked_font *font; sti_search_font() local
568 struct sti_cooked_font *font; sti_select_font() local
[all...]
H A Dsticon.c47 #include <linux/font.h>
59 #define STI_DEF_FONT sticon_sti->font
226 /* check if font is already used by other console */ in sticon_set_font()
232 /* current font is the same as the new one */ in sticon_set_font()
241 /* clear screen with old font: we now may have less rows */ in sticon_set_font()
247 /* delete old font in case it is a user font */ in sticon_set_font()
257 /* need to repaint screen if cols & rows are same as old font */ in sticon_set_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()
[all...]
H A Ddummycon.c127 static int dummycon_font_set(struct vc_data *vc, struct console_font *font, in dummycon_font_set() argument
134 struct console_font *font, char *name) in dummycon_font_default()
133 dummycon_font_default(struct vc_data *vc, struct console_font *font, char *name) dummycon_font_default() argument
H A Dvgacon.c13 * User definable mapping table and font loading by Eugene G. Crosser,
16 * Improved loadable font/UTF-8 support by H. Peter Anvin
91 static unsigned int vga_default_font_height __read_mostly; /* Height of default screen font */
855 * The font loading code goes back to the codepage package by
891 return -EINVAL; /* Return to default font not supported */ in vgacon_do_font_op()
897 * The default font is kept in slot 0 and is never touched. in vgacon_do_font_op()
898 * A custom font is loaded in slot 2 (256 ch) or 2:3 (512 ch) in vgacon_do_font_op()
904 ch512 = false; /* Default font is always 256 */ in vgacon_do_font_op()
1003 /* force hi font mask to 0, so we always clear in vgacon_do_font_op()
1015 * Adjust the screen to fit a font o
1074 vgacon_font_set(struct vc_data *c, struct console_font *font, unsigned int flags) vgacon_font_set() argument
1096 vgacon_font_get(struct vc_data *c, struct console_font *font) vgacon_font_get() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dsticore.h45 /* sti_font_xy() use the native font ROM ! */
46 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
47 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
240 /* sticore internal font handling */
244 void *raw_ptr; /* kmalloc'ed font data */
256 /* STI font printing function structs */
259 u32 font_start_addr; /* address of font start */
260 s16 index; /* index into font table of character */
270 u32 non_text : 1; /* font unpack/move in non_text planes =1, text =0 */
361 struct sti_cooked_font *font; /* pt member
[all...]
/kernel/linux/linux-6.6/include/video/
H A Dsticore.h46 /* sti_font_xy() use the native font ROM ! */
47 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
48 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
241 /* sticore internal font handling */
245 void *raw_ptr; /* kmalloc'ed font data */
257 /* STI font printing function structs */
260 u32 *font_start_addr; /* address of font start */
261 s16 index; /* index into font table of character */
271 u32 non_text : 1; /* font unpack/move in non_text planes =1, text =0 */
363 struct sti_cooked_font *font; /* pt member
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbcon.c28 * Smart redraw scrolling, arbitrary font width support, 512char font support
72 #include <linux/font.h>
76 #include <linux/crc32.h> /* For counting font checksums */
153 /* font data */
414 if (!strncmp(options, "font:", 5)) { in fb_console_setup()
925 const struct font_desc *font = NULL; in fbcon_startup() local
960 /* Setup default font */ in fbcon_startup()
962 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_startup()
963 font in fbcon_startup()
1037 const struct font_desc *font = NULL; fbcon_init() local
2268 fbcon_get_font(struct vc_data *vc, struct console_font *font, unsigned int vpitch) fbcon_get_font() argument
2463 fbcon_set_font(struct vc_data *vc, struct console_font *font, unsigned int vpitch, unsigned int flags) fbcon_set_font() argument
2536 fbcon_set_def_font(struct vc_data *vc, struct console_font *font, char *name) fbcon_set_def_font() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbcon.c28 * Smart redraw scrolling, arbitrary font width support, 512char font support
74 #include <linux/font.h>
78 #include <linux/crc32.h> /* For counting font checksums */
151 /* font data */
446 if (!strncmp(options, "font:", 5)) { in fb_console_setup()
950 const struct font_desc *font = NULL; in fbcon_startup() local
999 /* Setup default font */ in fbcon_startup()
1001 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_startup()
1002 font in fbcon_startup()
1078 const struct font_desc *font = NULL; fbcon_init() local
2302 fbcon_get_font(struct vc_data *vc, struct console_font *font) fbcon_get_font() argument
2494 fbcon_set_font(struct vc_data *vc, struct console_font *font, unsigned int flags) fbcon_set_font() argument
2566 fbcon_set_def_font(struct vc_data *vc, struct console_font *font, char *name) fbcon_set_def_font() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c285 /* Free our font buffer if all consoles are gone */ in sisusbcon_deinit()
1002 * The default font is kept in slot 0. in sisusbcon_do_font_op()
1003 * A user font is loaded in slot 2 (256 ch) in sisusbcon_do_font_op()
1016 /* Default font is always 256 */ in sisusbcon_do_font_op()
1132 * Adjust the screen to fit a font of a certain height in sisusbcon_do_font_op()
1200 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()
1215 /* Save the user-provided font into a buffer. This in sisusbcon_font_set()
1230 memcpy(sisusb->font_backup, font in sisusbcon_font_set()
1246 sisusbcon_font_get(struct vc_data *c, struct console_font *font) sisusbcon_font_get() argument
1348 sisusbdummycon_font_set(struct vc_data *vc, struct console_font *font, unsigned int flags) sisusbdummycon_font_set() argument
1355 sisusbdummycon_font_default(struct vc_data *vc, struct console_font *font, char *name) sisusbdummycon_font_default() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dconsole.h60 int (*con_font_set)(struct vc_data *vc, struct console_font *font,
62 int (*con_font_get)(struct vc_data *vc, struct console_font *font);
64 struct console_font *font, char *name);
/kernel/linux/linux-6.6/drivers/video/console/
H A Dsticon.c47 #include <linux/font.h>
59 #define STI_DEF_FONT sticon_sti->font
225 /* check if font is already used by other console */ in sticon_set_font()
231 /* current font is the same as the new one */ in sticon_set_font()
240 /* clear screen with old font: we now may have less rows */ in sticon_set_font()
246 /* delete old font in case it is a user font */ in sticon_set_font()
256 /* need to repaint screen if cols & rows are same as old font */ in sticon_set_font()
270 static int sticon_font_set(struct vc_data *vc, struct console_font *font, in sticon_font_set() argument
273 return sticon_set_font(vc, font, vpitc in sticon_font_set()
[all...]
H A Dvgacon.c13 * User definable mapping table and font loading by Eugene G. Crosser,
16 * Improved loadable font/UTF-8 support by H. Peter Anvin
82 static unsigned int vga_default_font_height __read_mostly; /* Height of default screen font */
812 * The font loading code goes back to the codepage package by
847 return -EINVAL; /* Return to default font not supported */ in vgacon_do_font_op()
942 /* force hi font mask to 0, so we always clear in vgacon_do_font_op()
954 * Adjust the screen to fit a font of a certain height
964 /* Reprogram the CRTC for the new font size in vgacon_adjust_height()
970 The same applies for the spill bits in the font size and cursor in vgacon_adjust_height()
1013 static int vgacon_font_set(struct vc_data *c, struct console_font *font, in vgacon_font_set() argument
1035 vgacon_font_get(struct vc_data *c, struct console_font *font, unsigned int vpitch) vgacon_font_get() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A Dvimc-core.c8 #include <linux/font.h>
268 const struct font_desc *font = find_font("VGA8x16"); in vimc_probe() local
274 if (!font) { in vimc_probe()
275 dev_err(&pdev->dev, "could not find font\n"); in vimc_probe()
279 tpg_set_font(font->data); in vimc_probe()
/kernel/linux/linux-6.6/include/linux/
H A Dconsole.h62 int (*con_font_set)(struct vc_data *vc, struct console_font *font,
64 int (*con_font_get)(struct vc_data *vc, struct console_font *font,
67 struct console_font *font, char *name);
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-core.c9 #include <linux/font.h>
341 const struct font_desc *font = find_font("VGA8x16"); in vimc_probe() local
347 if (!font) { in vimc_probe()
348 dev_err(&pdev->dev, "could not find font\n"); in vimc_probe()
352 tpg_set_font(font->data); in vimc_probe()
/kernel/linux/linux-5.10/drivers/tty/vt/
H A Dvt.c99 #include <linux/font.h>
1765 * Select primary font, don't display control chars if in csi_m()
1773 * Select first alternate font, lets chars < 32 be in csi_m()
1781 * Select second alternate font, toggle high bit in csi_m()
2777 * useless without them; to display an arbitrary font position use the in vc_is_control()
2778 * direct-to-font zone in UTF-8 mode. in vc_is_control()
2823 * mind, but do this for ASCII characters since a font in vc_con_write_normal()
4601 struct console_font font; in con_font_get() local
4606 font.data = kmalloc(max_font_size, GFP_KERNEL); in con_font_get()
4607 if (!font in con_font_get()
4647 struct console_font font; con_font_set() local
4687 struct console_font font = {.width = op->width, .height = op->height}; con_font_default() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/vt/
H A Dvt.c99 #include <linux/font.h>
1718 * Select primary font, don't display control chars if in csi_m()
1726 * Select first alternate font, lets chars < 32 be in csi_m()
1734 * Select second alternate font, toggle high bit in csi_m()
2730 * useless without them; to display an arbitrary font position use the in vc_is_control()
2731 * direct-to-font zone in UTF-8 mode. in vc_is_control()
2776 * mind, but do this for ASCII characters since a font in vc_con_write_normal()
4534 struct console_font font; in con_font_get() local
4543 font.data = kvmalloc(max_font_size, GFP_KERNEL); in con_font_get()
4544 if (!font in con_font_get()
4584 struct console_font font; con_font_set() local
4628 struct console_font font = {.width = op->width, .height = op->height}; con_font_default() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/
H A Dvisl-video.c7 #include <linux/font.h>
80 const struct font_desc *font; in visl_tpg_init() local
89 font = find_font(font_name); in visl_tpg_init()
90 if (font) { in visl_tpg_init()
97 tpg_set_font(font->data); in visl_tpg_init()

Completed in 32 milliseconds

1234