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

/linux-4.1.27/drivers/video/fbdev/sis/
H A Dinitextlfb.c183 unsigned char sr_data, cr_data, cr_data2; sisfb_gettotalfrommode() local
218 cr_data2 = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[7]; sisfb_gettotalfrommode()
220 ((unsigned short)(cr_data2 & 0x01) << 8) | sisfb_gettotalfrommode()
221 ((unsigned short)(cr_data2 & 0x20) << 4) | sisfb_gettotalfrommode()
H A Dinit.c3544 unsigned char sr_data, cr_data, cr_data2; SiS_Generic_ConvertCRData() local
3613 cr_data2 = (crdata[16] & 0x01) << 5; SiS_Generic_ConvertCRData()
3618 ((unsigned short)(cr_data2 & 0x20) << 4) | SiS_Generic_ConvertCRData()
/linux-4.1.27/drivers/staging/xgifb/
H A DXGI_main_26.c97 unsigned char sr_data, cr_data, cr_data2; XGIfb_mode_rate_to_ddata() local
121 cr_data2 = XGI_CRT1Table[index].CR[4]; XGIfb_mode_rate_to_ddata()
124 HBE = (cr_data & 0x1f) | ((unsigned short) (cr_data2 & 0x80) >> 2) XGIfb_mode_rate_to_ddata()
128 HRE = (cr_data2 & 0x1f) | ((sr_data & 0x04) << 3); XGIfb_mode_rate_to_ddata()
144 cr_data2 = XGI_CRT1Table[index].CR[9]; XGIfb_mode_rate_to_ddata()
151 VRS = (cr_data & 0xff) | ((unsigned short) (cr_data2 & 0x04) << 6) XGIfb_mode_rate_to_ddata()
152 | ((unsigned short) (cr_data2 & 0x80) << 2) XGIfb_mode_rate_to_ddata()

Completed in 102 milliseconds