Searched refs:g_base (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_color_mgmt.c | 213 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 226 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 227 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 230 g_base[i] = i << 8; in drm_mode_crtc_set_gamma_size() 258 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local 286 g_base = (char *)r_base + size; in drm_mode_gamma_set_ioctl() 287 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl() 292 b_base = (char *)g_base + size; in drm_mode_gamma_set_ioctl() 298 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_mode_gamma_set_ioctl() 327 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local [all …]
|
H A D | drm_fb_helper.c | 151 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 157 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 158 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 160 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
|