• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/sis/

Lines Matching refs:romptr

176    unsigned short romptr = 0;
187 romptr = SISGETROMW(0x102);
188 romptr += ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) * SiS_Pr->SiS661LCD2TableSize);
191 return romptr;
3251 unsigned short tempax, tempbx, modeflag, romptr=0;
3275 if((romptr = (SISGETROMW(21)))) {
3276 romptr += (resinfo661 * 10);
3443 } else if( (!(SiS_Pr->SiS_LCDInfo & DontExpandLCD)) && (romptr) && (ROMAddr) ) {
3446 SiS_Pr->SiS_RVBHCMAX = ROMAddr[romptr];
3447 SiS_Pr->SiS_RVBHCFACT = ROMAddr[romptr+1];
3448 SiS_Pr->SiS_VGAHT = ROMAddr[romptr+2] | ((ROMAddr[romptr+3] & 0x0f) << 8);
3449 SiS_Pr->SiS_VGAVT = (ROMAddr[romptr+4] << 4) | ((ROMAddr[romptr+3] & 0xf0) >> 4);
3450 SiS_Pr->SiS_HT = ROMAddr[romptr+5] | ((ROMAddr[romptr+6] & 0x0f) << 8);
3451 SiS_Pr->SiS_VT = (ROMAddr[romptr+7] << 4) | ((ROMAddr[romptr+6] & 0xf0) >> 4);
3452 SiS_Pr->SiS_RVBHRS2 = ROMAddr[romptr+8] | ((ROMAddr[romptr+9] & 0x0f) << 8);
3455 tempax = (ROMAddr[romptr+9] >> 4) & 0x07;
3456 if(ROMAddr[romptr+9] & 0x80) SiS_Pr->SiS_RVBHRS2 -= tempax;
3858 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
3863 (romptr) &&
3865 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2b,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 0]);
3866 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2c,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 1]);
3867 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2d,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 2]);
3868 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2e,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 3]);
3869 SiS_SetReg(SiS_Pr->SiS_Part4Port,0x2f,ROMAddr[romptr + SiS_Pr->SiS_PWDOffset + 4]);
3871 if((ROMAddr[romptr + 2] & (0x06 << 1)) && !drivermode) {
4506 unsigned short romptr = GetLCDStructPtr661_2(SiS_Pr);
4507 if(romptr) {
4510 SiS_Pr->EMI_31 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 0];
4511 SiS_Pr->EMI_32 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 1];
4512 SiS_Pr->EMI_33 = ROMAddr[romptr + SiS_Pr->SiS_EMIOffset + 2];
4513 if(ROMAddr[romptr + 1] & 0x10) SiS_Pr->EMI_30 = 0x40;
4514 /* emidelay = SISGETROMW((romptr + 0x22)); */
9535 unsigned short romptr;
9538 romptr = SISGETROMW(0x128);
9540 romptr = SISGETROMW(0x12a);
9542 romptr = SISGETROMW(0x1a8);
9544 romptr = SISGETROMW(0x1aa);
9546 return romptr;
9553 unsigned short romptr;
9556 romptr = SISGETROMW(0x120);
9558 romptr = SISGETROMW(0x122);
9560 romptr = SISGETROMW(0x1a0);
9562 romptr = SISGETROMW(0x1a2);
9564 return romptr;
9571 unsigned short romptr;
9574 romptr = SISGETROMW(0x114);
9576 romptr = SISGETROMW(0x11a);
9578 romptr = SISGETROMW(0x194);
9580 romptr = SISGETROMW(0x19a);
9582 return romptr;
9709 unsigned short delay=0,index,myindex,temp,romptr=0;
9723 romptr = GetRAMDACromptr(SiS_Pr);
9725 if(romptr) delay = ROMAddr[romptr];
9834 /* romptr = SISGETROMW(0x120); */
9836 romptr = SISGETROMW(0x122);
9837 if(!romptr) return;
9838 delay = ROMAddr[(romptr + index)];
9857 ((romptr = GetLCDromptr(SiS_Pr)))) {
9861 delay = ROMAddr[(romptr + index)];
9904 /* romptr = SISGETROMW(0x114); */
9906 romptr = SISGETROMW(0x11a);
9907 if(!romptr) return;
9908 delay = ROMAddr[romptr + index];
9941 romptr = GetTVromptr(SiS_Pr);
9942 if(!romptr) return;
9943 delay = ROMAddr[romptr + index];
10016 unsigned short index,temp,temp1,romptr=0;
10033 romptr = SISGETROMW(0x260);
10035 romptr = SISGETROMW(0x360);
10038 romptr = SISGETROMW(0x192);
10040 romptr = SISGETROMW(0x112);
10044 if(romptr) {
10046 temp = ROMAddr[romptr + temp1 + index];
10059 unsigned short index,temp,temp1,romptr=0;
10070 romptr = SISGETROMW(0x26c);
10072 romptr = SISGETROMW(0x36c);
10077 romptr = SISGETROMW(0x1a4);
10079 romptr = SISGETROMW(0x124);
10083 if(romptr) {
10085 temp = ROMAddr[romptr + temp1 + index];
10129 unsigned short index,temp,i,j,resinfo,romptr=0;
10160 romptr = SISGETROMW(0x116);
10162 romptr = SISGETROMW(0x196);
10165 romptr = SISGETROMW(0x11c);
10167 romptr = SISGETROMW(0x19c);
10170 romptr = SISGETROMW(0x116);
10172 romptr = SISGETROMW(0x196);
10177 if(romptr) {
10178 romptr += (temp << 2);
10180 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
10217 unsigned short delay = 0, romptr = 0, index, lcdpdcindex;
10242 romptr = SISGETROMW(0x104);
10243 delay = ROMAddr[romptr + index];
10270 if((romptr = SISGETROMW(0x35e))) {
10271 delay = (ROMAddr[romptr + index] & 0x0f) << 1;
10297 romptr = SISGETROMW(0x106);
10298 if(SiS_Pr->SiS_VBType & VB_UMC) romptr += 12;
10299 delay = ROMAddr[romptr + index];
10310 ((romptr = GetLCDStructPtr661_2(SiS_Pr))) ) {
10315 delay = ROMAddr[romptr + lcdpdcindex + 1]; /* LCD */
10316 delay |= (ROMAddr[romptr + lcdpdcindex] << 8); /* LCDA */
10421 unsigned short romptr, temp1, temp2;
10435 if((romptr = GetLCDStructPtr661_2(SiS_Pr))) {
10437 temp1 = (ROMAddr[romptr] & 0x03) | 0x0c;
10446 temp1 = (ROMAddr[romptr + 1] & 0x80) >> 1;
10752 unsigned short tempbx=0,romptr=0;
10775 romptr = SISGETROMW(0x255);
10776 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
10789 romptr = SISGETROMW(0x255);
10790 if(romptr) tempbx = ROMAddr[romptr + SiS_Pr->SiS_LCDTypeInfo];
10814 unsigned short index,temp,romptr=0;
10821 romptr = SISGETROMW(0x24b);
10841 if(romptr) {
10842 romptr += (temp * 2);
10843 romptr = SISGETROMW(romptr);
10844 romptr += index;
10845 temp = ROMAddr[romptr];
10855 if(romptr) {
10856 romptr += (temp * 2);
10857 romptr = SISGETROMW(romptr);
10858 romptr += index;
10859 temp = ROMAddr[romptr];
10865 romptr = ROMAddr[0x249] | (ROMAddr[0x24a] << 8);
10866 if(romptr) {
10867 romptr += (temp * 2);
10868 romptr = SISGETROMW(romptr);
10869 romptr += index;
10870 temp = ROMAddr[romptr];
10910 unsigned short index,temp,romptr=0;
10915 romptr = SISGETROMW(0x241);
10922 if(romptr) {
10923 romptr += (temp * 2);
10924 romptr = SISGETROMW(romptr);
10925 romptr += index;
10926 temp = ROMAddr[romptr];
10942 unsigned short index,temp,romptr=0;
10947 romptr = SISGETROMW(0x243);
10954 if(romptr) {
10955 romptr += (temp * 2);
10956 romptr = SISGETROMW(romptr);
10957 romptr += index;
10958 temp = ROMAddr[romptr];
10970 unsigned short index,i,j,temp,romptr=0;
10979 romptr = SISGETROMW(0x245);
10991 if(romptr) {
10992 romptr += (temp * 2);
10993 romptr = SISGETROMW(romptr);
10994 romptr += (index * 4);
10996 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);
11010 unsigned short index,temp,i,j,romptr=0;
11017 romptr = SISGETROMW(0x247);
11036 if((romptr) && (!(SiS_Pr->SiS_TVMode & (TVSetPALM|TVSetPALN)))) {
11037 romptr += (temp * 2);
11038 romptr = SISGETROMW(romptr);
11039 romptr += (index * 4);
11041 SiS_SetReg(SiS_Pr->SiS_Part2Port,i,ROMAddr[romptr + j]);