Home
last modified time | relevance | path

Searched refs:cr_data2 (Results 1 – 3 of 3) sorted by relevance

/drivers/video/sis/
Dinitextlfb.c183 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local
218 cr_data2 = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[7]; in sisfb_gettotalfrommode()
220 ((unsigned short)(cr_data2 & 0x01) << 8) | in sisfb_gettotalfrommode()
221 ((unsigned short)(cr_data2 & 0x20) << 4) | in sisfb_gettotalfrommode()
Dinit.c3543 unsigned char sr_data, cr_data, cr_data2; in SiS_Generic_ConvertCRData() local
3612 cr_data2 = (crdata[16] & 0x01) << 5; in SiS_Generic_ConvertCRData()
3617 ((unsigned short)(cr_data2 & 0x20) << 4) | in SiS_Generic_ConvertCRData()
/drivers/staging/xgifb/
DXGI_main_26.c198 unsigned char sr_data, cr_data, cr_data2; in XGIfb_mode_rate_to_ddata() local
246 cr_data2 = XGI_Pr->XGINEWUB_CRT1Table[index].CR[4]; in XGIfb_mode_rate_to_ddata()
249 HBE = (cr_data & 0x1f) | ((unsigned short) (cr_data2 & 0x80) >> 2) in XGIfb_mode_rate_to_ddata()
253 HRE = (cr_data2 & 0x1f) | ((sr_data & 0x04) << 3); in XGIfb_mode_rate_to_ddata()
271 cr_data2 = XGI_Pr->XGINEWUB_CRT1Table[index].CR[9]; in XGIfb_mode_rate_to_ddata()
274 VT = (cr_data & 0xFF) | ((unsigned short) (cr_data2 & 0x01) << 8) in XGIfb_mode_rate_to_ddata()
275 | ((unsigned short) (cr_data2 & 0x20) << 4) in XGIfb_mode_rate_to_ddata()
294 VRS = (cr_data & 0xff) | ((unsigned short) (cr_data2 & 0x04) << 6) in XGIfb_mode_rate_to_ddata()
295 | ((unsigned short) (cr_data2 & 0x80) << 2) in XGIfb_mode_rate_to_ddata()
304 VBS = (cr_data & 0xff) | ((unsigned short) (cr_data2 & 0x08) << 5) in XGIfb_mode_rate_to_ddata()