Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/video/sis/
Dsis_main.c557 sisfb_validate_mode(struct sis_video_info *ivideo, int myindex, u32 vbflags) in sisfb_validate_mode() argument
563 if(!(sisbios_mode[myindex].chipset & MD_SIS300)) return(-1); in sisfb_validate_mode()
568 if(!(sisbios_mode[myindex].chipset & MD_SIS315)) return(-1); in sisfb_validate_mode()
572 myres = sisbios_mode[myindex].yres; in sisfb_validate_mode()
581 if(sisbios_mode[myindex].xres > xres) return(-1); in sisfb_validate_mode()
586 if(sisbios_mode[myindex].xres == 320) { in sisfb_validate_mode()
589 if(sisbios_mode[myindex].mode_no[1] == 0x5a || in sisfb_validate_mode()
590 sisbios_mode[myindex].mode_no[1] == 0x5b) in sisfb_validate_mode()
593 if(sisbios_mode[myindex].mode_no[1] == 0x50 || in sisfb_validate_mode()
594 sisbios_mode[myindex].mode_no[1] == 0x56 || in sisfb_validate_mode()
[all …]
Dinit301.c9530 USHORT index, myindex, lumsize, numcodes; in SiS_SenseLCDDDC() local
9967 myindex = index; in SiS_SenseLCDDDC()
9970 if(buffer[myindex] == seekcode) break; in SiS_SenseLCDDDC()
9971 myindex += 4; in SiS_SenseLCDDDC()
9973 if(buffer[myindex] == seekcode) { in SiS_SenseLCDDDC()
9974 cr37 |= ((((buffer[myindex + 1] & 0x0c) ^ 0x0c) << 4) | 0x20); in SiS_SenseLCDDDC()
10557 USHORT delay=0,index,myindex,temp,romptr=0; in SetDelayComp() local
10669 myindex = GetLCDPtrIndex(SiS_Pr); in SetDelayComp()
10684 delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp()
10689 delay = SiS310_LCDDelayCompensation_651301LV[myindex]; in SetDelayComp()
[all …]