Lines Matching refs:VIACR
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()
448 viafb_write_reg(CR66, VIACR, cr66); in via_pitch_alignment_patch_lcd()
449 cr67 = viafb_read_reg(VIACR, CR67) & 0xFC; in via_pitch_alignment_patch_lcd()
453 viafb_write_reg(CR67, VIACR, cr67); in via_pitch_alignment_patch_lcd()
457 cr67 = viafb_read_reg(VIACR, CR67) & 0xF3; in via_pitch_alignment_patch_lcd()
459 viafb_write_reg(CR67, VIACR, cr67); in via_pitch_alignment_patch_lcd()
462 viafb_write_reg(CR65, VIACR, cr65); in via_pitch_alignment_patch_lcd()
466 viafb_write_reg(CR13, VIACR, cr13); in via_pitch_alignment_patch_lcd()
467 cr35 = viafb_read_reg(VIACR, CR35) & 0x1F; in via_pitch_alignment_patch_lcd()
471 viafb_write_reg(CR35, VIACR, cr35); in via_pitch_alignment_patch_lcd()
519 viafb_write_reg_mask(CR99, VIACR, 0x08, in lcd_patch_skew()
560 via_write_reg_mask(VIACR, 0x79, 0x00, in viafb_lcd_set_mode()
583 viafb_write_reg_mask(CR6A, VIACR, 0x01, BIT0); in viafb_lcd_set_mode()
606 viafb_write_reg_mask(CRD4, VIACR, 0, BIT1); in integrated_lvds_disable()
609 viafb_write_reg_mask(CRD3, VIACR, 0xC0, BIT6 + BIT7); in integrated_lvds_disable()
615 viafb_write_reg_mask(CR6A, VIACR, 0, BIT3); in integrated_lvds_disable()
618 viafb_write_reg_mask(CR91, VIACR, 0xC0, BIT6 + BIT7); in integrated_lvds_disable()
625 viafb_write_reg_mask(CRD2, VIACR, 0x80, BIT7); in integrated_lvds_disable()
631 viafb_write_reg_mask(CRD2, VIACR, 0x40, BIT6); in integrated_lvds_disable()
637 viafb_write_reg_mask(CRD2, VIACR, 0xC0, BIT6 + BIT7); in integrated_lvds_disable()
650 viafb_write_reg_mask(CRD2, VIACR, 0x00, BIT0 + BIT1); in integrated_lvds_enable()
652 viafb_write_reg_mask(CRD2, VIACR, 0x03, BIT0 + BIT1); in integrated_lvds_enable()
659 viafb_write_reg_mask(CR91, VIACR, 0, BIT0); in integrated_lvds_enable()
661 viafb_write_reg_mask(CR91, VIACR, 0, BIT6 + BIT7); in integrated_lvds_enable()
663 viafb_write_reg_mask(CR6A, VIACR, 0x08, BIT3); in integrated_lvds_enable()
668 viafb_write_reg_mask(CRD3, VIACR, 0, BIT0); in integrated_lvds_enable()
670 viafb_write_reg_mask(CRD3, VIACR, 0, BIT6 + BIT7); in integrated_lvds_enable()
672 viafb_write_reg_mask(CRD4, VIACR, 0x02, BIT1); in integrated_lvds_enable()
680 viafb_write_reg_mask(CRD2, VIACR, 0, BIT7); in integrated_lvds_enable()
686 viafb_write_reg_mask(CRD2, VIACR, 0, BIT6); in integrated_lvds_enable()
692 viafb_write_reg_mask(CRD2, VIACR, 0, BIT6 + BIT7); in integrated_lvds_enable()
727 viafb_write_reg_mask(CR91, VIACR, 0x80, 0x80); in viafb_lcd_disable()
731 viafb_write_reg_mask(CR79, VIACR, 0x00, 0x01); in viafb_lcd_disable()
733 viafb_write_reg_mask(CR6B, VIACR, 0x00, 0x08); in viafb_lcd_disable()
743 viafb_write_reg_mask(CR97, VIACR, 0x84, in set_lcd_output_path()
751 viafb_write_reg(CR91, VIACR, 0x00); in set_lcd_output_path()
758 viafb_write_reg_mask(CR6B, VIACR, 0x00, BIT3); in viafb_lcd_enable()
759 viafb_write_reg_mask(CR6A, VIACR, 0x08, BIT3); in viafb_lcd_enable()
793 viafb_write_reg_mask(CR91, VIACR, 0x00, 0x80); in viafb_lcd_enable()
795 viafb_write_reg_mask(CR6A, VIACR, 0x48, 0x48); in viafb_lcd_enable()
804 viafb_write_reg_mask(CR91, VIACR, 0x11, 0x11); in lcd_powersequence_off()
809 viafb_write_reg_mask(CR91, VIACR, (u8) data, (u8) mask); in lcd_powersequence_off()
814 viafb_write_reg_mask(CR6A, VIACR, 0x00, 0x08); in lcd_powersequence_off()
822 viafb_write_reg_mask(CR91, VIACR, 0x11, 0x11); in lcd_powersequence_on()
825 viafb_write_reg_mask(CR6A, VIACR, 0x08, 0x08); in lcd_powersequence_on()
830 viafb_write_reg_mask(CR91, VIACR, (u8) data, (u8) mask); in lcd_powersequence_on()
846 viafb_write_reg_mask(CR88, VIACR, (bdithering | bdual), BIT4 + BIT0); in fill_lcd_format()