Searched refs:g_base (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/drm2/ |
H A D | drm_fb_helper.c | 234 uint16_t *r_base, *g_base, *b_base; 238 g_base = r_base + crtc->gamma_size; 239 b_base = g_base + crtc->gamma_size; 242 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); 247 uint16_t *r_base, *g_base, *b_base; 253 g_base = r_base + crtc->gamma_size; 254 b_base = g_base + crtc->gamma_size; 256 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
|
H A D | drm_crtc.c | 3415 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 3448 g_base = (char *)r_base + size; in drm_mode_gamma_set_ioctl() 3449 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl() 3454 b_base = (char *)g_base + size; in drm_mode_gamma_set_ioctl() 3460 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 3474 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local 3502 g_base = (char *)r_base + size; in drm_mode_gamma_get_ioctl() 3503 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl() 3508 b_base = (char *)g_base + size; in drm_mode_gamma_get_ioctl()
|