Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/drivers/video/
Dsticore.c527 struct sti_cooked_font *cooked_font; in sti_select_fbfont() local
561 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_select_fbfont()
562 if (!cooked_font) { in sti_select_fbfont()
567 cooked_font->raw = nf; in sti_select_fbfont()
568 cooked_font->raw_ptr = nf; in sti_select_fbfont()
569 cooked_font->next_font = NULL; in sti_select_fbfont()
571 cooked_rom->font_start = cooked_font; in sti_select_fbfont()
573 return cooked_font; in sti_select_fbfont()
679 struct sti_cooked_font *cooked_font; in sti_cook_fonts() local
681 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts()
[all …]