/linux-4.4.14/drivers/staging/xgifb/ |
H A D | vb_init.c | 78 xgifb_reg_set(P3c4, 0x18, 0x01); XGINew_DDR1x_MRS_340() 79 xgifb_reg_set(P3c4, 0x19, 0x20); XGINew_DDR1x_MRS_340() 80 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_340() 81 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_340() 84 xgifb_reg_set(P3c4, 0x18, 0x00); XGINew_DDR1x_MRS_340() 85 xgifb_reg_set(P3c4, 0x19, 0x20); XGINew_DDR1x_MRS_340() 86 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_340() 87 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_340() 90 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_340() 91 xgifb_reg_set(P3c4, 0x19, 0x01); XGINew_DDR1x_MRS_340() 92 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_340() 93 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_340() 95 xgifb_reg_set(P3c4, 0x1B, 0x03); XGINew_DDR1x_MRS_340() 97 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_340() 98 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR1x_MRS_340() 99 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_340() 100 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_340() 101 xgifb_reg_set(P3c4, 0x1B, 0x00); XGINew_DDR1x_MRS_340() 106 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 109 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 112 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 116 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 119 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 122 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetMemoryClock() 137 xgifb_reg_set(P3d4, 0x97, pVBInfo->XGINew_CR97); /* CR97 */ XGINew_DDRII_Bootup_XG27() 141 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS2 */ XGINew_DDRII_Bootup_XG27() 142 xgifb_reg_set(P3c4, 0x19, 0x80); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 143 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 145 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 148 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS3 */ XGINew_DDRII_Bootup_XG27() 149 xgifb_reg_set(P3c4, 0x19, 0xC0); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 150 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 152 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 155 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS1 */ XGINew_DDRII_Bootup_XG27() 156 xgifb_reg_set(P3c4, 0x19, 0x40); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 157 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 159 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 162 xgifb_reg_set(P3c4, 0x18, 0x42); /* Set SR18 */ /* MRS, DLL Enable */ XGINew_DDRII_Bootup_XG27() 163 xgifb_reg_set(P3c4, 0x19, 0x0A); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 164 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 166 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 167 xgifb_reg_set(P3c4, 0x16, 0x80); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 169 xgifb_reg_set(P3c4, 0x1B, 0x04); /* Set SR1B */ XGINew_DDRII_Bootup_XG27() 171 xgifb_reg_set(P3c4, 0x1B, 0x00); /* Set SR1B */ XGINew_DDRII_Bootup_XG27() 173 xgifb_reg_set(P3c4, 0x18, 0x42); /* Set SR18 */ /* MRS, DLL Reset */ XGINew_DDRII_Bootup_XG27() 174 xgifb_reg_set(P3c4, 0x19, 0x08); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 175 xgifb_reg_set(P3c4, 0x16, 0x00); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 178 xgifb_reg_set(P3c4, 0x16, 0x83); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 181 xgifb_reg_set(P3c4, 0x18, 0x80); /* Set SR18 */ /* MRS, ODT */ XGINew_DDRII_Bootup_XG27() 182 xgifb_reg_set(P3c4, 0x19, 0x46); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 183 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 185 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 188 xgifb_reg_set(P3c4, 0x18, 0x00); /* Set SR18 */ /* EMRS */ XGINew_DDRII_Bootup_XG27() 189 xgifb_reg_set(P3c4, 0x19, 0x40); /* Set SR19 */ XGINew_DDRII_Bootup_XG27() 190 xgifb_reg_set(P3c4, 0x16, 0x20); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 192 xgifb_reg_set(P3c4, 0x16, 0xA0); /* Set SR16 */ XGINew_DDRII_Bootup_XG27() 196 xgifb_reg_set(P3c4, 0x1B, 0x04); XGINew_DDRII_Bootup_XG27() 208 xgifb_reg_set(P3d4, 0x97, 0x11); /* CR97 */ XGINew_DDR2_MRS_XG20() 211 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS2 */ XGINew_DDR2_MRS_XG20() 212 xgifb_reg_set(P3c4, 0x19, 0x80); XGINew_DDR2_MRS_XG20() 213 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20() 214 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20() 216 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS3 */ XGINew_DDR2_MRS_XG20() 217 xgifb_reg_set(P3c4, 0x19, 0xC0); XGINew_DDR2_MRS_XG20() 218 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20() 219 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20() 221 xgifb_reg_set(P3c4, 0x18, 0x00); /* EMRS1 */ XGINew_DDR2_MRS_XG20() 222 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR2_MRS_XG20() 223 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20() 224 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20() 226 xgifb_reg_set(P3c4, 0x18, 0x42); /* MRS1 */ XGINew_DDR2_MRS_XG20() 227 xgifb_reg_set(P3c4, 0x19, 0x02); XGINew_DDR2_MRS_XG20() 228 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20() 229 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20() 232 xgifb_reg_set(P3c4, 0x1B, 0x04); /* SR1B */ XGINew_DDR2_MRS_XG20() 234 xgifb_reg_set(P3c4, 0x1B, 0x00); /* SR1B */ XGINew_DDR2_MRS_XG20() 237 xgifb_reg_set(P3c4, 0x18, 0x42); /* MRS1 */ XGINew_DDR2_MRS_XG20() 238 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR2_MRS_XG20() 239 xgifb_reg_set(P3c4, 0x16, 0x05); XGINew_DDR2_MRS_XG20() 240 xgifb_reg_set(P3c4, 0x16, 0x85); XGINew_DDR2_MRS_XG20() 248 xgifb_reg_set(P3c4, 0x18, 0x01); XGINew_DDR1x_MRS_XG20() 249 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR1x_MRS_XG20() 250 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_XG20() 251 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_XG20() 254 xgifb_reg_set(P3c4, 0x18, 0x00); XGINew_DDR1x_MRS_XG20() 255 xgifb_reg_set(P3c4, 0x19, 0x40); XGINew_DDR1x_MRS_XG20() 256 xgifb_reg_set(P3c4, 0x16, 0x00); XGINew_DDR1x_MRS_XG20() 257 xgifb_reg_set(P3c4, 0x16, 0x80); XGINew_DDR1x_MRS_XG20() 259 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_XG20() 260 xgifb_reg_set(P3c4, 0x19, 0x01); XGINew_DDR1x_MRS_XG20() 261 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_XG20() 262 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_XG20() 264 xgifb_reg_set(P3c4, 0x1B, 0x03); XGINew_DDR1x_MRS_XG20() 266 xgifb_reg_set(P3c4, 0x18, pVBInfo->SR18[pVBInfo->ram_type]); /* SR18 */ XGINew_DDR1x_MRS_XG20() 267 xgifb_reg_set(P3c4, 0x19, 0x00); XGINew_DDR1x_MRS_XG20() 268 xgifb_reg_set(P3c4, 0x16, 0x03); XGINew_DDR1x_MRS_XG20() 269 xgifb_reg_set(P3c4, 0x16, 0x83); XGINew_DDR1x_MRS_XG20() 270 xgifb_reg_set(P3c4, 0x1B, 0x00); XGINew_DDR1x_MRS_XG20() 281 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 284 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 287 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 291 xgifb_reg_set(P3d4, 0x98, 0x01); XGINew_DDR1x_DefaultRegister() 292 xgifb_reg_set(P3d4, 0x9A, 0x02); XGINew_DDR1x_DefaultRegister() 301 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 305 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 309 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 314 xgifb_reg_set(P3d4, 0x82, 0x88); XGINew_DDR1x_DefaultRegister() 315 xgifb_reg_set(P3d4, 0x86, 0x00); XGINew_DDR1x_DefaultRegister() 318 xgifb_reg_set(P3d4, 0x86, 0x88); XGINew_DDR1x_DefaultRegister() 320 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 323 xgifb_reg_set(P3d4, 0x82, 0x77); XGINew_DDR1x_DefaultRegister() 324 xgifb_reg_set(P3d4, 0x85, 0x00); XGINew_DDR1x_DefaultRegister() 328 xgifb_reg_set(P3d4, 0x85, 0x88); XGINew_DDR1x_DefaultRegister() 333 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 337 xgifb_reg_set(P3d4, XGINew_DDR1x_DefaultRegister() 343 xgifb_reg_set(P3d4, 0x97, 0x00); XGINew_DDR1x_DefaultRegister() 344 xgifb_reg_set(P3d4, 0x98, 0x01); XGINew_DDR1x_DefaultRegister() 345 xgifb_reg_set(P3d4, 0x9A, 0x02); XGINew_DDR1x_DefaultRegister() 358 xgifb_reg_set(P3d4, 0x82, 0x77); XGINew_DDR2_DefaultRegister() 359 xgifb_reg_set(P3d4, 0x86, 0x00); XGINew_DDR2_DefaultRegister() 361 xgifb_reg_set(P3d4, 0x86, 0x88); XGINew_DDR2_DefaultRegister() 364 xgifb_reg_set(P3d4, 0x86, pVBInfo->CR40[13][pVBInfo->ram_type]); XGINew_DDR2_DefaultRegister() 365 xgifb_reg_set(P3d4, 0x82, 0x77); XGINew_DDR2_DefaultRegister() 366 xgifb_reg_set(P3d4, 0x85, 0x00); XGINew_DDR2_DefaultRegister() 368 xgifb_reg_set(P3d4, 0x85, 0x88); XGINew_DDR2_DefaultRegister() 370 xgifb_reg_set(P3d4, XGINew_DDR2_DefaultRegister() 375 xgifb_reg_set(P3d4, 0x82, pVBInfo->CR40[11][pVBInfo->ram_type]); XGINew_DDR2_DefaultRegister() 377 xgifb_reg_set(P3d4, 0x82, 0xA8); /* CR82 */ XGINew_DDR2_DefaultRegister() 379 xgifb_reg_set(P3d4, 0x98, 0x01); XGINew_DDR2_DefaultRegister() 380 xgifb_reg_set(P3d4, 0x9A, 0x02); XGINew_DDR2_DefaultRegister() 394 xgifb_reg_set(P3d4, reg, temp2); XGI_SetDRAM_Helper() 409 xgifb_reg_set(P3d4, 0x6D, pVBInfo->CR40[8][pVBInfo->ram_type]); XGINew_SetDRAMDefaultRegister340() 410 xgifb_reg_set(P3d4, 0x68, pVBInfo->CR40[5][pVBInfo->ram_type]); XGINew_SetDRAMDefaultRegister340() 411 xgifb_reg_set(P3d4, 0x69, pVBInfo->CR40[6][pVBInfo->ram_type]); XGINew_SetDRAMDefaultRegister340() 412 xgifb_reg_set(P3d4, 0x6A, pVBInfo->CR40[7][pVBInfo->ram_type]); XGINew_SetDRAMDefaultRegister340() 429 xgifb_reg_set(P3d4, XGINew_SetDRAMDefaultRegister340() 432 xgifb_reg_set(P3d4, XGINew_SetDRAMDefaultRegister340() 443 xgifb_reg_set(P3d4, 0x89, temp2); XGINew_SetDRAMDefaultRegister340() 449 xgifb_reg_set(P3d4, 0x45, temp1); /* CR45 */ XGINew_SetDRAMDefaultRegister340() 450 xgifb_reg_set(P3d4, 0x99, temp2); /* CR99 */ XGINew_SetDRAMDefaultRegister340() 452 xgifb_reg_set(P3d4, XGINew_SetDRAMDefaultRegister340() 457 xgifb_reg_set(P3d4, 0x8F, XG27_CR8F); /* CR8F */ XGINew_SetDRAMDefaultRegister340() 460 xgifb_reg_set(P3d4, (0x90 + j), XGINew_SetDRAMDefaultRegister340() 464 xgifb_reg_set(P3d4, (0xC3 + j), XGINew_SetDRAMDefaultRegister340() 468 xgifb_reg_set(P3d4, (0x8A + j), XGINew_SetDRAMDefaultRegister340() 472 xgifb_reg_set(P3d4, 0x8C, 0x87); XGINew_SetDRAMDefaultRegister340() 474 xgifb_reg_set(P3d4, XGINew_SetDRAMDefaultRegister340() 478 xgifb_reg_set(P3d4, 0x83, 0x09); /* CR83 */ XGINew_SetDRAMDefaultRegister340() 479 xgifb_reg_set(P3d4, 0x87, 0x00); /* CR87 */ XGINew_SetDRAMDefaultRegister340() 480 xgifb_reg_set(P3d4, 0xCF, XG40_CRCF); /* CRCF */ XGINew_SetDRAMDefaultRegister340() 482 xgifb_reg_set(P3c4, 0x17, 0x80); /* SR17 DDRII */ XGINew_SetDRAMDefaultRegister340() 484 xgifb_reg_set(P3c4, 0x17, 0x02); /* SR17 DDRII */ XGINew_SetDRAMDefaultRegister340() 487 xgifb_reg_set(P3c4, 0x17, 0x00); /* SR17 DDR */ XGINew_SetDRAMDefaultRegister340() 489 xgifb_reg_set(P3c4, 0x1A, 0x87); /* SR1A */ XGINew_SetDRAMDefaultRegister340() 495 xgifb_reg_set(P3d4, 0xB0, 0x80); /* DDRII Dual frequency mode */ XGINew_SetDRAMDefaultRegister340() 498 xgifb_reg_set(P3c4, 0x1B, 0x03); /* SR1B */ XGINew_SetDRAMDefaultRegister340() 530 xgifb_reg_set(pVBInfo->P3c4, XGINew_SetDRAMSize20Reg() 600 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel() 601 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x52); XGINew_CheckChannel() 610 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 613 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 629 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel() 630 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x41); XGINew_CheckChannel() 635 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 646 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel() 648 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x41); XGINew_CheckChannel() 657 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 661 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 677 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xB1); XGINew_CheckChannel() 679 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x30); XGINew_CheckChannel() 686 xgifb_reg_set(pVBInfo->P3c4, XGINew_CheckChannel() 697 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x51); /* 32Mx16 bit*/ XGINew_CheckChannel() 710 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel() 711 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x44); XGINew_CheckChannel() 716 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel() 717 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x34); XGINew_CheckChannel() 722 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel() 723 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x40); XGINew_CheckChannel() 727 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel() 728 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x30); XGINew_CheckChannel() 732 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel() 733 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x52); XGINew_CheckChannel() 737 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel() 738 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x42); XGINew_CheckChannel() 748 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel() 749 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x4C); XGINew_CheckChannel() 755 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x48); XGINew_CheckChannel() 760 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel() 761 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x3C); XGINew_CheckChannel() 767 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x38); XGINew_CheckChannel() 772 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0xA1); XGINew_CheckChannel() 773 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x5A); XGINew_CheckChannel() 777 xgifb_reg_set(pVBInfo->P3c4, 0x13, 0x21); XGINew_CheckChannel() 778 xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x4A); XGINew_CheckChannel() 791 xgifb_reg_set(pVBInfo->P3c4, 0x15, 0x00); /* noninterleaving */ XGINew_DDRSizing340() 792 xgifb_reg_set(pVBInfo->P3c4, 0x1C, 0x00); /* nontiling */ XGINew_DDRSizing340() 838 xgifb_reg_set(pVBInfo->P3c4, 0x21, (unsigned short)(data & 0xDF)); XGINew_SetDRAMSize_340() 844 xgifb_reg_set(pVBInfo->P3c4, 0x21, (unsigned short)(data | 0x20)); XGINew_SetDRAMSize_340() 977 xgifb_reg_set(pVBInfo->P3d4, 0x3d, (tempbx & 0x00FF)); XGINew_ChkSenseStatus() 978 xgifb_reg_set(pVBInfo->P3d4, 0x3e, ((tempbx & 0xFF00) >> 8)); XGINew_ChkSenseStatus() 1044 xgifb_reg_set(pVBInfo->P3d4, 0x30, tempcl); XGINew_SetModeScratch() 1053 xgifb_reg_set(pVBInfo->P3d4, 0x31, CR31Data); XGINew_SetModeScratch() 1058 xgifb_reg_set(pVBInfo->P3d4, 0x38, CR38Data); XGINew_SetModeScratch() 1122 xgifb_reg_set(pVBInfo->P3d4, 0x4A, bCR4A); XGINew_GetXG27Sense() 1127 xgifb_reg_set(pVBInfo->P3d4, 0x30, 0x21); XGINew_GetXG27Sense() 1150 xgifb_reg_set(pVBInfo->P3d4, 0x4A, CR4A); GetXG21FPBits() 1166 xgifb_reg_set(pVBInfo->P3d4, 0x4A, CR4A); GetXG27FPBits() 1201 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGIInitNew() 1213 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew() 1216 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew() 1219 xgifb_reg_set(pVBInfo->P3c4, i, 0); XGIInitNew() 1223 xgifb_reg_set(pVBInfo->P3c4, 0x3B, 0xC0); XGIInitNew() 1226 xgifb_reg_set(pVBInfo->P3d4, i, 0); XGIInitNew() 1229 xgifb_reg_set(pVBInfo->P3d4, 0x97, pVBInfo->XGINew_CR97); XGIInitNew() 1232 xgifb_reg_set(pVBInfo->P3c4, 0x07, XGI330_SR07); XGIInitNew() 1234 xgifb_reg_set(pVBInfo->P3c4, 0x40, XG27_SR40); XGIInitNew() 1235 xgifb_reg_set(pVBInfo->P3c4, 0x41, XG27_SR41); XGIInitNew() 1237 xgifb_reg_set(pVBInfo->P3c4, 0x11, 0x0F); XGIInitNew() 1238 xgifb_reg_set(pVBInfo->P3c4, 0x1F, XGI330_SR1F); XGIInitNew() 1240 xgifb_reg_set(pVBInfo->P3c4, 0x20, 0xA0); XGIInitNew() 1242 xgifb_reg_set(pVBInfo->P3c4, 0x36, 0x70); XGIInitNew() 1244 xgifb_reg_set(pVBInfo->P3c4, 0x36, XG27_SR36); XGIInitNew() 1251 xgifb_reg_set(pVBInfo->P3d4, XGIInitNew() 1256 xgifb_reg_set(pVBInfo->P3d4, XGIInitNew() 1261 xgifb_reg_set(pVBInfo->P3d4, XGIInitNew() 1270 xgifb_reg_set(pVBInfo->P3d4, 0x48, 0x20); /* CR48 */ XGIInitNew() 1274 xgifb_reg_set(pVBInfo->P3c4, 0x23, XGI330_SR23); XGIInitNew() 1275 xgifb_reg_set(pVBInfo->P3c4, 0x24, XGI330_SR24); XGIInitNew() 1276 xgifb_reg_set(pVBInfo->P3c4, 0x25, 0); XGIInitNew() 1283 xgifb_reg_set(pVBInfo->Part1Port, 0x00, 0x00); XGIInitNew() 1287 xgifb_reg_set(pVBInfo->Part1Port, XGIInitNew() 1290 xgifb_reg_set(pVBInfo->Part1Port, 0x2E, 0x08); /* use VB */ XGIInitNew() 1293 xgifb_reg_set(pVBInfo->P3c4, 0x27, 0x1F); XGIInitNew() 1298 xgifb_reg_set(pVBInfo->P3c4, XGIInitNew() 1301 xgifb_reg_set(pVBInfo->P3c4, XGIInitNew() 1305 xgifb_reg_set(pVBInfo->P3c4, 0x31, XGI330_SR31); XGIInitNew() 1306 xgifb_reg_set(pVBInfo->P3c4, 0x32, XGI330_SR32); XGIInitNew() 1308 xgifb_reg_set(pVBInfo->P3c4, 0x33, XGI330_SR33); XGIInitNew() 1312 xgifb_reg_set(pVBInfo->Part2Port, 0x00, 0x1C); XGIInitNew() 1313 xgifb_reg_set(pVBInfo->Part4Port, XGIInitNew() 1315 xgifb_reg_set(pVBInfo->Part4Port, XGIInitNew() 1317 xgifb_reg_set(pVBInfo->Part4Port, XGIInitNew() 1319 xgifb_reg_set(pVBInfo->Part4Port, 0x0F, 0x3F); XGIInitNew() 1351 xgifb_reg_set(pVBInfo->P3c4, 0x22, 0xfa); XGIInitNew() 1352 xgifb_reg_set(pVBInfo->P3c4, 0x21, 0xa3); XGIInitNew() 1357 xgifb_reg_set(pVBInfo->P3d4, 0x8c, 0x87); XGIInitNew()
|
H A D | vb_util.h | 3 static inline void xgifb_reg_set(unsigned long port, u8 index, u8 data) xgifb_reg_set() function 22 xgifb_reg_set(port, index, temp); xgifb_reg_and_or() 31 xgifb_reg_set(port, index, temp); xgifb_reg_and() 40 xgifb_reg_set(port, index, temp); xgifb_reg_or()
|
H A D | vb_setmode.c | 71 xgifb_reg_set(pVBInfo->P3c4, 0x00, 0x03); /* Set SR0 */ XGI_SetSeqRegs() 77 xgifb_reg_set(pVBInfo->P3c4, i+1, SRdata); /* Set SR 1 2 3 4 */ XGI_SetSeqRegs() 88 xgifb_reg_set(pVBInfo->P3d4, 0x11, CRTCdata); /* Unlock CRTC */ XGI_SetCRTCRegs() 93 xgifb_reg_set(pVBInfo->P3d4, i, CRTCdata); /* Set CRTC(3d4) */ XGI_SetCRTCRegs() 138 xgifb_reg_set(pVBInfo->P3ce, i, GRdata); /* Set GR(3ce) */ XGI_SetGRCRegs() 144 xgifb_reg_set(pVBInfo->P3ce, 0x05, GRdata); XGI_SetGRCRegs() 153 xgifb_reg_set(pVBInfo->P3c4, i, 0x00); /* Clear SR0A-SR0E */ XGI_ClearExt1Regs() 160 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[0].SR2B); XGI_SetDefaultVCLK() 161 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[0].SR2C); XGI_SetDefaultVCLK() 164 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[1].SR2B); XGI_SetDefaultVCLK() 165 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[1].SR2C); XGI_SetDefaultVCLK() 270 xgifb_reg_set(pVBInfo->P3d4, 0x11, data); XGI_SetCRT1Timing_H() 273 xgifb_reg_set(pVBInfo->P3d4, 0, data); XGI_SetCRT1Timing_H() 277 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 1), data); XGI_SetCRT1Timing_H() 282 xgifb_reg_set(pVBInfo->P3c4, (unsigned short) (i + 6), data); XGI_SetCRT1Timing_H() 290 xgifb_reg_set(pVBInfo->P3c4, 0x0e, data); XGI_SetCRT1Timing_H() 295 xgifb_reg_set(pVBInfo->P3d4, 0x04, data); XGI_SetCRT1Timing_H() 304 xgifb_reg_set(pVBInfo->P3c4, 0x0c, data); XGI_SetCRT1Timing_H() 309 xgifb_reg_set(pVBInfo->P3d4, 0x05, data); XGI_SetCRT1Timing_H() 328 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 6), data); XGI_SetCRT1Timing_V() 333 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 0x0e), data); XGI_SetCRT1Timing_V() 338 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 0x11), data); XGI_SetCRT1Timing_V() 346 xgifb_reg_set(pVBInfo->P3c4, 0x0a, data); XGI_SetCRT1Timing_V() 360 xgifb_reg_set(pVBInfo->P3d4, 0x09, data); XGI_SetCRT1Timing_V() 377 xgifb_reg_set(pVBInfo->P3d4, 0x11, data); /* Unlock CRTC */ XGI_SetCRT1CRTC() 392 xgifb_reg_set(pVBInfo->P3d4, 0x14, 0x4F); XGI_SetCRT1CRTC() 412 xgifb_reg_set(pVBInfo->P3c4, 0x2E, Tempax); XGI_SetXG21CRTC() 441 xgifb_reg_set(pVBInfo->P3c4, 0x2F, Tempax); XGI_SetXG21CRTC() 455 xgifb_reg_set(pVBInfo->P3c4, 0x34, Tempcx); /* SR34[8:1]->VRS */ XGI_SetXG21CRTC() 494 xgifb_reg_set(pVBInfo->P3c4, 0x3F, Tempax); XGI_SetXG21CRTC() 507 xgifb_reg_set(pVBInfo->P3c4, 0x2E, Tempax); XGI_SetXG27CRTC() 537 xgifb_reg_set(pVBInfo->P3c4, 0x2F, Tempax); XGI_SetXG27CRTC() 543 xgifb_reg_set(pVBInfo->P3c4, 0x34, Tempax); XGI_SetXG27CRTC() 604 xgifb_reg_set(pVBInfo->P3d4, 0x2E, 0x00); xgifb_set_lcd() 605 xgifb_reg_set(pVBInfo->P3d4, 0x2F, 0x00); xgifb_set_lcd() 606 xgifb_reg_set(pVBInfo->P3d4, 0x46, 0x00); xgifb_set_lcd() 607 xgifb_reg_set(pVBInfo->P3d4, 0x47, 0x00); xgifb_set_lcd() 612 xgifb_reg_set(pVBInfo->P3d4, 0x46, 0x13); xgifb_set_lcd() 613 xgifb_reg_set(pVBInfo->P3d4, 0x47, 0x13); xgifb_set_lcd() 670 xgifb_reg_set(pVBInfo->P3d4, 0x02, XGI_UpdateXG21CRTC() 672 xgifb_reg_set(pVBInfo->P3d4, 0x03, XGI_UpdateXG21CRTC() 674 xgifb_reg_set(pVBInfo->P3d4, 0x15, XGI_UpdateXG21CRTC() 676 xgifb_reg_set(pVBInfo->P3d4, 0x16, XGI_UpdateXG21CRTC() 718 xgifb_reg_set(pVBInfo->P3d4, 0x11, data); /* Unlock CRTC */ XGI_SetCRT1DE() 719 xgifb_reg_set(pVBInfo->P3d4, 0x01, (unsigned short) (tempcx & 0xff)); XGI_SetCRT1DE() 722 xgifb_reg_set(pVBInfo->P3d4, 0x12, (unsigned short) (tempbx & 0xff)); XGI_SetCRT1DE() 740 xgifb_reg_set(pVBInfo->P3d4, 0x11, temp); XGI_SetCRT1DE() 800 xgifb_reg_set(pVBInfo->P3c4, 0x0E, i); XGI_SetCRT1Offset() 804 xgifb_reg_set(pVBInfo->P3d4, 0x13, temp); XGI_SetCRT1Offset() 824 xgifb_reg_set(pVBInfo->P3c4, 0x10, ah); XGI_SetCRT1Offset() 891 xgifb_reg_set(pVBInfo->P3c4, 0x31, data); XGI_SetCRT1VCLK() 893 xgifb_reg_set(pVBInfo->P3c4, 0x2B, data); XGI_SetCRT1VCLK() 895 xgifb_reg_set(pVBInfo->P3c4, 0x2C, data); XGI_SetCRT1VCLK() 896 xgifb_reg_set(pVBInfo->P3c4, 0x2D, 0x01); XGI_SetCRT1VCLK() 900 xgifb_reg_set(pVBInfo->P3c4, 0x31, data); XGI_SetCRT1VCLK() 901 xgifb_reg_set(pVBInfo->P3c4, 0x2B, XGI_VCLKData[index].SR2B); XGI_SetCRT1VCLK() 902 xgifb_reg_set(pVBInfo->P3c4, 0x2C, XGI_VCLKData[index].SR2C); XGI_SetCRT1VCLK() 903 xgifb_reg_set(pVBInfo->P3c4, 0x2D, 0x01); XGI_SetCRT1VCLK() 910 xgifb_reg_set(pVBInfo->P3c4, 0x2B, data); XGI_SetCRT1VCLK() 918 xgifb_reg_set(pVBInfo->P3c4, 0x2C, data); XGI_SetCRT1VCLK() 943 xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); /* disable auto-threshold */ XGI_SetCRT1FIFO() 945 xgifb_reg_set(pVBInfo->P3c4, 0x08, 0x34); XGI_SetCRT1FIFO() 948 xgifb_reg_set(pVBInfo->P3c4, 0x09, data | 0x30); XGI_SetCRT1FIFO() 951 xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); XGI_SetCRT1FIFO() 978 xgifb_reg_set(pVBInfo->P3c4, 0x32, data); XGI_SetVCLKState() 985 xgifb_reg_set(pVBInfo->P3c4, 0x1F, data); XGI_SetVCLKState() 1059 xgifb_reg_set(pVBInfo->P3d4, 0x52, data); XGI_SetCRT1ModeRegs() 1066 xgifb_reg_set(pVBInfo->P3d4, 0x52, data); XGI_SetCRT1ModeRegs() 1067 xgifb_reg_set(pVBInfo->P3d4, 0x51, 0x02); XGI_SetCRT1ModeRegs() 1073 xgifb_reg_set(pVBInfo->P3d4, 0x52, data); XGI_SetCRT1ModeRegs() 1444 xgifb_reg_set(pVBInfo->Part1Port, 0x1A, tempbx & 0x07); XGI_SetLVDSRegs() 1449 xgifb_reg_set(pVBInfo->Part1Port, 0x16, XGI_SetLVDSRegs() 1451 xgifb_reg_set(pVBInfo->Part1Port, 0x17, XGI_SetLVDSRegs() 1476 xgifb_reg_set(pVBInfo->Part1Port, 0x15, tempax); XGI_SetLVDSRegs() 1477 xgifb_reg_set(pVBInfo->Part1Port, 0x14, XGI_SetLVDSRegs() 1489 xgifb_reg_set(pVBInfo->Part1Port, 0x1b, XGI_SetLVDSRegs() 1491 xgifb_reg_set(pVBInfo->Part1Port, 0x1c, XGI_SetLVDSRegs() 1497 xgifb_reg_set(pVBInfo->Part1Port, 0x1d, XGI_SetLVDSRegs() 1513 xgifb_reg_set(pVBInfo->Part1Port, 0x18, XGI_SetLVDSRegs() 1544 xgifb_reg_set(pVBInfo->Part1Port, 0x37, XGI_SetLVDSRegs() 1546 xgifb_reg_set(pVBInfo->Part1Port, 0x36, XGI_SetLVDSRegs() 1556 xgifb_reg_set(pVBInfo->Part1Port, 0x35, tempax); XGI_SetLVDSRegs() 1560 xgifb_reg_set(pVBInfo->Part4Port, XGI_SetLVDSRegs() 1563 xgifb_reg_set(pVBInfo->Part4Port, XGI_SetLVDSRegs() 1602 xgifb_reg_set(pVBInfo->Part1Port, 0x1f, tempax); XGI_SetLVDSRegs() 1613 xgifb_reg_set(pVBInfo->Part1Port, 0x20, XGI_SetLVDSRegs() 1615 xgifb_reg_set(pVBInfo->Part1Port, 0x21, XGI_SetLVDSRegs() 1623 xgifb_reg_set(pVBInfo->Part1Port, 0x22, XGI_SetLVDSRegs() 1625 xgifb_reg_set(pVBInfo->Part1Port, 0x23, XGI_SetLVDSRegs() 1752 xgifb_reg_set(pVBInfo->P3c4, 0x2e, di_0); XGI_SetCRT2ECLK() 1753 xgifb_reg_set(pVBInfo->P3c4, 0x2f, di_1); XGI_SetCRT2ECLK() 1755 xgifb_reg_set(pVBInfo->P3c4, 0x2b, di_0); XGI_SetCRT2ECLK() 1756 xgifb_reg_set(pVBInfo->P3c4, 0x2c, di_1); XGI_SetCRT2ECLK() 1841 xgifb_reg_set(pVBInfo->P3d4, 0x3e, tempch); XGI_UpdateModeInfo() 2202 xgifb_reg_set(pVBInfo->P3d4, 0x4A, CR4A); XGI_XG21GetPSCValue() 2223 xgifb_reg_set(pVBInfo->P3d4, 0x4A, CR4A); XGI_XG27GetPSCValue() 2261 xgifb_reg_set(pVBInfo->P3d4, 0x48, temp); XGI_XG21BLSignalVDD() 2393 xgifb_reg_set(pVBInfo->P3d4, 0x34, ModeNo); XGI_SaveCRT2Info() 2695 xgifb_reg_set(pVBInfo->Part4Port, 0x0A, 0x10); XGI_SetCRT2VCLK() 2696 xgifb_reg_set(pVBInfo->Part4Port, 0x0B, di_1); XGI_SetCRT2VCLK() 2697 xgifb_reg_set(pVBInfo->Part4Port, 0x0A, di_0); XGI_SetCRT2VCLK() 2699 xgifb_reg_set(pVBInfo->Part4Port, 0x0A, di_0); XGI_SetCRT2VCLK() 2700 xgifb_reg_set(pVBInfo->Part4Port, 0x0B, di_1); XGI_SetCRT2VCLK() 2703 xgifb_reg_set(pVBInfo->Part4Port, 0x00, 0x12); XGI_SetCRT2VCLK() 2768 xgifb_reg_set(pVBInfo->Part1Port, 0x07, temp); XGI_SetCRT2Offset() 2770 xgifb_reg_set(pVBInfo->Part1Port, 0x09, temp); XGI_SetCRT2Offset() 2772 xgifb_reg_set(pVBInfo->Part1Port, 0x03, temp); XGI_SetCRT2Offset() 2778 xgifb_reg_set(pVBInfo->Part1Port, 0x01, 0x3B); XGI_SetCRT2FIFO() 2793 xgifb_reg_set(pVBInfo->Part1Port, tempcx, 0x0); XGI_PreSetGroup1() 2795 xgifb_reg_set(pVBInfo->Part1Port, 0x50, 0x00); XGI_PreSetGroup1() 2796 xgifb_reg_set(pVBInfo->Part1Port, 0x02, 0x44); /* temp 0206 */ XGI_PreSetGroup1() 2814 xgifb_reg_set(pVBInfo->Part1Port, 0x08, temp); XGI_SetGroup1() 2819 xgifb_reg_set(pVBInfo->Part1Port, 0x0A, temp); XGI_SetGroup1() 2846 xgifb_reg_set(pVBInfo->Part1Port, 0x0B, temp); XGI_SetGroup1() 2849 xgifb_reg_set(pVBInfo->Part1Port, 0x08, temp); XGI_SetGroup1() 2854 xgifb_reg_set(pVBInfo->Part1Port, 0x0A, temp); XGI_SetGroup1() 2879 xgifb_reg_set(pVBInfo->Part1Port, 0x0B, temp); XGI_SetGroup1() 2887 xgifb_reg_set(pVBInfo->Part1Port, 0x0C, temp); XGI_SetGroup1() 2889 xgifb_reg_set(pVBInfo->Part1Port, 0x0D, temp); XGI_SetGroup1() 2893 xgifb_reg_set(pVBInfo->Part1Port, 0x0E, temp); XGI_SetGroup1() 2896 xgifb_reg_set(pVBInfo->Part1Port, 0x0F, temp); XGI_SetGroup1() 2899 xgifb_reg_set(pVBInfo->Part1Port, 0x12, temp); XGI_SetGroup1() 2926 xgifb_reg_set(pVBInfo->Part1Port, 0x10, temp); XGI_SetGroup1() 2929 xgifb_reg_set(pVBInfo->Part1Port, 0x11, temp); XGI_SetGroup1() 2967 xgifb_reg_set(pVBInfo->Part1Port, 0x03, temp); XGI_SetLockRegs() 2981 xgifb_reg_set(pVBInfo->Part1Port, 0x04, temp); XGI_SetLockRegs() 2996 xgifb_reg_set(pVBInfo->Part1Port, 0x05, temp); XGI_SetLockRegs() 2998 xgifb_reg_set(pVBInfo->Part1Port, 0x06, 0x03); XGI_SetLockRegs() 3052 xgifb_reg_set(pVBInfo->Part1Port, 0x07, temp); XGI_SetLockRegs() 3054 xgifb_reg_set(pVBInfo->Part1Port, 0x08, 0); XGI_SetLockRegs() 3060 xgifb_reg_set(pVBInfo->Part1Port, XGI_SetLockRegs() 3062 xgifb_reg_set(pVBInfo->Part1Port, XGI_SetLockRegs() 3065 xgifb_reg_set(pVBInfo->Part1Port, XGI_SetLockRegs() 3067 xgifb_reg_set(pVBInfo->Part1Port, XGI_SetLockRegs() 3074 xgifb_reg_set(pVBInfo->Part1Port, 0x18, 0x03); /* 0x18 SR0B */ XGI_SetLockRegs() 3076 xgifb_reg_set(pVBInfo->Part1Port, 0x09, 0xFF); /* 0x09 Set Max VT */ XGI_SetLockRegs() 3110 xgifb_reg_set(pVBInfo->Part1Port, 0x10, temp); XGI_SetLockRegs() 3114 xgifb_reg_set(pVBInfo->Part1Port, 0x0E, temp); XGI_SetLockRegs() 3128 xgifb_reg_set(pVBInfo->Part1Port, 0x0B, temp); XGI_SetLockRegs() 3134 xgifb_reg_set(pVBInfo->Part1Port, 0x11, 0x00); XGI_SetLockRegs() 3188 xgifb_reg_set(pVBInfo->Part1Port, 0x0C, temp); XGI_SetLockRegs() 3191 xgifb_reg_set(pVBInfo->Part1Port, 0x10, temp); XGI_SetLockRegs() 3214 xgifb_reg_set(pVBInfo->Part1Port, 0x0D, temp); XGI_SetLockRegs() 3220 xgifb_reg_set(pVBInfo->Part1Port, 0x0A, temp); /* 0x0A CR07 */ XGI_SetLockRegs() 3222 xgifb_reg_set(pVBInfo->Part1Port, 0x17, temp); /* 0x17 SR0A */ XGI_SetLockRegs() 3231 xgifb_reg_set(pVBInfo->Part1Port, 0x16, temp); /* 0x16 SR01 */ XGI_SetLockRegs() 3232 xgifb_reg_set(pVBInfo->Part1Port, 0x0F, 0); /* 0x0F CR14 */ XGI_SetLockRegs() 3233 xgifb_reg_set(pVBInfo->Part1Port, 0x12, 0); /* 0x12 CR17 */ XGI_SetLockRegs() 3240 xgifb_reg_set(pVBInfo->Part1Port, 0x1A, temp); /* 0x1A SR0E */ XGI_SetLockRegs() 3277 xgifb_reg_set(pVBInfo->Part2Port, 0x0, tempax); XGI_SetGroup2() 3308 xgifb_reg_set(pVBInfo->Part2Port, i, TimingPoint[j]); XGI_SetGroup2() 3312 xgifb_reg_set(pVBInfo->Part2Port, i, TimingPoint[j]); XGI_SetGroup2() 3348 xgifb_reg_set(pVBInfo->Part2Port, 0x01, temp); XGI_SetGroup2() 3366 xgifb_reg_set(pVBInfo->Part2Port, 0x02, temp); XGI_SetGroup2() 3377 xgifb_reg_set(pVBInfo->Part2Port, 0x1B, temp); XGI_SetGroup2() 3397 xgifb_reg_set(pVBInfo->Part2Port, 0x24, temp); XGI_SetGroup2() 3415 xgifb_reg_set(pVBInfo->Part2Port, 0x27, temp); XGI_SetGroup2() 3442 xgifb_reg_set(pVBInfo->Part2Port, 0x2E, temp); XGI_SetGroup2() 3480 xgifb_reg_set(pVBInfo->Part2Port, 0x2F, temp); XGI_SetGroup2() 3500 xgifb_reg_set(pVBInfo->Part2Port, 0x30, temp); XGI_SetGroup2() 3521 xgifb_reg_set(pVBInfo->Part4Port, 0x10, temp); XGI_SetGroup2() 3525 xgifb_reg_set(pVBInfo->Part2Port, 0x46, temp); XGI_SetGroup2() 3527 xgifb_reg_set(pVBInfo->Part2Port, 0x47, temp); XGI_SetGroup2() 3597 xgifb_reg_set(pVBInfo->Part2Port, 0x44, temp); XGI_SetGroup2() 3618 xgifb_reg_set(pVBInfo->Part2Port, 0x4b, temp); XGI_SetGroup2() 3620 xgifb_reg_set(pVBInfo->Part2Port, 0x4c, temp); XGI_SetGroup2() 3636 xgifb_reg_set(pVBInfo->Part2Port, 0x4d, temp); XGI_SetGroup2() 3638 xgifb_reg_set(pVBInfo->Part2Port, 0x43, (unsigned short) (temp - 3)); XGI_SetGroup2() 3644 xgifb_reg_set(pVBInfo->Part2Port, i, XGI_SetGroup2() 3647 xgifb_reg_set(pVBInfo->Part2Port, 0x43, 0x72); XGI_SetGroup2() 3668 xgifb_reg_set(pVBInfo->Part2Port, 0x0B, 0x00); XGI_SetGroup2() 3691 xgifb_reg_set(pVBInfo->Part2Port, 0x2C, temp); XGI_SetLCDRegs() 3697 xgifb_reg_set(pVBInfo->Part2Port, 0x0B, temp); XGI_SetLCDRegs() 3701 xgifb_reg_set(pVBInfo->Part2Port, 0x03, temp); XGI_SetLCDRegs() 3707 xgifb_reg_set(pVBInfo->Part2Port, 0x19, temp); XGI_SetLCDRegs() 3710 xgifb_reg_set(pVBInfo->Part2Port, 0x1A, temp); XGI_SetLCDRegs() 3760 xgifb_reg_set(pVBInfo->Part2Port, 0x05, temp); XGI_SetLCDRegs() 3762 xgifb_reg_set(pVBInfo->Part2Port, 0x06, temp); XGI_SetLCDRegs() 3768 xgifb_reg_set(pVBInfo->Part2Port, 0x02, tempah); XGI_SetLCDRegs() 3781 xgifb_reg_set(pVBInfo->Part2Port, 0x04, temp); XGI_SetLCDRegs() 3785 xgifb_reg_set(pVBInfo->Part2Port, 0x01, temp); XGI_SetLCDRegs() 3809 xgifb_reg_set(pVBInfo->Part2Port, 0x1F, temp); /* RHBLKE=lcdhdes */ XGI_SetLCDRegs() 3811 xgifb_reg_set(pVBInfo->Part2Port, 0x20, temp); XGI_SetLCDRegs() 3813 xgifb_reg_set(pVBInfo->Part2Port, 0x23, temp); /* RHEQPLE=lcdhdee */ XGI_SetLCDRegs() 3815 xgifb_reg_set(pVBInfo->Part2Port, 0x25, temp); XGI_SetLCDRegs() 3836 xgifb_reg_set(pVBInfo->Part2Port, 0x1C, temp); XGI_SetLCDRegs() 3842 xgifb_reg_set(pVBInfo->Part2Port, 0x21, temp); XGI_SetLCDRegs() 3853 xgifb_reg_set(pVBInfo->Part2Port, 0x2f, temp); XGI_SetLCDRegs() 3854 xgifb_reg_set(pVBInfo->Part2Port, 0x30, 0xB3); XGI_SetLCDRegs() 3864 xgifb_reg_set(pVBInfo->Part2Port, 0x2f, temp); XGI_SetLCDRegs() 3926 xgifb_reg_set(pVBInfo->Part2Port, i, Tap4TimingPtr->Reg[j]); XGI_SetTap4Regs() 3933 xgifb_reg_set(pVBInfo->Part2Port, XGI_SetTap4Regs() 3957 xgifb_reg_set(pVBInfo->Part3Port, 0x00, 0x00); XGI_SetGroup3() 3959 xgifb_reg_set(pVBInfo->Part3Port, 0x13, 0xFA); XGI_SetGroup3() 3960 xgifb_reg_set(pVBInfo->Part3Port, 0x14, 0xC8); XGI_SetGroup3() 3962 xgifb_reg_set(pVBInfo->Part3Port, 0x13, 0xF5); XGI_SetGroup3() 3963 xgifb_reg_set(pVBInfo->Part3Port, 0x14, 0xB7); XGI_SetGroup3() 3970 xgifb_reg_set(pVBInfo->Part3Port, 0x13, 0xFA); XGI_SetGroup3() 3971 xgifb_reg_set(pVBInfo->Part3Port, 0x14, 0xC8); XGI_SetGroup3() 3972 xgifb_reg_set(pVBInfo->Part3Port, 0x3D, 0xA8); XGI_SetGroup3() 3994 xgifb_reg_set(pVBInfo->Part3Port, i, tempdi[i]); XGI_SetGroup3() 3998 xgifb_reg_set(pVBInfo->Part3Port, 0x28, 0x3f); XGI_SetGroup3() 4014 xgifb_reg_set(pVBInfo->Part4Port, 0x13, temp); XGI_SetGroup4() 4018 xgifb_reg_set(pVBInfo->Part4Port, 0x14, temp); XGI_SetGroup4() 4022 xgifb_reg_set(pVBInfo->Part4Port, 0x16, temp); XGI_SetGroup4() 4032 xgifb_reg_set(pVBInfo->Part4Port, 0x17, temp); XGI_SetGroup4() 4034 xgifb_reg_set(pVBInfo->Part4Port, 0x15, temp); XGI_SetGroup4() 4077 xgifb_reg_set(pVBInfo->Part4Port, 0x18, temp); XGI_SetGroup4() 4097 xgifb_reg_set(pVBInfo->Part4Port, 0x1B, temp); XGI_SetGroup4() 4100 xgifb_reg_set(pVBInfo->Part4Port, 0x1A, temp); XGI_SetGroup4() 4105 xgifb_reg_set(pVBInfo->Part4Port, 0x19, temp); XGI_SetGroup4() 4111 xgifb_reg_set(pVBInfo->Part4Port, 0x1C, temp); XGI_SetGroup4() 4132 xgifb_reg_set(pVBInfo->Part4Port, 0x1E, temp); XGI_SetGroup4() 4134 xgifb_reg_set(pVBInfo->Part4Port, 0x1D, temp); XGI_SetGroup4() 4163 xgifb_reg_set(pVBInfo->Part4Port, 0x22, temp); XGI_SetGroup4() 4302 xgifb_reg_set(pVBInfo->P3d4, 0x11, temp & 0x7f); /* Unlock CRTC */ xgifb_set_lvds() 4310 xgifb_reg_set(pVBInfo->P3d4, 0x0, (value & 0xFF)); xgifb_set_lvds() 4315 xgifb_reg_set(pVBInfo->P3d4, 0x2, (value & 0xFF)); xgifb_set_lvds() 4326 xgifb_reg_set(pVBInfo->P3d4, 0x4, (value & 0xFF)); xgifb_set_lvds() 4331 xgifb_reg_set(pVBInfo->P3c4, 0x2E, (value & 0xFF)); xgifb_set_lvds() 4347 xgifb_reg_set(pVBInfo->P3d4, 0x06, (value & 0xFF)); xgifb_set_lvds() 4354 xgifb_reg_set(pVBInfo->P3d4, 0x15, (value & 0xFF)); xgifb_set_lvds() 4359 xgifb_reg_set(pVBInfo->P3d4, 0x16, (value & 0xFF)); xgifb_set_lvds() 4366 xgifb_reg_set(pVBInfo->P3d4, 0x10, (value & 0xFF)); xgifb_set_lvds() 4372 xgifb_reg_set(pVBInfo->P3c4, 0x34, value & 0xFF); xgifb_set_lvds() 4377 xgifb_reg_set(pVBInfo->P3c4, 0x34, (value >> 1) & 0xFF); xgifb_set_lvds() 4398 xgifb_reg_set(pVBInfo->P3c4, xgifb_set_lvds() 4400 xgifb_reg_set(pVBInfo->P3c4, xgifb_set_lvds() 4500 xgifb_reg_set(pVBInfo->Part1Port, 0x00, tempah); XGI_DisableBridge() 4642 xgifb_reg_set(pVBInfo->Part1Port, 0x2D, tempah); XGI_SetDelayComp() 4716 xgifb_reg_set(pVBInfo->Part4Port, 0x31, SetSpectrum() 4718 xgifb_reg_set(pVBInfo->Part4Port, 0x32, SetSpectrum() 4720 xgifb_reg_set(pVBInfo->Part4Port, 0x33, SetSpectrum() 4722 xgifb_reg_set(pVBInfo->Part4Port, 0x34, SetSpectrum() 4739 xgifb_reg_set(pVBInfo->Part4Port, 0x24, XGI_SetLCDCap() 4811 xgifb_reg_set(pVBInfo->Part2Port, 0x31, (unsigned short) (tempData XGI_SetPhaseIncr() 4813 xgifb_reg_set(pVBInfo->Part2Port, 0x32, (unsigned short) ((tempData XGI_SetPhaseIncr() 4815 xgifb_reg_set(pVBInfo->Part2Port, 0x33, (unsigned short) ((tempData XGI_SetPhaseIncr() 4817 xgifb_reg_set(pVBInfo->Part2Port, 0x34, (unsigned short) ((tempData XGI_SetPhaseIncr() 4866 xgifb_reg_set(pVBInfo->Part2Port, 0x35, 0); XGI_SetYFilter() 4867 xgifb_reg_set(pVBInfo->Part2Port, 0x36, 0); XGI_SetYFilter() 4868 xgifb_reg_set(pVBInfo->Part2Port, 0x37, 0); XGI_SetYFilter() 4869 xgifb_reg_set(pVBInfo->Part2Port, 0x38, filterPtr[index++]); XGI_SetYFilter() 4871 xgifb_reg_set(pVBInfo->Part2Port, 0x35, filterPtr[index++]); XGI_SetYFilter() 4872 xgifb_reg_set(pVBInfo->Part2Port, 0x36, filterPtr[index++]); XGI_SetYFilter() 4873 xgifb_reg_set(pVBInfo->Part2Port, 0x37, filterPtr[index++]); XGI_SetYFilter() 4874 xgifb_reg_set(pVBInfo->Part2Port, 0x38, filterPtr[index++]); XGI_SetYFilter() 4879 xgifb_reg_set(pVBInfo->Part2Port, 0x48, filterPtr[index++]); XGI_SetYFilter() 4880 xgifb_reg_set(pVBInfo->Part2Port, 0x49, filterPtr[index++]); XGI_SetYFilter() 4881 xgifb_reg_set(pVBInfo->Part2Port, 0x4A, filterPtr[index++]); XGI_SetYFilter() 4945 xgifb_reg_set(pVBInfo->Part1Port, 0x00, tempah); XGI_SetCRT2ModeRegs() 5025 xgifb_reg_set(pVBInfo->Part4Port, 0x0C, tempah); XGI_SetCRT2ModeRegs() 5219 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGI_SenseCRT1() 5222 xgifb_reg_set(pVBInfo->P3d4, 0x57, 0x4A); XGI_SenseCRT1() 5223 xgifb_reg_set(pVBInfo->P3d4, 0x53, (xgifb_reg_get( XGI_SenseCRT1() 5230 xgifb_reg_set(pVBInfo->P3c4, 0x01, (unsigned char) (SR01 & 0xDF)); XGI_SenseCRT1() 5231 xgifb_reg_set(pVBInfo->P3d4, 0x63, (unsigned char) (CR63 & 0xBF)); XGI_SenseCRT1() 5234 xgifb_reg_set(pVBInfo->P3d4, 0x17, (unsigned char) (CR17 | 0x80)); XGI_SenseCRT1() 5237 xgifb_reg_set(pVBInfo->P3c4, 0x1F, (unsigned char) (SR1F | 0x04)); XGI_SenseCRT1() 5240 xgifb_reg_set(pVBInfo->P3c4, 0x07, (unsigned char) (SR07 & 0xFB)); XGI_SenseCRT1() 5242 xgifb_reg_set(pVBInfo->P3c4, 0x06, (unsigned char) (SR06 & 0xC3)); XGI_SenseCRT1() 5244 xgifb_reg_set(pVBInfo->P3d4, 0x11, 0x00); XGI_SenseCRT1() 5247 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) i, CRTCData[i]); XGI_SenseCRT1() 5250 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 8), XGI_SenseCRT1() 5254 xgifb_reg_set(pVBInfo->P3d4, (unsigned short) (i + 4), XGI_SenseCRT1() 5258 xgifb_reg_set(pVBInfo->P3c4, (unsigned short) (i - 3), XGI_SenseCRT1() 5261 xgifb_reg_set(pVBInfo->P3c4, 0x0E, (unsigned char) (CRTCData[16] XGI_SenseCRT1() 5264 xgifb_reg_set(pVBInfo->P3c4, 0x31, 0x00); XGI_SenseCRT1() 5265 xgifb_reg_set(pVBInfo->P3c4, 0x2B, 0x1B); XGI_SenseCRT1() 5266 xgifb_reg_set(pVBInfo->P3c4, 0x2C, 0xE1); XGI_SenseCRT1() 5289 xgifb_reg_set(pVBInfo->P3c4, 0x01, SR01); XGI_SenseCRT1() 5290 xgifb_reg_set(pVBInfo->P3d4, 0x63, CR63); XGI_SenseCRT1() 5291 xgifb_reg_set(pVBInfo->P3c4, 0x31, SR31); XGI_SenseCRT1() 5293 xgifb_reg_set(pVBInfo->P3d4, 0x53, (xgifb_reg_get( XGI_SenseCRT1() 5295 xgifb_reg_set(pVBInfo->P3c4, 0x1F, (unsigned char) SR1F); XGI_SenseCRT1() 5308 xgifb_reg_set(pVBInfo->Part1Port, 0x1E, 0x20); XGI_EnableBridge() 5318 xgifb_reg_set(pVBInfo->P3c4, 0x32, tempah); XGI_EnableBridge() 5480 xgifb_reg_set(pVBInfo->P3c4, 0x05, 0x86); XGISetModeNew()
|
H A D | XGI_main_26.c | 36 xgifb_reg_set(XGISR, 0x05, 0x86); dumpVGAReg() 690 xgifb_reg_set(XGICR, IND_XGI_SCRATCH_REG_CR30, cr30); XGIfb_pre_setmode() 691 xgifb_reg_set(XGICR, IND_XGI_SCRATCH_REG_CR31, cr31); XGIfb_pre_setmode() 692 xgifb_reg_set(XGICR, IND_XGI_SCRATCH_REG_CR33, XGIfb_pre_setmode() 734 xgifb_reg_set(XGICR, 0x17, reg); XGIfb_post_setmode() 787 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 790 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 793 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 796 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 801 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 804 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 807 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 810 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 815 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 818 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 821 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 824 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 846 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 849 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 852 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 855 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 860 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 863 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 866 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 869 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 874 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 877 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 880 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 883 xgifb_reg_set(XGIPART2, XGIfb_post_setmode() 896 xgifb_reg_set( XGIfb_post_setmode() 901 xgifb_reg_set( XGIfb_post_setmode() 906 xgifb_reg_set( XGIfb_post_setmode() 911 xgifb_reg_set( XGIfb_post_setmode() 1014 xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD); XGIfb_do_set_var() 1016 xgifb_reg_set(XGICR, 0x13, (info->fix.line_length & 0x00ff)); XGIfb_do_set_var() 1017 xgifb_reg_set(XGISR, XGIfb_do_set_var() 1046 xgifb_reg_set(XGICR, 0x4D, (cr_data & 0xE0)); XGIfb_do_set_var() 1054 xgifb_reg_set(XGICR, 0x4D, ((cr_data & 0xE0) | 0x0B)); XGIfb_do_set_var() 1064 xgifb_reg_set(XGICR, 0x4D, ((cr_data & 0xE0) | 0x15)); XGIfb_do_set_var() 1100 xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD); XGIfb_pan_var() 1102 xgifb_reg_set(XGICR, 0x0D, base & 0xFF); XGIfb_pan_var() 1103 xgifb_reg_set(XGICR, 0x0C, (base >> 8) & 0xFF); XGIfb_pan_var() 1104 xgifb_reg_set(XGISR, 0x0D, (base >> 16) & 0xFF); XGIfb_pan_var() 1105 xgifb_reg_set(XGISR, 0x37, (base >> 24) & 0x03); XGIfb_pan_var() 1110 xgifb_reg_set(XGIPART1, 0x06, (base & 0xFF)); XGIfb_pan_var() 1111 xgifb_reg_set(XGIPART1, 0x05, ((base >> 8) & 0xFF)); XGIfb_pan_var() 1112 xgifb_reg_set(XGIPART1, 0x04, ((base >> 16) & 0xFF)); XGIfb_pan_var() 1388 xgifb_reg_set(XGICR, 0x17, reg); XGIfb_blank() 1389 xgifb_reg_set(XGISR, 0x00, 0x01); /* Synchronous Reset */ XGIfb_blank() 1390 xgifb_reg_set(XGISR, 0x00, 0x03); /* End Reset */ XGIfb_blank() 1420 xgifb_reg_set(XGISR, IND_SIS_DRAM_SIZE, 0x51); XGIfb_get_dram_size() 1698 xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD); xgifb_probe()
|