Searched refs:g_base (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 138 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 151 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 152 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 155 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 183 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 215 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 216 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl() 221 b_base = g_base + size; in drm_mode_gamma_set_ioctl() 227 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 255 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
D | drm_fb_helper.c | 212 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_save_lut_atomic() local 219 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 220 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 223 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic() 228 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 234 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 235 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 237 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
|