Lines Matching refs:font
8 #include <linux/font.h>
18 static const struct font_desc *font;
105 for (i = 0; i < height - font->height; i++) {
110 src = efi_earlycon_map((i + font->height) * len, len);
131 bytes = BITS_TO_BYTES(font->width);
132 src = font->data + c * font->height * bytes + h * bytes;
134 for (m = 0; m < font->width; m++) {
158 unsigned int linemax = (si->lfb_width - efi_x) / font->width;
165 for (h = 0; h < font->height; h++) {
178 x += font->width;
186 efi_x += count * font->width;
192 efi_y += font->height;
197 if (efi_x + font->width > si->lfb_width) {
200 efi_y += font->height;
203 if (efi_y + font->height > si->lfb_height) {
209 efi_y -= font->height;
212 for (i = 0; i < font->height; i++)
255 font = get_default_font(xres, yres, NULL, NULL);
256 if (!font)
260 memset32(efi_x_array, rounddown(xres, font->width), ARRAY_SIZE(efi_x_array));
261 efi_y = rounddown(yres, font->height);
264 max_line_y = efi_y / font->height + 1;
267 efi_y -= font->height;
268 for (i = 0; i < (yres - efi_y) / font->height; i++)