Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/drm2/
H A Ddrm_fb_helper.c236 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 Ddrm_crtc.c3453 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
3486 g_base = (char *)r_base + size; in drm_mode_gamma_set_ioctl()
3487 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
3492 b_base = (char *)g_base + size; in drm_mode_gamma_set_ioctl()
3498 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
3512 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
3540 g_base = (char *)r_base + size; in drm_mode_gamma_get_ioctl()
3541 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
3546 b_base = (char *)g_base + size; in drm_mode_gamma_get_ioctl()