Lines Matching refs:VIACR

105 	{VIACR, CR7A, 0xFF, 0x01},	/* LCD Scaling Parameter 1 */
106 {VIACR, CR7B, 0xFF, 0x02}, /* LCD Scaling Parameter 2 */
107 {VIACR, CR7C, 0xFF, 0x03}, /* LCD Scaling Parameter 3 */
108 {VIACR, CR7D, 0xFF, 0x04}, /* LCD Scaling Parameter 4 */
109 {VIACR, CR7E, 0xFF, 0x07}, /* LCD Scaling Parameter 5 */
110 {VIACR, CR7F, 0xFF, 0x0A}, /* LCD Scaling Parameter 6 */
111 {VIACR, CR80, 0xFF, 0x0D}, /* LCD Scaling Parameter 7 */
112 {VIACR, CR81, 0xFF, 0x13}, /* LCD Scaling Parameter 8 */
113 {VIACR, CR82, 0xFF, 0x16}, /* LCD Scaling Parameter 9 */
114 {VIACR, CR83, 0xFF, 0x19}, /* LCD Scaling Parameter 10 */
115 {VIACR, CR84, 0xFF, 0x1C}, /* LCD Scaling Parameter 11 */
116 {VIACR, CR85, 0xFF, 0x1D}, /* LCD Scaling Parameter 12 */
117 {VIACR, CR86, 0xFF, 0x1E}, /* LCD Scaling Parameter 13 */
118 {VIACR, CR87, 0xFF, 0x1F}, /* LCD Scaling Parameter 14 */
122 {VIACR, CR07, 0x10, 0x10}, /* [0] vertical total (bit 8)
130 {VIACR, CR08, 0xFF, 0x00}, /* [0-4] preset row scan
132 {VIACR, CR09, 0xDF, 0x40}, /* [0-4] max scan line
136 {VIACR, CR0A, 0xFF, 0x1E}, /* [0-4] cursor start
138 {VIACR, CR0B, 0xFF, 0x00}, /* [0-4] cursor end
140 {VIACR, CR0E, 0xFF, 0x00}, /* [0-7] cursor location (high) */
141 {VIACR, CR0F, 0xFF, 0x00}, /* [0-7] cursor location (low) */
142 {VIACR, CR11, 0xF0, 0x80}, /* [0-3] vertical retrace end
145 {VIACR, CR14, 0xFF, 0x00}, /* [0-4] underline location
148 {VIACR, CR17, 0xFF, 0x63}, /* [0-1] mapping of display address 13-14
154 {VIACR, CR18, 0xFF, 0xFF}, /* [0-7] line compare */
481 viafb_write_reg_mask(CR11, VIACR, BIT7, BIT7); in viafb_lock_crt()
486 viafb_write_reg_mask(CR11, VIACR, 0, BIT7); in viafb_unlock_crt()
487 viafb_write_reg_mask(CR47, VIACR, 0, BIT0); in viafb_unlock_crt()
709 via_write_reg_mask(VIACR, index, value, mask); in set_source_common()
800 via_write_reg_mask(VIACR, 0x36, value, 0x30); in set_crt_state()
905 via_write_reg_mask(VIACR, 0x9B, polarity << 5, 0x60); in via_set_sync_polarity()
907 via_write_reg_mask(VIACR, 0x99, polarity << 5, 0x60); in via_set_sync_polarity()
909 via_write_reg_mask(VIACR, 0x97, polarity << 5, 0x60); in via_set_sync_polarity()
960 viafb_write_reg_mask(CR03, VIACR, 0x80, BIT7); in load_fix_bit_crtc_reg()
962 viafb_write_reg_mask(CR35, VIACR, 0x10, BIT4); in load_fix_bit_crtc_reg()
964 viafb_write_reg_mask(CR33, VIACR, 0x06, BIT0 + BIT1 + BIT2); in load_fix_bit_crtc_reg()
972 viafb_write_reg_mask(CR33, VIACR, 0x08, BIT3); in load_fix_bit_crtc_reg()
1007 if (io_type == VIACR) in viafb_load_reg()
1008 viafb_write_reg_mask(cr_index, VIACR, data, reg_mask); in viafb_load_reg()
1046 viafb_load_reg(reg_value, viafb_load_reg_num, reg, VIACR); in viafb_load_fetch_count_reg()
1335 viafb_load_reg_num, reg, VIACR); in viafb_load_FIFO_reg()
1348 viafb_load_reg_num, reg, VIACR); in viafb_load_FIFO_reg()
1359 viafb_load_reg(reg_value, viafb_load_reg_num, reg, VIACR); in viafb_load_FIFO_reg()
1370 viafb_load_reg(reg_value, viafb_load_reg_num, reg, VIACR); in viafb_load_FIFO_reg()
1382 viafb_load_reg(reg_value, viafb_load_reg_num, reg, VIACR); in viafb_load_FIFO_reg()
1552 tmp = viafb_read_reg(VIACR, CR4F); in init_gfx_chip_info()
1553 viafb_write_reg(CR4F, VIACR, 0x55); in init_gfx_chip_info()
1554 if (viafb_read_reg(VIACR, CR4F) != 0x55) in init_gfx_chip_info()
1561 viafb_write_reg(CR4F, VIACR, tmp); in init_gfx_chip_info()
1693 tmp = viafb_read_reg(VIACR, CR6A); in viafb_init_dac()
1695 viafb_write_reg_mask(CR6A, VIACR, 0x40, BIT6); in viafb_init_dac()
1704 viafb_write_reg(CR6A, VIACR, tmp); in viafb_init_dac()
1728 viafb_write_reg_mask(CRD2, VIACR, 0x20, BIT4 + BIT5); in set_display_channel()
1732 viafb_write_reg_mask(CRD2, VIACR, 0x10, BIT4 + BIT5); in set_display_channel()
1735 viafb_write_reg_mask(CRD2, VIACR, 0x30, BIT4 + BIT5); in set_display_channel()
1740 viafb_write_reg_mask(CRD2, VIACR, 0x20, BIT4 + BIT5); in set_display_channel()
1743 viafb_write_reg_mask(CRD2, VIACR, 0x00, BIT4 + BIT5); in set_display_channel()
1801 via_write_reg_mask(VIACR, 0x45, 0x00, 0x01); in hw_init()
1804 via_write_reg_mask(VIACR, 0xFD, 0, 0x80); /* VX900 hw scale on IGA2 */ in hw_init()
1905 viafb_write_reg(CR02, VIACR, in viafb_setmode()
1906 viafb_read_reg(VIACR, CR02) - 1); in viafb_setmode()
2048 viafb_write_reg_mask(CR6A, VIACR, 0x00, BIT6); in enable_second_display_channel()
2049 viafb_write_reg_mask(CR6A, VIACR, BIT7, BIT7); in enable_second_display_channel()
2050 viafb_write_reg_mask(CR6A, VIACR, BIT6, BIT6); in enable_second_display_channel()
2056 viafb_write_reg_mask(CR6A, VIACR, 0x00, BIT6); in disable_second_display_channel()
2057 viafb_write_reg_mask(CR6A, VIACR, 0x00, BIT7); in disable_second_display_channel()
2058 viafb_write_reg_mask(CR6A, VIACR, BIT6, BIT6); in disable_second_display_channel()
2068 viafb_write_reg_mask(CR96, VIACR, in viafb_set_dpa_gfx()
2087 viafb_write_reg_mask(CR9B, VIACR, in viafb_set_dpa_gfx()
2098 viafb_write_reg_mask(CR97, VIACR, in viafb_set_dpa_gfx()
2105 viafb_write_reg_mask(CR99, VIACR, in viafb_set_dpa_gfx()
2112 viafb_write_reg_mask(CR97, VIACR, in viafb_set_dpa_gfx()
2114 viafb_write_reg_mask(CR99, VIACR, in viafb_set_dpa_gfx()