Searched refs:cr_data (Results 1 - 8 of 8) sorted by relevance
/linux-4.1.27/drivers/watchdog/ |
H A D | pc87413_wdt.c | 76 unsigned int cr_data = 0; pc87413_select_wdt_out() local 82 cr_data = inb(WDT_DATA_IO_PORT); pc87413_select_wdt_out() 84 cr_data |= 0x80; /* Set Bit7 to 1*/ pc87413_select_wdt_out() 87 outb_p(cr_data, WDT_DATA_IO_PORT); pc87413_select_wdt_out() 92 cr_data); pc87413_select_wdt_out() 100 unsigned int cr_data = 0; pc87413_enable_swc() local 108 cr_data = inb(WDT_DATA_IO_PORT); pc87413_enable_swc() 109 cr_data |= 0x01; /* Set Bit0 to 1 */ pc87413_enable_swc() 111 outb_p(cr_data, WDT_DATA_IO_PORT); /* Index0x30_bit0P1 */ pc87413_enable_swc()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
H A D | initextlfb.c | 183 unsigned char sr_data, cr_data, cr_data2; sisfb_gettotalfrommode() local 213 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[0]; sisfb_gettotalfrommode() 214 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; sisfb_gettotalfrommode() 217 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[6]; sisfb_gettotalfrommode() 219 *vtotal = ((cr_data & 0xFF) | sisfb_gettotalfrommode()
|
H A D | init.c | 3544 unsigned char sr_data, cr_data, cr_data2; SiS_Generic_ConvertCRData() local 3565 cr_data = crdata[5]; SiS_Generic_ConvertCRData() 3569 ((unsigned short)(cr_data & 0x80) >> 2) | SiS_Generic_ConvertCRData() 3573 HRE = (cr_data & 0x1f) | ((sr_data & 0x04) << 3); SiS_Generic_ConvertCRData() 3590 cr_data = crdata[7]; SiS_Generic_ConvertCRData() 3594 ((unsigned short)(cr_data & 0x01) << 8) | SiS_Generic_ConvertCRData() 3595 ((unsigned short)(cr_data & 0x20) << 4) | SiS_Generic_ConvertCRData() 3601 ((unsigned short)(cr_data & 0x02) << 7) | SiS_Generic_ConvertCRData() 3602 ((unsigned short)(cr_data & 0x40) << 3) | SiS_Generic_ConvertCRData() 3608 ((unsigned short)(cr_data & 0x04) << 6) | SiS_Generic_ConvertCRData() 3609 ((unsigned short)(cr_data & 0x80) << 2) | SiS_Generic_ConvertCRData() 3617 ((unsigned short)(cr_data & 0x08) << 5) | SiS_Generic_ConvertCRData()
|
/linux-4.1.27/drivers/staging/xgifb/ |
H A D | XGI_main_26.c | 97 unsigned char sr_data, cr_data, cr_data2; XGIfb_mode_rate_to_ddata() local 111 cr_data = XGI_CRT1Table[index].CR[3]; XGIfb_mode_rate_to_ddata() 114 HRS = (cr_data & 0xff) | ((unsigned short) (sr_data & 0xC0) << 2); XGIfb_mode_rate_to_ddata() 119 cr_data = XGI_CRT1Table[index].CR[2]; XGIfb_mode_rate_to_ddata() 124 HBE = (cr_data & 0x1f) | ((unsigned short) (cr_data2 & 0x80) >> 2) XGIfb_mode_rate_to_ddata() 148 cr_data = XGI_CRT1Table[index].CR[10]; XGIfb_mode_rate_to_ddata() 151 VRS = (cr_data & 0xff) | ((unsigned short) (cr_data2 & 0x04) << 6) XGIfb_mode_rate_to_ddata() 156 cr_data = XGI_CRT1Table[index].CR[13]; XGIfb_mode_rate_to_ddata() 159 VBE = (cr_data & 0xff) | ((unsigned short) (sr_data & 0x10) << 4); XGIfb_mode_rate_to_ddata() 163 cr_data = XGI_CRT1Table[index].CR[11]; XGIfb_mode_rate_to_ddata() 166 VRE = (cr_data & 0x0f) | ((sr_data & 0x20) >> 1); XGIfb_mode_rate_to_ddata() 934 u8 cr_data; XGIfb_do_set_var() local 1048 cr_data = xgifb_reg_get(XGICR, 0x4D); XGIfb_do_set_var() 1049 xgifb_reg_set(XGICR, 0x4D, (cr_data & 0xE0)); XGIfb_do_set_var() 1056 cr_data = xgifb_reg_get(XGICR, 0x4D); XGIfb_do_set_var() 1057 xgifb_reg_set(XGICR, 0x4D, ((cr_data & 0xE0) | 0x0B)); XGIfb_do_set_var() 1066 cr_data = xgifb_reg_get(XGICR, 0x4D); XGIfb_do_set_var() 1067 xgifb_reg_set(XGICR, 0x4D, ((cr_data & 0xE0) | 0x15)); XGIfb_do_set_var()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 856 } *cr_data = kzalloc(sizeof(*cr_data), GFP_ATOMIC); viafb_cursor() local 860 if (!cr_data) viafb_cursor() 865 cr_data->bak[i] = 0x0; viafb_cursor() 866 cr_data->bak[i + 1] = 0xFFFFFFFF; viafb_cursor() 871 cr_data->bak[i] = 0x0; viafb_cursor() 872 cr_data->bak[i + 1] = 0x0; viafb_cursor() 873 cr_data->bak[i + 2] = 0xFFFFFFFF; viafb_cursor() 874 cr_data->bak[i + 3] = 0xFFFFFFFF; viafb_cursor() 882 cr_data->data[i] = cursor->mask[i]; viafb_cursor() 887 cr_data->data[i] = cursor->mask[i]; viafb_cursor() 895 cr_data->bak[j] = (u32) cr_data->data[i]; viafb_cursor() 896 cr_data->bak[j + 1] = ~cr_data->bak[j]; viafb_cursor() 901 cr_data->bak[j] = (u32) cr_data->data[i]; viafb_cursor() 902 cr_data->bak[j + 1] = 0x0; viafb_cursor() 903 cr_data->bak[j + 2] = ~cr_data->bak[j]; viafb_cursor() 904 cr_data->bak[j + 3] = ~cr_data->bak[j + 1]; viafb_cursor() 910 cursor_vram_addr, cr_data->bak, CURSOR_SIZE); viafb_cursor() 911 kfree(cr_data); viafb_cursor()
|
/linux-4.1.27/fs/nfsd/ |
H A D | xdr4.h | 125 #define cr_data u.link.data macro
|
H A D | nfs4xdr.c | 611 create->cr_data = svcxdr_dupstr(argp, p, create->cr_datalen); nfsd4_decode_create() 612 if (!create->cr_data) nfsd4_decode_create()
|
H A D | nfs4proc.c | 624 create->cr_data, &resfh); nfsd4_create()
|
Completed in 359 milliseconds