Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
H A Ddrm_color_mgmt.c211 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local
224 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
225 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()
228 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size()
366 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
394 g_base = r_base + size; in drm_mode_gamma_set_ioctl()
395 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
400 b_base = g_base + size; in drm_mode_gamma_set_ioctl()
406 ret = drm_crtc_legacy_gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl()
435 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
[all …]
H A Ddrm_fb_helper.c120 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
126 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
127 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
129 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()