Lines Matching defs:font
8 #include <linux/font.h>
17 static const struct font_desc *font;
94 for (i = 0; i < height - font->height; i++) {
99 src = efi_earlycon_map((i + font->height) * len, len);
120 bytes = BITS_TO_BYTES(font->width);
121 src = font->data + c * font->height * bytes + h * bytes;
123 for (m = 0; m < font->width; m++) {
155 linemax = (si->lfb_width - efi_x) / font->width;
159 for (h = 0; h < font->height; h++) {
172 x += font->width;
180 efi_x += count * font->width;
185 efi_y += font->height;
190 if (efi_x + font->width > si->lfb_width) {
192 efi_y += font->height;
195 if (efi_y + font->height > si->lfb_height) {
198 efi_y -= font->height;
201 for (i = 0; i < font->height; i++)
234 font = get_default_font(xres, yres, -1, -1);
235 if (!font)
238 efi_y = rounddown(yres, font->height) - font->height;
239 for (i = 0; i < (yres - efi_y) / font->height; i++)