Home
last modified time | relevance | path

Searched refs:cr_data (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/watchdog/
Dpc87413_wdt.c76 unsigned int cr_data = 0; in pc87413_select_wdt_out() local
82 cr_data = inb(WDT_DATA_IO_PORT); in pc87413_select_wdt_out()
84 cr_data |= 0x80; /* Set Bit7 to 1*/ in pc87413_select_wdt_out()
87 outb_p(cr_data, WDT_DATA_IO_PORT); in pc87413_select_wdt_out()
92 cr_data); in pc87413_select_wdt_out()
100 unsigned int cr_data = 0; in pc87413_enable_swc() local
108 cr_data = inb(WDT_DATA_IO_PORT); in pc87413_enable_swc()
109 cr_data |= 0x01; /* Set Bit0 to 1 */ in pc87413_enable_swc()
111 outb_p(cr_data, WDT_DATA_IO_PORT); /* Index0x30_bit0P1 */ in pc87413_enable_swc()
/linux-3.4.99/drivers/video/sis/
Dinitextlfb.c183 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local
213 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[0]; in sisfb_gettotalfrommode()
214 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
217 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[6]; in sisfb_gettotalfrommode()
219 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode()
Dinit.c3543 unsigned char sr_data, cr_data, cr_data2; in SiS_Generic_ConvertCRData() local
3564 cr_data = crdata[5]; in SiS_Generic_ConvertCRData()
3568 ((unsigned short)(cr_data & 0x80) >> 2) | in SiS_Generic_ConvertCRData()
3572 HRE = (cr_data & 0x1f) | ((sr_data & 0x04) << 3); in SiS_Generic_ConvertCRData()
3589 cr_data = crdata[7]; in SiS_Generic_ConvertCRData()
3593 ((unsigned short)(cr_data & 0x01) << 8) | in SiS_Generic_ConvertCRData()
3594 ((unsigned short)(cr_data & 0x20) << 4) | in SiS_Generic_ConvertCRData()
3600 ((unsigned short)(cr_data & 0x02) << 7) | in SiS_Generic_ConvertCRData()
3601 ((unsigned short)(cr_data & 0x40) << 3) | in SiS_Generic_ConvertCRData()
3607 ((unsigned short)(cr_data & 0x04) << 6) | in SiS_Generic_ConvertCRData()
[all …]
/linux-3.4.99/drivers/staging/xgifb/
DXGI_main_26.c198 unsigned char sr_data, cr_data, cr_data2; in XGIfb_mode_rate_to_ddata() local
216 cr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[0]; in XGIfb_mode_rate_to_ddata()
219 HT = (cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8); in XGIfb_mode_rate_to_ddata()
231 cr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[3]; in XGIfb_mode_rate_to_ddata()
234 HRS = (cr_data & 0xff) | ((unsigned short) (sr_data & 0xC0) << 2); in XGIfb_mode_rate_to_ddata()
237 cr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[1]; in XGIfb_mode_rate_to_ddata()
240 HBS = (cr_data & 0xff) | ((unsigned short) (sr_data & 0x30) << 4); in XGIfb_mode_rate_to_ddata()
244 cr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[2]; in XGIfb_mode_rate_to_ddata()
249 HBE = (cr_data & 0x1f) | ((unsigned short) (cr_data2 & 0x80) >> 2) in XGIfb_mode_rate_to_ddata()
269 cr_data = XGI_Pr->XGINEWUB_CRT1Table[index].CR[8]; in XGIfb_mode_rate_to_ddata()
[all …]
/linux-3.4.99/drivers/video/via/
Dviafbdev.c856 } *cr_data = kzalloc(sizeof(*cr_data), GFP_ATOMIC); in viafb_cursor() local
860 if (!cr_data) in viafb_cursor()
865 cr_data->bak[i] = 0x0; in viafb_cursor()
866 cr_data->bak[i + 1] = 0xFFFFFFFF; in viafb_cursor()
871 cr_data->bak[i] = 0x0; in viafb_cursor()
872 cr_data->bak[i + 1] = 0x0; in viafb_cursor()
873 cr_data->bak[i + 2] = 0xFFFFFFFF; in viafb_cursor()
874 cr_data->bak[i + 3] = 0xFFFFFFFF; in viafb_cursor()
882 cr_data->data[i] = cursor->mask[i]; in viafb_cursor()
887 cr_data->data[i] = cursor->mask[i]; in viafb_cursor()
[all …]
/linux-3.4.99/drivers/gpu/drm/i915/
Di915_suspend.c132 u16 cr_index, cr_data, st01; in i915_save_vga() local
141 cr_data = VGA_CR_DATA_CGA; in i915_save_vga()
145 cr_data = VGA_CR_DATA_MDA; in i915_save_vga()
150 i915_write_indexed(dev, cr_index, cr_data, 0x11, in i915_save_vga()
151 i915_read_indexed(dev, cr_index, cr_data, 0x11) & in i915_save_vga()
155 i915_read_indexed(dev, cr_index, cr_data, i); in i915_save_vga()
190 u16 cr_index, cr_data, st01; in i915_restore_vga() local
196 cr_data = VGA_CR_DATA_CGA; in i915_restore_vga()
200 cr_data = VGA_CR_DATA_MDA; in i915_restore_vga()
211 i915_write_indexed(dev, cr_index, cr_data, 0x11, dev_priv->saveCR[0x11]); in i915_restore_vga()
[all …]