Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c784 struct rgb { uint8_t r, g, b; } __attribute__((packed)) *rgbs; in nv_crtc_gamma_load() local
788 rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC; in nv_crtc_gamma_load()
794 rgbs[i].r = *r++ >> 8; in nv_crtc_gamma_load()
795 rgbs[i].g = *g++ >> 8; in nv_crtc_gamma_load()
796 rgbs[i].b = *b++ >> 8; in nv_crtc_gamma_load()