Lines Matching refs:height

968 	uint32_t width, height;  in gfx_fb_cons_clear()  local
971 height = gfx_fb.framebuffer_common.framebuffer_height; in gfx_fb_cons_clear()
974 0, 0, width, height, 0); in gfx_fb_cons_clear()
987 uint32_t width, height, bytes; in gfx_fb_cons_copy() local
993 height = ma->e_row - ma->s_row + 1; in gfx_fb_cons_copy()
1003 if (sy + height > gfx_fb.framebuffer_common.framebuffer_height) in gfx_fb_cons_copy()
1004 height = gfx_fb.framebuffer_common.framebuffer_height - sy; in gfx_fb_cons_copy()
1009 if (dy + height > gfx_fb.framebuffer_common.framebuffer_height) in gfx_fb_cons_copy()
1010 height = gfx_fb.framebuffer_common.framebuffer_height - dy; in gfx_fb_cons_copy()
1012 if (width == 0 || height == 0) in gfx_fb_cons_copy()
1020 sx, sy, dx, dy, width, height, 0); in gfx_fb_cons_copy()
1037 sy += height; in gfx_fb_cons_copy()
1038 dy += height; in gfx_fb_cons_copy()
1042 while (height-- > 0) { in gfx_fb_cons_copy()
1111 allocate_glyphbuffer(uint32_t width, uint32_t height) in allocate_glyphbuffer() argument
1115 size = sizeof (*GlyphBuffer) * width * height; in allocate_glyphbuffer()
1141 (uint32_t)da->row + da->height > in gfx_fb_cons_display()
1151 uint32_t dx, dy, width, height; in gfx_fb_cons_display() local
1155 height = da->height; in gfx_fb_cons_display()
1160 for (uint32_t y = 0; y < height; y++) { in gfx_fb_cons_display()
1175 (void) allocate_glyphbuffer(da->width, da->height); in gfx_fb_cons_display()
1177 size = sizeof (*BltBuffer) * da->width * da->height; in gfx_fb_cons_display()
1187 da->col, da->row, 0, 0, da->width, da->height, 0) == 0) { in gfx_fb_cons_display()
1188 bitmap_cpy(BltBuffer, da->data, da->width * da->height); in gfx_fb_cons_display()
1190 0, 0, da->col, da->row, da->width, da->height, 0); in gfx_fb_cons_display()
1222 for (screen_size_t i = 0; i < ca->height; i++) { in gfx_fb_cursor_impl()
1246 allocate_glyphbuffer(ca->width, ca->height) != NULL) { in gfx_fb_display_cursor()
1248 ca->col, ca->row, 0, 0, ca->width, ca->height, 0) == 0) in gfx_fb_display_cursor()
1253 ca->col, ca->row, ca->width, ca->height, 0); in gfx_fb_display_cursor()
1258 uint32_t dx, dy, width, height; in gfx_fb_display_cursor() local
1263 height = ca->height; in gfx_fb_display_cursor()
1268 for (uint32_t y = 0; y < height; y++) { in gfx_fb_display_cursor()
1603 if (png->width > UINT16_MAX || png->height > UINT16_MAX) { in gfx_fb_putimage()
1609 if (png->width < 1 || png->height < 1) { in gfx_fb_putimage()
1623 uy2 = uy1 + png->height; in gfx_fb_putimage()
1627 ux2 = ux1 + (png->width * (uy2 - uy1)) / png->height; in gfx_fb_putimage()
1630 uy2 = uy1 + (png->height * (ux2 - ux1)) / png->width; in gfx_fb_putimage()
1647 if (fwidth == png->width && fheight == png->height) in gfx_fb_putimage()
1684 png->width, png->height, fwidth, fheight, ux1, uy1); in gfx_fb_putimage()
1689 da.height = fheight; in gfx_fb_putimage()
1698 (da.row + da.height) / tems.ts_font.vf_height, in gfx_fb_putimage()
1727 const uint32_t hcstep = ((png->height - 1) << 16) / (fheight - 1); in gfx_fb_putimage()
1882 gfx_get_font(short rows, short cols, short height, short width) in gfx_get_font() argument
1910 if (height / font->height < rows || in gfx_get_font()
1919 if (next == NULL || next->font_data->height < size) { in gfx_get_font()
2029 fp->vf_height = DEFAULT_FONT_DATA.height; in load_font()
2212 fh.fh_height = DEFAULT_FONT_DATA.height; in insert_font()
2215 DEFAULT_FONT_DATA.width, DEFAULT_FONT_DATA.height); in insert_font()
2240 fh.fh_height == entry->font_data->height) { in insert_font()
2263 fp->font_data->height = fh.fh_height; in insert_font()
2271 size = fp->font_data->width * fp->font_data->height; in insert_font()
2275 if (size > entry->font_data->width * entry->font_data->height) { in insert_font()
2286 size > next->font_data->width * next->font_data->height) { in insert_font()
2313 if (fl->font_data->width == x && fl->font_data->height == y) in font_set()
2331 fl->font_data->height); in font_set()
2417 fl->font_data->height, in command_font()
2479 rp->height = GET_EDID_INFO_HEIGHT(edid, i); in gfx_get_edid_resolution()
2481 rp->height > 0 && rp->height <= EDID_MAX_LINES) in gfx_get_edid_resolution()
2502 rp->height = HSIZE(edid->standard_timings[i]); in gfx_get_edid_resolution()
2505 rp->height = rp->height * 10 / 16; in gfx_get_edid_resolution()
2509 rp->height = HSIZE(edid->standard_timings[i]) * 3 / 4; in gfx_get_edid_resolution()
2512 rp->height = HSIZE(edid->standard_timings[i]) * 4 / 5; in gfx_get_edid_resolution()
2515 rp->height = HSIZE(edid->standard_timings[i]) * 9 / 16; in gfx_get_edid_resolution()
2524 if (p->width * p->height < rp->width * rp->height) { in gfx_get_edid_resolution()