/linux/drivers/video/fbdev/via/ |
H A D | viamode.c | 19 {VIACR, CR32, 0xFF, 0x00}, 20 {VIACR, CR33, 0xFF, 0x00}, 21 {VIACR, CR35, 0xFF, 0x00}, 22 {VIACR, CR36, 0x08, 0x00}, 23 {VIACR, CR69, 0xFF, 0x00}, 24 {VIACR, CR6A, 0xFF, 0x40}, 25 {VIACR, CR6B, 0xFF, 0x00}, 26 {VIACR, CR88, 0xFF, 0x40}, /* LCD Panel Type */ 27 {VIACR, CR89, 0xFF, 0x00}, /* LCD Timing Control 0 */ 28 {VIACR, CR8A, 0xFF, 0x88}, /* LCD Timing Control 1 */ [all …]
|
H A D | via_modesetting.c | 36 via_write_reg_mask(VIACR, 0x11, 0x00, 0x80); in via_set_primary_timing() 38 via_write_reg(VIACR, 0x00, raw.hor_total & 0xFF); in via_set_primary_timing() 39 via_write_reg(VIACR, 0x01, raw.hor_addr & 0xFF); in via_set_primary_timing() 40 via_write_reg(VIACR, 0x02, raw.hor_blank_start & 0xFF); in via_set_primary_timing() 41 via_write_reg_mask(VIACR, 0x03, raw.hor_blank_end & 0x1F, 0x1F); in via_set_primary_timing() 42 via_write_reg(VIACR, 0x04, raw.hor_sync_start & 0xFF); in via_set_primary_timing() 43 via_write_reg_mask(VIACR, 0x05, (raw.hor_sync_end & 0x1F) in via_set_primary_timing() 45 via_write_reg(VIACR, 0x06, raw.ver_total & 0xFF); in via_set_primary_timing() 46 via_write_reg_mask(VIACR, 0x07, (raw.ver_total >> 8 & 0x01) in via_set_primary_timing() 53 via_write_reg_mask(VIACR, 0x09, raw.ver_blank_start >> (9 - 5) & 0x20, in via_set_primary_timing() [all …]
|
H A D | dvi.c | 193 RegCR6B = viafb_read_reg(VIACR, CR6B); in viafb_dvi_sense() 194 viafb_write_reg(CR6B, VIACR, RegCR6B | 0x08); in viafb_dvi_sense() 198 RegCR91 = viafb_read_reg(VIACR, CR91); in viafb_dvi_sense() 199 viafb_write_reg(CR91, VIACR, 0x1D); in viafb_dvi_sense() 205 RegCR93 = viafb_read_reg(VIACR, CR93); in viafb_dvi_sense() 206 viafb_write_reg(CR93, VIACR, 0x01); in viafb_dvi_sense() 219 RegCR91 = viafb_read_reg(VIACR, CR91); in viafb_dvi_sense() 220 viafb_write_reg(CR91, VIACR, 0x1D); in viafb_dvi_sense() 224 RegCR9B = viafb_read_reg(VIACR, CR9B); in viafb_dvi_sense() 225 viafb_write_reg(CR9B, VIACR, 0x01); in viafb_dvi_sense() [all …]
|
H A D | lcd.c | 175 viafb_read_reg(VIACR, CR3F) & 0x0F; in fp_id_to_vindex() 345 viafb_write_reg_mask(CR79, VIACR, 0x07, BIT0 + BIT1 + BIT2); in load_lcd_scaling() 360 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 376 viafb_write_reg_mask(CRA2, VIACR, 0xC0, BIT7 + BIT6); in load_lcd_scaling() 381 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 388 viafb_write_reg_mask(CRA2, VIACR, 0x00, BIT7); in load_lcd_scaling() 404 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 420 viafb_write_reg_mask(CRA2, VIACR, 0x08, BIT3); in load_lcd_scaling() 425 viafb_load_reg_num, reg, VIACR); in load_lcd_scaling() 432 viafb_write_reg_mask(CRA2, VIACR, 0x00, BIT3); in load_lcd_scaling() [all …]
|
H A D | hw.c | 90 {VIACR, CR7A, 0xFF, 0x01}, /* LCD Scaling Parameter 1 */ 91 {VIACR, CR7B, 0xFF, 0x02}, /* LCD Scaling Parameter 2 */ 92 {VIACR, CR7C, 0xFF, 0x03}, /* LCD Scaling Parameter 3 */ 93 {VIACR, CR7D, 0xFF, 0x04}, /* LCD Scaling Parameter 4 */ 94 {VIACR, CR7E, 0xFF, 0x07}, /* LCD Scaling Parameter 5 */ 95 {VIACR, CR7F, 0xFF, 0x0A}, /* LCD Scaling Parameter 6 */ 96 {VIACR, CR80, 0xFF, 0x0D}, /* LCD Scaling Parameter 7 */ 97 {VIACR, CR81, 0xFF, 0x13}, /* LCD Scaling Parameter 8 */ 98 {VIACR, CR82, 0xFF, 0x16}, /* LCD Scaling Parameter 9 */ 99 {VIACR, CR83, 0xFF, 0x19}, /* LCD Scaling Parameter 10 */ [all …]
|
H A D | via_utility.c | 148 viafb_write_reg_mask(CR33, VIACR, 0x80, BIT7); in viafb_set_gamma_table() 170 viafb_write_reg_mask(CR6A, VIACR, 0x02, BIT1); in viafb_set_gamma_table() 203 viafb_write_reg_mask(CR33, VIACR, 0x80, BIT7); in viafb_get_gamma_table()
|
H A D | via_clock.c | 249 via_write_reg_mask(VIACR, 0x6C, data, 0xF0); in set_primary_clock_source() 255 via_write_reg_mask(VIACR, 0x6C, data, 0x0F); in set_secondary_clock_source()
|
H A D | viafbdev.c | 1119 dvp0 = viafb_read_reg(VIACR, CR96) & 0x0f; in viafb_dvp0_proc_show() 1151 viafb_write_reg_mask(CR96, VIACR, in viafb_dvp0_proc_write() 1187 dvp1 = viafb_read_reg(VIACR, CR9B) & 0x0f; in viafb_dvp1_proc_show() 1219 viafb_write_reg_mask(CR9B, VIACR, in viafb_dvp1_proc_write() 1251 dfp_high = viafb_read_reg(VIACR, CR97) & 0x0f; in viafb_dfph_proc_show() 1270 viafb_write_reg_mask(CR97, VIACR, reg_val, 0x0f); in viafb_dfph_proc_write() 1285 dfp_low = viafb_read_reg(VIACR, CR99) & 0x0f; in viafb_dfpl_proc_show() 1304 viafb_write_reg_mask(CR99, VIACR, reg_val, 0x0f); in viafb_dfpl_proc_write()
|
/linux/include/linux/ |
H A D | via-core.h | 183 #define VIACR 0x3D4 macro
|