Lines Matching refs:cr31
3488 u8 cr30, cr31; in sisfb_check_engine_and_sync() local
3496 cr31 = SiS_GetReg(SISSR, IND_SIS_MODULE_ENABLE); in sisfb_check_engine_and_sync()
3498 if((cr30 & SIS_MEM_MAP_IO_ENABLE) && (cr31 & 0x42)) { in sisfb_check_engine_and_sync()
3526 u8 cr30 = 0, cr31 = 0, cr33 = 0, cr35 = 0, cr38 = 0; in sisfb_pre_setmode() local
3533 cr31 = SiS_GetReg(SISCR, 0x31); in sisfb_pre_setmode()
3534 cr31 &= ~0x60; in sisfb_pre_setmode()
3535 cr31 |= 0x04; in sisfb_pre_setmode()
3582 cr31 &= ~0x01; in sisfb_pre_setmode()
3595 cr31 |= 0x01; in sisfb_pre_setmode()
3600 cr31 |= 0x01; in sisfb_pre_setmode()
3613 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3617 cr31 |= 0x01; cr35 |= 0x01; in sisfb_pre_setmode()
3627 cr31 &= ~0x01; cr35 &= ~0x01; in sisfb_pre_setmode()
3639 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3648 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3658 cr31 |= (SIS_DRIVER_MODE | SIS_VB_OUTPUT_DISABLE); in sisfb_pre_setmode()
3666 cr31 &= ~0x01; /* Clear PAL flag (now in CR35) */ in sisfb_pre_setmode()
3674 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()