Home
last modified time | relevance | path

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

/linux/drivers/video/console/
H A Dsticon.c166 struct sti_cooked_font *cooked_font; in sticon_set_font() local
189 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sticon_set_font()
190 if (!cooked_font) { in sticon_set_font()
194 cooked_font->raw = new_font; in sticon_set_font()
195 cooked_font->raw_ptr = new_font; in sticon_set_font()
196 cooked_font->width = w; in sticon_set_font()
197 cooked_font->height = h; in sticon_set_font()
198 FNTREFCOUNT(cooked_font) = 0; /* usage counter */ in sticon_set_font()
207 FNTCRC(cooked_font) = crc32(0, new_font, size + sizeof(*new_font)); in sticon_set_font()
208 sti_font_convert_bytemode(sti, cooked_font); in sticon_set_font()
[all …]
/linux/drivers/video/
H A 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 …]