/linux-2.6.39/drivers/video/via/ |
D | viamode.c | 25 struct io_reg CN400_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01}, 26 {VIASR, SR15, 0x02, 0x02}, 27 {VIASR, SR16, 0xBF, 0x08}, 28 {VIASR, SR17, 0xFF, 0x1F}, 29 {VIASR, SR18, 0xFF, 0x4E}, 30 {VIASR, SR1A, 0xFB, 0x08}, 31 {VIASR, SR1E, 0x0F, 0x01}, 32 {VIASR, SR2A, 0xFF, 0x00}, 63 struct io_reg CN700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01}, 64 {VIASR, SR15, 0x02, 0x02}, [all …]
|
D | dvi.c | 73 sr2a = viafb_read_reg(VIASR, SR2A); in viafb_tmds_trasmitter_identify() 74 viafb_write_reg_mask(SR2A, VIASR, 0x03, BIT0 + BIT1); in viafb_tmds_trasmitter_identify() 80 sr2a = viafb_read_reg(VIASR, SR2A); in viafb_tmds_trasmitter_identify() 81 viafb_write_reg_mask(SR2A, VIASR, 0x03, BIT0 + BIT1); in viafb_tmds_trasmitter_identify() 83 sr1e = viafb_read_reg(VIASR, SR1E); in viafb_tmds_trasmitter_identify() 84 viafb_write_reg_mask(SR1E, VIASR, 0xC0, BIT6 + BIT7); in viafb_tmds_trasmitter_identify() 89 sr1e = viafb_read_reg(VIASR, SR1E); in viafb_tmds_trasmitter_identify() 90 viafb_write_reg_mask(SR1E, VIASR, 0xF0, BIT4 + in viafb_tmds_trasmitter_identify() 94 sr3e = viafb_read_reg(VIASR, SR3E); in viafb_tmds_trasmitter_identify() 95 viafb_write_reg_mask(SR3E, VIASR, 0x0, BIT5); in viafb_tmds_trasmitter_identify() [all …]
|
D | via_utility.c | 152 viafb_write_reg_mask(SR16, VIASR, 0x80, BIT7); in viafb_set_gamma_table() 165 sr1a = (unsigned int)viafb_read_reg(VIASR, SR1A); in viafb_set_gamma_table() 166 viafb_write_reg_mask(SR1A, VIASR, 0x0, BIT0); in viafb_set_gamma_table() 183 viafb_write_reg_mask(SR1A, VIASR, 0x01, BIT0); in viafb_set_gamma_table() 194 viafb_write_reg(SR1A, VIASR, sr1a); in viafb_set_gamma_table() 207 viafb_write_reg_mask(SR16, VIASR, 0x80, BIT7); in viafb_get_gamma_table() 220 sr1a = viafb_read_reg(VIASR, SR1A); in viafb_get_gamma_table() 221 viafb_write_reg_mask(SR1A, VIASR, 0x0, BIT0); in viafb_get_gamma_table() 233 viafb_write_reg(SR1A, VIASR, sr1a); in viafb_get_gamma_table()
|
D | via-gpio.c | 29 .vg_io_port = VIASR, 35 .vg_io_port = VIASR, 41 .vg_io_port = VIASR, 47 .vg_io_port = VIASR, 53 .vg_io_port = VIASR, 59 .vg_io_port = VIASR, 94 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_set() 100 via_write_reg(VIASR, gpio->vg_port_index, reg); in via_gpio_set() 125 via_write_reg_mask(VIASR, gpio->vg_port_index, 0, in via_gpio_dir_input() 142 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_get() [all …]
|
D | hw.c | 891 viafb_write_reg_mask(0x1A, VIASR, 0x00, 0x01); in viafb_set_primary_color_register() 897 viafb_write_reg_mask(0x1A, VIASR, 0x01, 0x01); in viafb_set_secondary_color_register() 936 via_write_reg_mask(VIASR, 0x16, value, 0x40); in set_crt_source() 1026 via_write_reg_mask(VIASR, 0x1E, value, 0xC0); in set_dvp0_state() 1044 via_write_reg_mask(VIASR, 0x1E, value, 0x30); in set_dvp1_state() 1062 via_write_reg_mask(VIASR, 0x2A, value, 0x03); in set_lvds1_state() 1080 via_write_reg_mask(VIASR, 0x2A, value, 0x0C); in set_lvds2_state() 1191 viafb_write_reg_mask(SR1A, VIASR, 0x02, BIT1); in load_fix_bit_crtc_reg() 1226 viafb_write_reg_mask(cr_index, VIASR, data, reg_mask); in viafb_load_reg() 1255 viafb_load_reg(reg_value, viafb_load_reg_num, reg, VIASR); in viafb_load_fetch_count_reg() [all …]
|
D | via-core.c | 26 [VIA_PORT_26] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x26 }, 27 [VIA_PORT_31] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x31 }, 28 [VIA_PORT_25] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x25 }, 29 [VIA_PORT_2C] = { VIA_PORT_GPIO, VIA_MODE_I2C, VIASR, 0x2c }, 30 [VIA_PORT_3D] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x3d }, 39 [VIA_PORT_26] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x26 }, 40 [VIA_PORT_31] = { VIA_PORT_I2C, VIA_MODE_I2C, VIASR, 0x31 }, 41 [VIA_PORT_25] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x25 }, 42 [VIA_PORT_2C] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x2c }, 43 [VIA_PORT_3D] = { VIA_PORT_GPIO, VIA_MODE_GPIO, VIASR, 0x3d },
|
D | via_modesetting.c | 98 via_write_reg_mask(VIASR, 0x15, value, 0x1C); in via_set_primary_color_depth()
|
D | viafbdev.c | 1124 (viafb_read_reg(VIASR, SR2A) & BIT5) >> 4 | in viafb_dvp0_proc_show() 1125 (viafb_read_reg(VIASR, SR1B) & BIT1) >> 1; in viafb_dvp0_proc_show() 1127 (viafb_read_reg(VIASR, SR2A) & BIT4) >> 3 | in viafb_dvp0_proc_show() 1128 (viafb_read_reg(VIASR, SR1E) & BIT2) >> 2; in viafb_dvp0_proc_show() 1164 viafb_write_reg_mask(SR2A, VIASR, in viafb_dvp0_proc_write() 1166 viafb_write_reg_mask(SR1B, VIASR, in viafb_dvp0_proc_write() 1170 viafb_write_reg_mask(SR2A, VIASR, in viafb_dvp0_proc_write() 1172 viafb_write_reg_mask(SR1E, VIASR, in viafb_dvp0_proc_write() 1198 dvp1_data_dri = (viafb_read_reg(VIASR, SR65) & 0x0c) >> 2; in viafb_dvp1_proc_show() 1199 dvp1_clk_dri = viafb_read_reg(VIASR, SR65) & 0x03; in viafb_dvp1_proc_show() [all …]
|
D | lcd.c | 745 viafb_write_reg_mask(SR1E, VIASR, 0x00, 0x30); in viafb_lcd_disable() 766 viafb_write_reg_mask(SR3D, VIASR, 0x00, 0x20); in viafb_lcd_disable() 809 viafb_write_reg_mask(SR1E, VIASR, 0x30, 0x30); in viafb_lcd_enable() 831 viafb_write_reg_mask(SR3D, VIASR, 0x20, 0x20); in viafb_lcd_enable()
|
/linux-2.6.39/include/linux/ |
D | via-core.h | 201 #define VIASR 0x3C4 macro
|
/linux-2.6.39/drivers/media/video/ |
D | via-camera.c | 1271 via_write_reg_mask(VIASR, 0x78, 0, 0x80); in viacam_resume() 1272 via_write_reg_mask(VIASR, 0x1e, 0xc0, 0xc0); in viacam_resume() 1422 via_write_reg_mask(VIASR, 0x78, 0, 0x80); in viacam_probe() 1423 via_write_reg_mask(VIASR, 0x1e, 0xc0, 0xc0); in viacam_probe()
|