Searched refs:sMode (Results 1 – 2 of 2) sorted by relevance
94 static video_mode *sMode, *sDefaultMode; variable1032 sMode = sDefaultMode; in video_mode_hook()1045 if (mode != sMode) { in video_mode_hook()1048 sMode = mode; in video_mode_hook()1101 if (sMode) in platform_set_palette()1102 sMode->ops->SetPalette(sMode, palette); in platform_set_palette()1119 if (sMode != NULL) { in platform_switch_to_logo()1120 sMode->Set(); in platform_switch_to_logo()1122 gKernelArgs.frame_buffer.width = sMode->ops->Width(sMode); in platform_switch_to_logo()1123 gKernelArgs.frame_buffer.height = sMode->ops->Height(sMode); in platform_switch_to_logo()[all …]
50 static video_mode *sMode, *sDefaultMode; variable322 sMode = mode; in get_mode_from_settings()654 sMode = sDefaultMode; in video_mode_hook()667 if (mode != sMode) { in video_mode_hook()670 sMode = mode; in video_mode_hook()848 if (sVesaCompatible && sMode != NULL) { in platform_switch_to_logo()858 if ((sMode->timing == NULL || vesa_set_mode(sMode, true) != B_OK) in platform_switch_to_logo()859 && vesa_set_mode(sMode, false) != B_OK) in platform_switch_to_logo()863 if (vesa_get_mode_info(sMode->mode, &modeInfo) != B_OK) in platform_switch_to_logo()997 sMode = sDefaultMode; in platform_init_video()