Lines Matching refs:cr31
3484 u8 cr30, cr31; in sisfb_check_engine_and_sync() local
3492 cr31 = SiS_GetReg(SISSR, IND_SIS_MODULE_ENABLE); in sisfb_check_engine_and_sync()
3494 if((cr30 & SIS_MEM_MAP_IO_ENABLE) && (cr31 & 0x42)) { in sisfb_check_engine_and_sync()
3522 u8 cr30 = 0, cr31 = 0, cr33 = 0, cr35 = 0, cr38 = 0; in sisfb_pre_setmode() local
3529 cr31 = SiS_GetReg(SISCR, 0x31); in sisfb_pre_setmode()
3530 cr31 &= ~0x60; in sisfb_pre_setmode()
3531 cr31 |= 0x04; in sisfb_pre_setmode()
3578 cr31 &= ~0x01; in sisfb_pre_setmode()
3591 cr31 |= 0x01; in sisfb_pre_setmode()
3596 cr31 |= 0x01; in sisfb_pre_setmode()
3609 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3613 cr31 |= 0x01; cr35 |= 0x01; in sisfb_pre_setmode()
3623 cr31 &= ~0x01; cr35 &= ~0x01; in sisfb_pre_setmode()
3635 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3644 cr31 |= SIS_DRIVER_MODE; in sisfb_pre_setmode()
3654 cr31 |= (SIS_DRIVER_MODE | SIS_VB_OUTPUT_DISABLE); in sisfb_pre_setmode()
3662 cr31 &= ~0x01; /* Clear PAL flag (now in CR35) */ in sisfb_pre_setmode()
3670 SiS_SetReg(SISCR, 0x31, cr31); in sisfb_pre_setmode()