Lines Matching refs:mode_info
84 EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *mode_info; in efi_vesacon_set_mode() local
104 mode_info = gop_mode->Info; in efi_vesacon_set_mode()
106 mode_info->Version, mode_info->PixelFormat, in efi_vesacon_set_mode()
107 mode_info->HorizontalResolution, mode_info->VerticalResolution); in efi_vesacon_set_mode()
111 … = uefi_call_wrapper(GraphicsOutput->QueryMode, 4, GraphicsOutput, mode_num, &sz_info, &mode_info); in efi_vesacon_set_mode()
118 …mode_match = ((uint32_t)*x == mode_info->HorizontalResolution && (uint32_t)*y == mode_info->Vertic… in efi_vesacon_set_mode()
119 …debug("mode %d hres=%d vres=%d\n", mode_num, mode_info->HorizontalResolution, mode_info->VerticalR… in efi_vesacon_set_mode()
132 mode_info = gop_mode->Info; in efi_vesacon_set_mode()
133 *x = mode_info->HorizontalResolution; in efi_vesacon_set_mode()
134 *y = mode_info->VerticalResolution; in efi_vesacon_set_mode()
157 switch (mode_info->PixelFormat) { in efi_vesacon_set_mode()
167 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode()
169 …dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPer… in efi_vesacon_set_mode()
181 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode()
183 …dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPer… in efi_vesacon_set_mode()
189 mode_info->PixelInformation.RedMask, in efi_vesacon_set_mode()
190 mode_info->PixelInformation.GreenMask, in efi_vesacon_set_mode()
191 mode_info->PixelInformation.BlueMask, in efi_vesacon_set_mode()
192 mode_info->PixelInformation.ReservedMask); in efi_vesacon_set_mode()
193 find_pixmask_bits(mode_info->PixelInformation.RedMask, in efi_vesacon_set_mode()
195 find_pixmask_bits(mode_info->PixelInformation.GreenMask, in efi_vesacon_set_mode()
197 find_pixmask_bits(mode_info->PixelInformation.BlueMask, in efi_vesacon_set_mode()
199 find_pixmask_bits(mode_info->PixelInformation.ReservedMask, in efi_vesacon_set_mode()
203 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode()