Home
last modified time | relevance | path

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

/freebsd/sys/dev/drm2/
H A Ddrm_fb_helper.c234 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 Ddrm_crtc.c3451 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
3484 g_base = (char *)r_base + size; in drm_mode_gamma_set_ioctl()
3485 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
3490 b_base = (char *)g_base + size; in drm_mode_gamma_set_ioctl()
3496 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
3510 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
3538 g_base = (char *)r_base + size; in drm_mode_gamma_get_ioctl()
3539 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
3544 b_base = (char *)g_base + size; in drm_mode_gamma_get_ioctl()