Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/xgifb/
DXGI_main_26.c457 static int XGIfb_validate_mode(struct xgifb_video_info *xgifb_info, int myindex) in XGIfb_validate_mode() argument
466 if (XGIbios_mode[myindex].xres > xres) in XGIfb_validate_mode()
468 if (XGIbios_mode[myindex].yres > yres) in XGIfb_validate_mode()
470 if ((XGIbios_mode[myindex].xres < xres) && in XGIfb_validate_mode()
471 (XGIbios_mode[myindex].yres < yres)) { in XGIfb_validate_mode()
472 if (XGIbios_mode[myindex].bpp > 8) in XGIfb_validate_mode()
477 return myindex; in XGIfb_validate_mode()
483 return myindex; in XGIfb_validate_mode()
485 if (!(XGIbios_mode[myindex].chipset & MD_XGI315)) in XGIfb_validate_mode()
536 if (XGIbios_mode[myindex].xres > xres) in XGIfb_validate_mode()
[all …]
/linux-3.4.99/drivers/video/sis/
Dsis_main.c618 sisfb_validate_mode(struct sis_video_info *ivideo, int myindex, u32 vbflags) in sisfb_validate_mode() argument
624 if(!(sisbios_mode[myindex].chipset & MD_SIS300)) in sisfb_validate_mode()
630 if(!(sisbios_mode[myindex].chipset & MD_SIS315)) in sisfb_validate_mode()
635 myres = sisbios_mode[myindex].yres; in sisfb_validate_mode()
644 if(sisbios_mode[myindex].xres > xres) in sisfb_validate_mode()
651 if(sisbios_mode[myindex].xres == 320) { in sisfb_validate_mode()
653 switch(sisbios_mode[myindex].mode_no[1]) { in sisfb_validate_mode()
654 case 0x50: myindex = MODE_FSTN_8; break; in sisfb_validate_mode()
655 case 0x56: myindex = MODE_FSTN_16; break; in sisfb_validate_mode()
662 if(SiS_GetModeID_LCD(ivideo->sisvga_engine, vbflags, sisbios_mode[myindex].xres, in sisfb_validate_mode()
[all …]
Dinit301.c9642 unsigned short delay=0,index,myindex,temp,romptr=0; in SetDelayComp() local
9758 myindex = GetLCDPtrIndex(SiS_Pr); in SetDelayComp()
9773 delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp()
9778 delay = SiS310_LCDDelayCompensation_651301LV[myindex]; in SetDelayComp()
9780 delay = SiS310_LCDDelayCompensation_651302LV[myindex]; in SetDelayComp()
9803 delay = SiS310_LCDDelayCompensation_301[myindex]; in SetDelayComp()
9806 … else if(SiS_Pr->ChipType <= SIS_315PRO) delay = SiS310_LCDDelayCompensation_3xx301LV[myindex]; in SetDelayComp()
9807 else delay = SiS310_LCDDelayCompensation_650301LV[myindex]; in SetDelayComp()
9814 else delay = SiS310_LCDDelayCompensation_3xx301B[myindex]; in SetDelayComp()
10649 unsigned short crt2crtc=0, modeflag, myindex=0; in SetOEMLCDData2() local
[all …]