Lines Matching defs:unit
159 static int sticon_set_def_font(int unit, struct console_font *op)
161 if (font_data[unit] != STI_DEF_FONT) {
162 if (--FNTREFCOUNT(font_data[unit]) == 0) {
163 kfree(font_data[unit]->raw_ptr);
164 kfree(font_data[unit]);
166 font_data[unit] = STI_DEF_FONT;
176 int unit = vc->vc_num;
233 if (i == unit)
248 sticon_set_def_font(unit, NULL);
251 font_data[unit] = cooked_font;