Home
last modified time | relevance | path

Searched refs:g_base (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_color_mgmt.c208 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_bas in drm_mode_gamma_get_ioctl() local
[all...]
H A Ddrm_fb_helper.c137 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_color_mgmt.c209 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local
222 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
223 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()
226 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size()
364 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
392 g_base = r_base + size; in drm_mode_gamma_set_ioctl()
393 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
398 b_base = g_base + size; in drm_mode_gamma_set_ioctl()
404 ret = drm_crtc_legacy_gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl()
433 void *r_base, *g_base, *b_bas in drm_mode_gamma_get_ioctl() local
[all...]
H A Ddrm_fb_helper.c136 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
142 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
143 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
145 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()

Completed in 7 milliseconds