Searched refs:myindex (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 617 sisfb_validate_mode(struct sis_video_info *ivideo, int myindex, u32 vbflags) in sisfb_validate_mode() argument 623 if (!(sisbios_mode[myindex].chipset & MD_SIS300)) in sisfb_validate_mode() 629 if (!(sisbios_mode[myindex].chipset & MD_SIS315)) in sisfb_validate_mode() 634 myres = sisbios_mode[myindex].yres; in sisfb_validate_mode() 643 if (sisbios_mode[myindex].xres > xres) in sisfb_validate_mode() 650 if (sisbios_mode[myindex].xres == 320) { in sisfb_validate_mode() 652 switch (sisbios_mode[myindex].mode_no[1]) { in sisfb_validate_mode() 653 case 0x50: myindex = MODE_FSTN_8; break; in sisfb_validate_mode() 654 case 0x56: myindex = MODE_FSTN_16; break; in sisfb_validate_mode() 661 if (SiS_GetModeID_LCD(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres, in sisfb_validate_mode() [all …]
|
H A D | init301.c | 9952 unsigned short delay=0,index,myindex,temp,romptr=0; in SetDelayComp() local 10066 myindex = GetLCDPtrIndex(SiS_Pr); in SetDelayComp() 10081 delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp() 10086 delay = SiS310_LCDDelayCompensation_651301LV[myindex]; in SetDelayComp() 10088 delay = SiS310_LCDDelayCompensation_651302LV[myindex]; in SetDelayComp() 10111 delay = SiS310_LCDDelayCompensation_301[myindex]; in SetDelayComp() 10114 … else if(SiS_Pr->ChipType <= SIS_315PRO) delay = SiS310_LCDDelayCompensation_3xx301LV[myindex]; in SetDelayComp() 10115 else delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp() 10122 else delay = SiS310_LCDDelayCompensation_3xx301B[myindex]; in SetDelayComp() 10957 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local [all …]
|