Home
last modified time | relevance | path

Searched refs:ModeIndex (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/video/fbdev/sis/
Dinit.c344 unsigned short ModeIndex = 0; in SiS_GetModeID() local
349 if(VDisplay == 200) ModeIndex = ModeIndex_320x200[Depth]; in SiS_GetModeID()
352 ModeIndex = ModeIndex_320x240_FSTN[Depth]; in SiS_GetModeID()
354 ModeIndex = ModeIndex_320x240[Depth]; in SiS_GetModeID()
359 if(VDisplay == 300) ModeIndex = ModeIndex_400x300[Depth]; in SiS_GetModeID()
364 if(VDisplay == 384) ModeIndex = ModeIndex_512x384[Depth]; in SiS_GetModeID()
368 if(VDisplay == 480) ModeIndex = ModeIndex_640x480[Depth]; in SiS_GetModeID()
369 else if(VDisplay == 400) ModeIndex = ModeIndex_640x400[Depth]; in SiS_GetModeID()
372 if(VDisplay == 480) ModeIndex = ModeIndex_720x480[Depth]; in SiS_GetModeID()
373 else if(VDisplay == 576) ModeIndex = ModeIndex_720x576[Depth]; in SiS_GetModeID()
[all …]