/linux-2.6.39/drivers/video/via/ |
D | viamode.c | 33 {VIACR, CR0A, 0xFF, 0x1E}, /* Cursor Start */ 34 {VIACR, CR0B, 0xFF, 0x00}, /* Cursor End */ 35 {VIACR, CR0E, 0xFF, 0x00}, /* Cursor Location High */ 36 {VIACR, CR0F, 0xFF, 0x00}, /* Cursor Localtion Low */ 37 {VIACR, CR32, 0xFF, 0x00}, 38 {VIACR, CR33, 0xFF, 0x00}, 39 {VIACR, CR35, 0xFF, 0x00}, 40 {VIACR, CR36, 0x08, 0x00}, 41 {VIACR, CR69, 0xFF, 0x00}, 42 {VIACR, CR6A, 0xFF, 0x40}, [all …]
|
D | via_modesetting.c | 35 via_write_reg(VIACR, 0x0D, addr & 0xFF); in via_set_primary_address() 36 via_write_reg(VIACR, 0x0C, (addr >> 8) & 0xFF); in via_set_primary_address() 37 via_write_reg(VIACR, 0x34, (addr >> 16) & 0xFF); in via_set_primary_address() 38 via_write_reg_mask(VIACR, 0x48, (addr >> 24) & 0x1F, 0x1F); in via_set_primary_address() 45 via_write_reg_mask(VIACR, 0x62, (addr >> 2) & 0xFE, 0xFE); in via_set_secondary_address() 46 via_write_reg(VIACR, 0x63, (addr >> 10) & 0xFF); in via_set_secondary_address() 47 via_write_reg(VIACR, 0x64, (addr >> 18) & 0xFF); in via_set_secondary_address() 48 via_write_reg_mask(VIACR, 0xA3, (addr >> 26) & 0x07, 0x07); in via_set_secondary_address() 58 via_write_reg(VIACR, 0x13, pitch & 0xFF); in via_set_primary_pitch() 59 via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0); in via_set_primary_pitch() [all …]
|
D | dvi.c | 232 RegCR6B = viafb_read_reg(VIACR, CR6B); in viafb_dvi_sense() 233 viafb_write_reg(CR6B, VIACR, RegCR6B | 0x08); in viafb_dvi_sense() 237 RegCR91 = viafb_read_reg(VIACR, CR91); in viafb_dvi_sense() 238 viafb_write_reg(CR91, VIACR, 0x1D); in viafb_dvi_sense() 244 RegCR93 = viafb_read_reg(VIACR, CR93); in viafb_dvi_sense() 245 viafb_write_reg(CR93, VIACR, 0x01); in viafb_dvi_sense() 258 RegCR91 = viafb_read_reg(VIACR, CR91); in viafb_dvi_sense() 259 viafb_write_reg(CR91, VIACR, 0x1D); in viafb_dvi_sense() 263 RegCR9B = viafb_read_reg(VIACR, CR9B); in viafb_dvi_sense() 264 viafb_write_reg(CR9B, VIACR, 0x01); in viafb_dvi_sense() [all …]
|
D | lcd.c | 200 viafb_read_reg(VIACR, CR3F) & 0x0F; in fp_id_to_vindex() 370 viafb_write_reg_mask(CR79, VIACR, 0x07, BIT0 + BIT1 + BIT2); in load_lcd_scaling() 385 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 401 viafb_write_reg_mask(CRA2, VIACR, 0xC0, BIT7 + BIT6); in load_lcd_scaling() 406 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 413 viafb_write_reg_mask(CRA2, VIACR, 0x00, BIT7); in load_lcd_scaling() 429 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 445 viafb_write_reg_mask(CRA2, VIACR, 0x08, BIT3); in load_lcd_scaling() 450 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 457 viafb_write_reg_mask(CRA2, VIACR, 0x00, BIT3); in load_lcd_scaling() [all …]
|
D | hw.c | 295 {VIACR, CR7A, 0xFF, 0x01}, /* LCD Scaling Parameter 1 */ 296 {VIACR, CR7B, 0xFF, 0x02}, /* LCD Scaling Parameter 2 */ 297 {VIACR, CR7C, 0xFF, 0x03}, /* LCD Scaling Parameter 3 */ 298 {VIACR, CR7D, 0xFF, 0x04}, /* LCD Scaling Parameter 4 */ 299 {VIACR, CR7E, 0xFF, 0x07}, /* LCD Scaling Parameter 5 */ 300 {VIACR, CR7F, 0xFF, 0x0A}, /* LCD Scaling Parameter 6 */ 301 {VIACR, CR80, 0xFF, 0x0D}, /* LCD Scaling Parameter 7 */ 302 {VIACR, CR81, 0xFF, 0x13}, /* LCD Scaling Parameter 8 */ 303 {VIACR, CR82, 0xFF, 0x16}, /* LCD Scaling Parameter 9 */ 304 {VIACR, CR83, 0xFF, 0x19}, /* LCD Scaling Parameter 10 */ [all …]
|
D | via_utility.c | 162 viafb_write_reg_mask(CR33, VIACR, 0x80, BIT7); in viafb_set_gamma_table() 184 viafb_write_reg_mask(CR6A, VIACR, 0x02, BIT1); in viafb_set_gamma_table() 217 viafb_write_reg_mask(CR33, VIACR, 0x80, BIT7); in viafb_get_gamma_table()
|
D | viafbdev.c | 1129 dvp0 = viafb_read_reg(VIACR, CR96) & 0x0f; in viafb_dvp0_proc_show() 1160 viafb_write_reg_mask(CR96, VIACR, in viafb_dvp0_proc_write() 1197 dvp1 = viafb_read_reg(VIACR, CR9B) & 0x0f; in viafb_dvp1_proc_show() 1228 viafb_write_reg_mask(CR9B, VIACR, in viafb_dvp1_proc_write() 1261 dfp_high = viafb_read_reg(VIACR, CR97) & 0x0f; in viafb_dfph_proc_show() 1284 viafb_write_reg_mask(CR97, VIACR, reg_val, 0x0f); in viafb_dfph_proc_write() 1300 dfp_low = viafb_read_reg(VIACR, CR99) & 0x0f; in viafb_dfpl_proc_show() 1323 viafb_write_reg_mask(CR99, VIACR, reg_val, 0x0f); in viafb_dfpl_proc_write()
|
/linux-2.6.39/include/linux/ |
D | via-core.h | 200 #define VIACR 0x3D4 macro
|