Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\video-mode.c Create Date:2022-07-28 07:27:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Set mode (without recalc)

Proto:static int raw_set_mode(u16 mode, u16 *real_mode)

Type:int

Parameter:

TypeParameterName
u16mode
u16 *real_mode
77  mode &= ~The "recalculate timings" flag
80  nmode = 0
81  When card < video_cards_end cycle
82  mi = modes
86  If mode == nmode && visible || mode == Mode number (vga= style) || mode == (Width, height << 8) + x Then
93  If visible Then nmode++
99  When card < video_cards_end cycle
104  x = Width, height = 0
105  Return set_mode( & mix)
110  Return -1
Caller
NameDescribe
set_modeSet mode (with recalc if specified)