Home
last modified time | relevance | path

Searched refs:cooked_font (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/video/console/
Dsticon.c180 struct sti_cooked_font *cooked_font; in sticon_set_font() local
203 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sticon_set_font()
204 if (!cooked_font) { in sticon_set_font()
208 cooked_font->raw = new_font; in sticon_set_font()
209 cooked_font->raw_ptr = new_font; in sticon_set_font()
210 cooked_font->width = w; in sticon_set_font()
211 cooked_font->height = h; in sticon_set_font()
212 FNTREFCOUNT(cooked_font) = 0; /* usage counter */ in sticon_set_font()
221 FNTCRC(cooked_font) = crc32(0, new_font, size + sizeof(*new_font)); in sticon_set_font()
222 sti_font_convert_bytemode(sti, cooked_font); in sticon_set_font()
[all …]
Dsticore.c496 struct sti_cooked_font *cooked_font; in sti_select_fbfont() local
530 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_select_fbfont()
531 if (!cooked_font) { in sti_select_fbfont()
536 cooked_font->raw = nf; in sti_select_fbfont()
537 cooked_font->raw_ptr = nf; in sti_select_fbfont()
538 cooked_font->next_font = NULL; in sti_select_fbfont()
540 cooked_rom->font_start = cooked_font; in sti_select_fbfont()
542 return cooked_font; in sti_select_fbfont()
628 struct sti_cooked_font *cooked_font; in sti_cook_fonts() local
630 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts()
[all …]