Searched refs:g_base (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_color_mgmt.c | 208 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 221 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 222 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 225 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 253 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 281 g_base = r_base + size; in drm_mode_gamma_set_ioctl() 282 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl() 287 b_base = g_base + size; in drm_mode_gamma_set_ioctl() 293 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl() 322 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
| H A D | drm_fb_helper.c | 137 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 143 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 144 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 146 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_vop.c | 4775 u16 *r_base, *g_base, *b_base; in vop_create_crtc() local 4796 g_base = r_base + crtc->gamma_size; in vop_create_crtc() 4797 b_base = g_base + crtc->gamma_size; in vop_create_crtc() 4801 &g_base[i], &b_base[i], in vop_create_crtc()
|
| H A D | rockchip_drm_vop2.c | 10986 u16 *r_base, *g_base, *b_base; in vop2_gamma_init() local 11021 g_base = r_base + crtc->gamma_size; in vop2_gamma_init() 11022 b_base = g_base + crtc->gamma_size; in vop2_gamma_init() 11025 &g_base[j], in vop2_gamma_init()
|