Home
last modified time | relevance | path

Searched refs:via_write_reg_mask (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/video/via/
Dvia_modesetting.c38 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()
48 via_write_reg_mask(VIACR, 0xA3, (addr >> 26) & 0x07, 0x07); in via_set_secondary_address()
59 via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0); in via_set_primary_pitch()
67 via_write_reg_mask(VIACR, 0x67, (pitch >> 8) & 0x03, 0x03); in via_set_secondary_pitch()
68 via_write_reg_mask(VIACR, 0x71, (pitch >> (10 - 7)) & 0x80, 0x80); in via_set_secondary_pitch()
98 via_write_reg_mask(VIASR, 0x15, value, 0x1C); in via_set_primary_color_depth()
125 via_write_reg_mask(VIACR, 0x67, value, 0xC0); in via_set_secondary_color_depth()
Ddvi.c562 via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); in viafb_dvi_enable()
575 via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); in viafb_dvi_enable()
597 via_write_reg_mask(VIACR, CR97, 0x03, 0x03); in viafb_dvi_enable()
599 via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); in viafb_dvi_enable()
607 via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); in viafb_dvi_enable()
Dvia-gpio.c125 via_write_reg_mask(VIASR, gpio->vg_port_index, 0, in via_gpio_dir_input()
167 via_write_reg_mask(VIASR, gpio->vg_port_index, 0x02, 0x02); in viafb_gpio_enable()
172 via_write_reg_mask(VIASR, gpio->vg_port_index, 0, 0x02); in viafb_gpio_disable()
Dhw.c917 via_write_reg_mask(VIACR, index, value, mask); in set_source_common()
936 via_write_reg_mask(VIASR, 0x16, value, 0x40); in set_crt_source()
1008 via_write_reg_mask(VIACR, 0x36, value, 0x30); in set_crt_state()
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()
1113 via_write_reg_mask(VIACR, 0x9B, polarity << 5, 0x60); in via_set_sync_polarity()
1115 via_write_reg_mask(VIACR, 0x99, polarity << 5, 0x60); in via_set_sync_polarity()
1117 via_write_reg_mask(VIACR, 0x97, polarity << 5, 0x60); in via_set_sync_polarity()
[all …]
Dhw.h33 #define viafb_write_reg_mask(i, p, d, m) via_write_reg_mask(p, i, d, m)
/linux-2.6.39/include/linux/
Dvia-core.h217 static inline void via_write_reg_mask(u16 port, u8 index, u8 data, u8 mask) in via_write_reg_mask() function
/linux-2.6.39/drivers/media/video/
Dvia-camera.c1271 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()