Lines Matching refs:dacvalue
936 static unsigned char dacvalue[] = { in mga_crtc_mode_set() local
954 dacvalue[MGA1064_VREF_CTL] = 0x03; in mga_crtc_mode_set()
955 dacvalue[MGA1064_PIX_CLK_CTL] = MGA1064_PIX_CLK_CTL_SEL_PLL; in mga_crtc_mode_set()
956 dacvalue[MGA1064_MISC_CTL] = MGA1064_MISC_CTL_DAC_EN | in mga_crtc_mode_set()
967 dacvalue[MGA1064_VREF_CTL] = 0x07; in mga_crtc_mode_set()
972 dacvalue[MGA1064_PIX_CLK_CTL] = MGA1064_PIX_CLK_CTL_SEL_PLL; in mga_crtc_mode_set()
973 dacvalue[MGA1064_MISC_CTL] = MGA1064_MISC_CTL_VGA8 | in mga_crtc_mode_set()
980 dacvalue[MGA1064_MISC_CTL] = MGA1064_MISC_CTL_VGA8 | in mga_crtc_mode_set()
991 dacvalue[MGA1064_MUL_CTL] = MGA1064_MUL_CTL_8bits; in mga_crtc_mode_set()
995 dacvalue[MGA1064_MUL_CTL] = MGA1064_MUL_CTL_15bits; in mga_crtc_mode_set()
997 dacvalue[MGA1064_MUL_CTL] = MGA1064_MUL_CTL_16bits; in mga_crtc_mode_set()
1000 dacvalue[MGA1064_MUL_CTL] = MGA1064_MUL_CTL_24bits; in mga_crtc_mode_set()
1003 dacvalue[MGA1064_MUL_CTL] = MGA1064_MUL_CTL_32_24bits; in mga_crtc_mode_set()
1013 for (i = 0; i < sizeof(dacvalue); i++) { in mga_crtc_mode_set()
1031 WREG_DAC(i, dacvalue[i]); in mga_crtc_mode_set()