Searched refs:cooked_font (Results 1 – 2 of 2) sorted by relevance
181 struct sti_cooked_font *cooked_font; in sticon_set_font() local204 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sticon_set_font()205 if (!cooked_font) { in sticon_set_font()209 cooked_font->raw = new_font; in sticon_set_font()210 cooked_font->raw_ptr = new_font; in sticon_set_font()211 cooked_font->width = w; in sticon_set_font()212 cooked_font->height = h; in sticon_set_font()213 FNTREFCOUNT(cooked_font) = 0; /* usage counter */ in sticon_set_font()222 FNTCRC(cooked_font) = crc32(0, new_font, size + sizeof(*new_font)); in sticon_set_font()223 sti_font_convert_bytemode(sti, cooked_font); in sticon_set_font()[all …]
497 struct sti_cooked_font *cooked_font; in sti_select_fbfont() local531 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_select_fbfont()532 if (!cooked_font) { in sti_select_fbfont()537 cooked_font->raw = nf; in sti_select_fbfont()538 cooked_font->raw_ptr = nf; in sti_select_fbfont()539 cooked_font->next_font = NULL; in sti_select_fbfont()541 cooked_rom->font_start = cooked_font; in sti_select_fbfont()543 return cooked_font; in sti_select_fbfont()649 struct sti_cooked_font *cooked_font; in sti_cook_fonts() local651 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts()[all …]