Searched refs:myindex (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/video/fbdev/sis/ |
D | sis_main.c | 647 sisfb_validate_mode(struct sis_video_info *ivideo, int myindex, u32 vbflags) in sisfb_validate_mode() argument 653 if(!(sisbios_mode[myindex].chipset & MD_SIS300)) in sisfb_validate_mode() 659 if(!(sisbios_mode[myindex].chipset & MD_SIS315)) in sisfb_validate_mode() 664 myres = sisbios_mode[myindex].yres; in sisfb_validate_mode() 673 if(sisbios_mode[myindex].xres > xres) in sisfb_validate_mode() 680 if(sisbios_mode[myindex].xres == 320) { in sisfb_validate_mode() 682 switch(sisbios_mode[myindex].mode_no[1]) { in sisfb_validate_mode() 683 case 0x50: myindex = MODE_FSTN_8; break; in sisfb_validate_mode() 684 case 0x56: myindex = MODE_FSTN_16; break; in sisfb_validate_mode() 691 if(SiS_GetModeID_LCD(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres, in sisfb_validate_mode() [all …]
|
D | init301.c | 9953 unsigned short delay=0,index,myindex,temp,romptr=0; in SetDelayComp() local 10067 myindex = GetLCDPtrIndex(SiS_Pr); in SetDelayComp() 10082 delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp() 10087 delay = SiS310_LCDDelayCompensation_651301LV[myindex]; in SetDelayComp() 10089 delay = SiS310_LCDDelayCompensation_651302LV[myindex]; in SetDelayComp() 10112 delay = SiS310_LCDDelayCompensation_301[myindex]; in SetDelayComp() 10115 … else if(SiS_Pr->ChipType <= SIS_315PRO) delay = SiS310_LCDDelayCompensation_3xx301LV[myindex]; in SetDelayComp() 10116 else delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp() 10123 else delay = SiS310_LCDDelayCompensation_3xx301B[myindex]; in SetDelayComp() 10958 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local [all …]
|