Searched refs:g_base (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 496 uint16_t *r_base, *g_base, *b_base; in psb_intel_crtc_init() local 525 g_base = r_base + 256; in psb_intel_crtc_init() 526 b_base = g_base + 256; in psb_intel_crtc_init() 532 g_base[i] = i << 8; in psb_intel_crtc_init()
|
/drivers/gpu/drm/ |
D | drm_fb_helper.c | 206 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()
|
D | drm_crtc.c | 4443 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 4475 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 4476 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl() 4481 b_base = g_base + size; in drm_mode_gamma_set_ioctl() 4487 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 4515 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local 4542 g_base = r_base + size; in drm_mode_gamma_get_ioctl() 4543 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl() 4548 b_base = g_base + size; in drm_mode_gamma_get_ioctl()
|