Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/mgag200/
Dmgag200_cursor.c45 uint32_t colour_set[16]; in mga_crtc_cursor_set() local
46 uint32_t *next_space = &colour_set[0]; in mga_crtc_cursor_set()
124 memset(&colour_set[0], 0, sizeof(uint32_t)*16); in mga_crtc_cursor_set()
143 for (palette_iter = &colour_set[0]; palette_iter != next_space; palette_iter++) { in mga_crtc_cursor_set()
172 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()
175 BUG_ON((colour_set[i]>>24 & 0xff) != 0xff); in mga_crtc_cursor_set()
191 if (colour_set[i] == this_colour) { in mga_crtc_cursor_set()