Searched refs:cr38 (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/sis/
H A Dsis_main.c3488 u8 cr30 = 0, cr31 = 0, cr33 = 0, cr35 = 0, cr38 = 0; sisfb_pre_setmode() local
3504 cr38 = SiS_GetReg(SISCR, 0x38); sisfb_pre_setmode()
3505 cr38 &= ~0x07; /* Clear LCDA/DualEdge and YPbPr bits */ sisfb_pre_setmode()
3508 cr38 = SiS_GetReg(SISCR, tvregnum); sisfb_pre_setmode()
3509 cr38 &= ~0x3b; /* Clear LCDA/DualEdge and YPbPr bits */ sisfb_pre_setmode()
3516 cr38 = SiS_GetReg(SISCR, tvregnum); sisfb_pre_setmode()
3527 cr38 &= ~0xc0; /* Clear PAL-M / PAL-N bits */ sisfb_pre_setmode()
3531 cr38 |= 0x04; sisfb_pre_setmode()
3540 cr38 |= 0x08; sisfb_pre_setmode()
3541 if(ivideo->vbflags & TV_YPBPR525P) cr38 |= 0x10; sisfb_pre_setmode()
3542 else if(ivideo->vbflags & TV_YPBPR750P) cr38 |= 0x20; sisfb_pre_setmode()
3543 else if(ivideo->vbflags & TV_YPBPR1080I) cr38 |= 0x30; sisfb_pre_setmode()
3551 cr38 |= 0x04; sisfb_pre_setmode()
3582 cr38 |= 0x40; cr35 |= 0x04; sisfb_pre_setmode()
3585 cr38 |= 0x80; cr35 |= 0x08; sisfb_pre_setmode()
3592 cr38 |= 0x40; cr35 |= 0x02; sisfb_pre_setmode()
3630 cr38 &= 0x07; /* Use only LCDA and HiVision/YPbPr bits */ sisfb_pre_setmode()
3631 SiS_SetRegANDOR(SISCR, 0x38, 0xf8, cr38); sisfb_pre_setmode()
3634 SiS_SetReg(SISCR, tvregnum, cr38); sisfb_pre_setmode()
/linux-4.1.27/drivers/video/fbdev/
H A Ds3fb.c1131 u8 regval, cr38, cr39; s3_pci_probe() local
1188 cr38 = vga_rcrt(par->state.vgabase, 0x38); s3_pci_probe()
1264 vga_wcrt(par->state.vgabase, 0x38, cr38); s3_pci_probe()

Completed in 101 milliseconds