Lines Matching refs:ModeNo
43 extern bool SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo,
52 unsigned short ModeNo = modeno; in sisfb_mode_rate_to_dclock() local
62 switch(ModeNo) { in sisfb_mode_rate_to_dclock()
63 case 0x5a: ModeNo = 0x50; break; in sisfb_mode_rate_to_dclock()
64 case 0x5b: ModeNo = 0x56; in sisfb_mode_rate_to_dclock()
68 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) {; in sisfb_mode_rate_to_dclock()
69 printk(KERN_ERR "Could not find mode %x\n", ModeNo); in sisfb_mode_rate_to_dclock()
97 unsigned short ModeNo = modeno; in sisfb_mode_rate_to_ddata() local
106 switch(ModeNo) { in sisfb_mode_rate_to_ddata()
107 case 0x5a: ModeNo = 0x50; break; in sisfb_mode_rate_to_ddata()
108 case 0x5b: ModeNo = 0x56; in sisfb_mode_rate_to_ddata()
112 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return 0; in sisfb_mode_rate_to_ddata()
180 unsigned short ModeNo = modeno; in sisfb_gettotalfrommode() local
190 switch(ModeNo) { in sisfb_gettotalfrommode()
191 case 0x5a: ModeNo = 0x50; break; in sisfb_gettotalfrommode()
192 case 0x5b: ModeNo = 0x56; in sisfb_gettotalfrommode()
196 if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) return false; in sisfb_gettotalfrommode()