Searched refs:cheight (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/display/ |
H A D | vga.c | 1158 int width, cwidth, height, cheight; in vga_get_text_resolution() local 1161 cheight = (s->cr[VGA_CRTC_MAX_SCAN] & 0x1f) + 1; in vga_get_text_resolution() 1177 height = (height + 1) / cheight; in vga_get_text_resolution() 1183 *pcheight = cheight; in vga_get_text_resolution() 1197 int cx, cy, cheight, cw, ch, cattr, height, width, ch_attr; in vga_draw_text() local 1232 vga_get_text_resolution(s, &width, &height, &cw, &cheight); in vga_draw_text() 1243 cw != s->last_cw || cheight != s->last_ch || s->last_depth) { in vga_draw_text() 1245 s->last_scr_height = height * cheight; in vga_draw_text() 1252 s->last_ch = cheight; in vga_draw_text() 1323 font_ptr, cheight, fgcol, bgcol); in vga_draw_text() [all …]
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 263 u8 cheight = height >> 2; in em28xx_capture_area_set() local 270 ((overflow & 1) << 10 | cheight << 2)); in em28xx_capture_area_set() 275 em28xx_write_regs(dev, EM28XX_R1F_CHEIGHT, &cheight, 1); in em28xx_capture_area_set()
|