Lines Matching refs:g_base
209 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local
222 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
223 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()
226 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size()
364 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
392 g_base = r_base + size; in drm_mode_gamma_set_ioctl()
393 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
398 b_base = g_base + size; in drm_mode_gamma_set_ioctl()
404 ret = drm_crtc_legacy_gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl()
433 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
456 g_base = r_base + size; in drm_mode_gamma_get_ioctl()
457 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
462 b_base = g_base + size; in drm_mode_gamma_get_ioctl()