Searched refs:b_base (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_color_mgmt.c | 209 uint16_t *r_base, *g_base, *b_base; in drm_mode_crtc_set_gamma_size() local 223 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 227 b_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 398 b_base = g_base + size; in drm_mode_gamma_set_ioctl() 399 if (copy_from_user(b_base, (void __user *)(unsigned long)crtc_lut->blue, 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 462 b_base = g_base + size; in drm_mode_gamma_get_ioctl() 463 if (copy_to_user((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) { in drm_mode_gamma_get_ioctl()
|
| D | drm_fb_helper.c | 122 uint16_t *r_base, *g_base, *b_base; in drm_fb_helper_restore_lut_atomic() local 129 b_base = g_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/ |
| D | radeon_drv.c | 923 uint16_t *r_base, *g_base, *b_base; in radeondrm_setpal() local 936 b_base = g_base + crtc->gamma_size; in radeondrm_setpal() 944 b_base[index] = *p++ << 8; in radeondrm_setpal()
|