Searched refs:g_base (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_fb_helper.c131 uint16_t *r_base, *g_base, *b_base; local
138 g_base = r_base + crtc->gamma_size;
139 b_base = g_base + crtc->gamma_size;
142 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i);
147 uint16_t *r_base, *g_base, *b_base; local
153 g_base = r_base + crtc->gamma_size;
154 b_base = g_base + crtc->gamma_size;
156 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
H A Ddrm_crtc.c3360 void *r_base, *g_base, *b_base; local
3393 g_base = (void *)((uintptr_t)r_base + size);
3394 if (DRM_COPY_FROM_USER(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) {
3399 b_base = (void *)((uintptr_t)g_base + size);
3405 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
3419 void *r_base, *g_base, *b_base; local
3447 g_base =(void *)((long)r_base + size);
3448 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
3453 b_base = (void *)((long)g_base + size);

Completed in 19 milliseconds