Home
last modified time | relevance | path

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

/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()
/drivers/gpu/drm/
Ddrm_fb_helper.c230 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_save_lut_atomic() local
237 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
238 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
241 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic()
246 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
252 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
253 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
255 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
Ddrm_crtc.c5091 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
5123 g_base = r_base + size; in drm_mode_gamma_set_ioctl()
5124 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
5129 b_base = g_base + size; in drm_mode_gamma_set_ioctl()
5135 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
5163 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
5190 g_base = r_base + size; in drm_mode_gamma_get_ioctl()
5191 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
5196 b_base = g_base + size; in drm_mode_gamma_get_ioctl()