Searched refs:virt_width (Results 1 – 2 of 2) sorted by relevance
158 uint32_t virt_width; in bochs_display_get_mode() local183 virt_width = vbe[VBE_DISPI_INDEX_VIRT_WIDTH]; in bochs_display_get_mode()184 if (virt_width < mode->width) { in bochs_display_get_mode()185 virt_width = mode->width; in bochs_display_get_mode()187 mode->stride = virt_width * mode->bytepp; in bochs_display_get_mode()
252 u32 virt_width; in mbochs_check_framebuffer() local273 virt_width = vbe[VBE_DISPI_INDEX_VIRT_WIDTH]; in mbochs_check_framebuffer()274 if (virt_width < mode->width) in mbochs_check_framebuffer()275 virt_width = mode->width; in mbochs_check_framebuffer()276 mode->stride = virt_width * mode->bytepp; in mbochs_check_framebuffer()