Searched refs:g_base (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_fb_helper.c | 236 uint16_t *r_base, *g_base, *b_base; 240 g_base = r_base + crtc->gamma_size; 241 b_base = g_base + crtc->gamma_size; 244 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); 249 uint16_t *r_base, *g_base, *b_base; 255 g_base = r_base + crtc->gamma_size; 256 b_base = g_base + crtc->gamma_size; 258 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
|
H A D | drm_crtc.c | 3453 void *r_base, *g_base, *b_base; local 3486 g_base = (char *)r_base + size; 3487 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { 3492 b_base = (char *)g_base + size; 3498 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); 3512 void *r_base, *g_base, *b_base; local 3540 g_base = (char *)r_base + size; 3541 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { 3546 b_base = (char *)g_base + size;
|
Completed in 59 milliseconds