Home
last modified time | relevance | path

Searched refs:WREG_DAC (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/mgag200/
Dmgag200_i2c.c49 WREG_DAC(MGA1064_GEN_IO_CTL, tmp); in mga_i2c_set_gpio()
50 WREG_DAC(MGA1064_GEN_IO_DATA, 0); in mga_i2c_set_gpio()
97 WREG_DAC(MGA1064_GEN_IO_CTL2, 1); in mgag200_i2c_create()
98 WREG_DAC(MGA1064_GEN_IO_DATA, 0xff); in mgag200_i2c_create()
99 WREG_DAC(MGA1064_GEN_IO_CTL, 0); in mgag200_i2c_create()
Dmgag200_mode.c207 WREG_DAC(MGA1064_PIX_PLLC_M, m); in mga_g200se_set_plls()
208 WREG_DAC(MGA1064_PIX_PLLC_N, n); in mga_g200se_set_plls()
209 WREG_DAC(MGA1064_PIX_PLLC_P, p); in mga_g200se_set_plls()
212 WREG_DAC(0x1a, 0x09); in mga_g200se_set_plls()
214 WREG_DAC(0x1a, 0x01); in mga_g200se_set_plls()
343 WREG_DAC(MGA1064_WB_PIX_PLLC_N, n); in mga_g200wb_set_plls()
344 WREG_DAC(MGA1064_WB_PIX_PLLC_M, m); in mga_g200wb_set_plls()
345 WREG_DAC(MGA1064_WB_PIX_PLLC_P, p); in mga_g200wb_set_plls()
353 WREG_DAC(MGA1064_VREF_CTL, tmp); in mga_g200wb_set_plls()
396 WREG_DAC(MGA1064_REMHEADCTL, tmp); in mga_g200wb_set_plls()
[all …]
Dmgag200_cursor.c172 WREG_DAC(reg_index, colour_set[i] & 0xff); in mga_crtc_cursor_set()
173 WREG_DAC(reg_index+1, colour_set[i]>>8 & 0xff); in mga_crtc_cursor_set()
174 WREG_DAC(reg_index+2, colour_set[i]>>16 & 0xff); in mga_crtc_cursor_set()
204 WREG_DAC(MGA1064_CURSOR_BASE_ADR_LOW, (u8)((dst_gpu>>10) & 0xff)); in mga_crtc_cursor_set()
205 WREG_DAC(MGA1064_CURSOR_BASE_ADR_HI, (u8)((dst_gpu>>18) & 0x3f)); in mga_crtc_cursor_set()
208 WREG_DAC(MGA1064_CURSOR_CTL, 4); /* 16-colour palletized cursor mode */ in mga_crtc_cursor_set()
Dmgag200_drv.h84 #define WREG_DAC(reg, v) \ macro