Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/gma500/
Dpsb_intel_display.c497 uint16_t *r_base, *g_base, *b_base; in psb_intel_crtc_init() local
526 g_base = r_base + 256; in psb_intel_crtc_init()
527 b_base = g_base + 256; in psb_intel_crtc_init()
533 g_base[i] = i << 8; in psb_intel_crtc_init()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c206 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_save_lut_atomic() local
213 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
214 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
217 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic()
222 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
228 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
229 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
231 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
Ddrm_crtc.c4783 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
4815 g_base = r_base + size; in drm_mode_gamma_set_ioctl()
4816 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
4821 b_base = g_base + size; in drm_mode_gamma_set_ioctl()
4827 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
4855 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
4882 g_base = r_base + size; in drm_mode_gamma_get_ioctl()
4883 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
4888 b_base = g_base + size; in drm_mode_gamma_get_ioctl()