Searched refs:cooked_font (Results 1 – 2 of 2) sorted by relevance
166 struct sti_cooked_font *cooked_font; in sticon_set_font() local189 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 …]
527 struct sti_cooked_font *cooked_font; in sti_select_fbfont() local561 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() local681 cooked_font = kzalloc(sizeof(*cooked_font), GFP_KERNEL); in sti_cook_fonts()[all …]