Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c774 struct rgb { uint8_t r, g, b; } __attribute__((packed)) *rgbs; in nv_crtc_gamma_load() local
778 rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC; in nv_crtc_gamma_load()
784 rgbs[i].r = *r++ >> 8; in nv_crtc_gamma_load()
785 rgbs[i].g = *g++ >> 8; in nv_crtc_gamma_load()
786 rgbs[i].b = *b++ >> 8; in nv_crtc_gamma_load()