Lines Matching refs:cr31
3498 u8 cr30, cr31; in sisfb_check_engine_and_sync() local
3506 cr31 = SiS_GetReg(SISSR, IND_SIS_MODULE_ENABLE); in sisfb_check_engine_and_sync()
3508 if((cr30 & SIS_MEM_MAP_IO_ENABLE) && (cr31 & 0x42)) { in sisfb_check_engine_and_sync()
3536 u8 cr30 = 0, cr31 = 0, cr33 = 0, cr35 = 0, cr38 = 0; in sisfb_pre_setmode() local
3543 cr31 = SiS_GetReg(SISCR, 0x31); in sisfb_pre_setmode()
3544 cr31 &= ~0x60; in sisfb_pre_setmode()
3545 cr31 |= 0x04; in sisfb_pre_setmode()
3592 cr31 &= ~0x01; in sisfb_pre_setmode()
3605 cr31 |= 0x01; in sisfb_pre_setmode()
3610 cr31 |= 0x01; in sisfb_pre_setmode()
3623 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3627 cr31 |= 0x01; cr35 |= 0x01; in sisfb_pre_setmode()
3637 cr31 &= ~0x01; cr35 &= ~0x01; in sisfb_pre_setmode()
3649 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3658 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3668 cr31 |= (SIS_DRIVER_MODE | SIS_VB_OUTPUT_DISABLE); in sisfb_pre_setmode()
3676 cr31 &= ~0x01; /* Clear PAL flag (now in CR35) */ in sisfb_pre_setmode()
3684 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()