• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:ModeNo

273 SiS_SearchModeID(struct SiS_Private *SiS_Pr, unsigned short *ModeNo,
276 if ((*ModeNo) <= 0x13) {
278 if ((*ModeNo) != 0x03)
287 if (SiS_Pr->SiS_EModeIDTable[*ModeIdIndex].Ext_ModeID == (*ModeNo))
315 SiS_GetColorDepth(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
322 if (ModeNo <= 0x13) {
338 SiS_GetOffset(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
346 colordepth = SiS_GetColorDepth(SiS_Pr, ModeNo, ModeIdIndex);
463 SiS_ClearExt1Regs(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
479 SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
484 if (ModeNo <= 0x13)
491 ModeNo = SiS_Pr->SiS_RefIndex[rrti].ModeID;
495 if (SiS_Pr->SiS_RefIndex[rrti + i].ModeID != ModeNo)
529 SiS_SetCRT1CRTC(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
576 SiS_SetCRT1Offset(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
579 unsigned short du = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, rrti);
602 SiS_SetCRT1VCLK(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
621 SiS_SetCRT1FIFO_310(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
632 if (ModeNo <= 0x13)
646 SiS_SetVCLKState(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
651 if (ModeNo > 0x13) {
675 SiS_SetCRT1ModeRegs(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
680 if (ModeNo <= 0x13)
691 if (ModeNo > 0x13) {
720 if ((SiS_Pr->SiS_ModeType == ModeEGA) && (ModeNo > 0x13))
733 SiS_SetVCLKState(SiS_Pr, ModeNo, rrti);
768 SiS_LoadDAC(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short mi)
775 if (ModeNo < 0x13)
846 SiS_SetCRT1Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
851 SiS_Pr->SiS_CRT1Mode = ModeNo;
853 if (ModeNo <= 0x13)
864 SiS_ClearExt1Regs(SiS_Pr, ModeNo);
866 rrti = SiS_GetRatePtr(SiS_Pr, ModeNo, ModeIdIndex);
870 SiS_SetCRT1CRTC(SiS_Pr, ModeNo, ModeIdIndex, rrti);
871 SiS_SetCRT1Offset(SiS_Pr, ModeNo, ModeIdIndex, rrti);
872 SiS_SetCRT1VCLK(SiS_Pr, ModeNo, rrti);
875 SiS_SetCRT1FIFO_310(SiS_Pr, ModeNo, ModeIdIndex);
877 SiS_SetCRT1ModeRegs(SiS_Pr, ModeNo, ModeIdIndex, rrti);
879 SiS_LoadDAC(SiS_Pr, ModeNo, ModeIdIndex);
889 SiSUSBSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
898 if (!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex)))
905 ModeNo &= 0x7f;
913 SiS_SetCRT1Group(SiS_Pr, ModeNo, ModeIdIndex);
921 SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3d4, 0x34, ModeNo);
929 unsigned short ModeNo = 0;
936 ModeNo = 0x03;
944 ModeNo = SiS_Pr->SiS_EModeIDTable[i].Ext_ModeID;
952 if (!ModeNo)
955 return SiSUSBSetMode(SiS_Pr, ModeNo);