Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c773 struct rgb { uint8_t r, g, b; } __attribute__((packed)) *rgbs; in nv_crtc_gamma_load() local
777 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()