Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/
Ddrm_color_mgmt.c209 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local
221 r_base = crtc->gamma_store; in drm_mode_crtc_set_gamma_size()
222 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
225 r_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
386 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl()
387 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl()
392 g_base = r_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_base; in drm_mode_gamma_get_ioctl() local
[all …]
Ddrm_fb_helper.c122 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local
127 r_base = crtc->gamma_store; in drm_fb_helper_restore_lut_atomic()
128 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
131 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, in drm_fb_helper_restore_lut_atomic()
/openbsd/src/sys/dev/pci/drm/radeon/
Dradeon_drv.c923 uint16_t *r_base, *g_base, *b_base; in radeondrm_setpal() local
934 r_base = crtc->gamma_store; in radeondrm_setpal()
935 g_base = r_base + crtc->gamma_size; in radeondrm_setpal()
942 r_base[index] = *p++ << 8; in radeondrm_setpal()