Lines Matching defs:crtc_lut
3357 struct drm_mode_crtc_lut *crtc_lut = data;
3368 obj = drm_mode_object_find(dev, crtc_lut->crtc_id, DRM_MODE_OBJECT_CRTC);
3381 if (crtc_lut->gamma_size != crtc->gamma_size) {
3386 size = crtc_lut->gamma_size * (sizeof(uint16_t));
3388 if (DRM_COPY_FROM_USER(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) {
3394 if (DRM_COPY_FROM_USER(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) {
3400 if (DRM_COPY_FROM_USER(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) {
3416 struct drm_mode_crtc_lut *crtc_lut = data;
3427 obj = drm_mode_object_find(dev, crtc_lut->crtc_id, DRM_MODE_OBJECT_CRTC);
3435 if (crtc_lut->gamma_size != crtc->gamma_size) {
3440 size = crtc_lut->gamma_size * (sizeof(uint16_t));
3442 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->red, r_base, size)) {
3448 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
3454 if (DRM_COPY_TO_USER((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) {