Searched refs:rgbs (Results 1 – 1 of 1) sorted by relevance
773 struct rgb { uint8_t r, g, b; } __attribute__((packed)) *rgbs; in nv_crtc_gamma_load() local777 rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC; in nv_crtc_gamma_load()783 rgbs[i].r = *r++ >> 8; in nv_crtc_gamma_load()784 rgbs[i].g = *g++ >> 8; in nv_crtc_gamma_load()785 rgbs[i].b = *b++ >> 8; in nv_crtc_gamma_load()