crtc_lut 241 drivers/gpu/drm/drm_color_mgmt.c struct drm_mode_crtc_lut *crtc_lut = data; crtc_lut 251 drivers/gpu/drm/drm_color_mgmt.c crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); crtc_lut 259 drivers/gpu/drm/drm_color_mgmt.c if (crtc_lut->gamma_size != crtc->gamma_size) crtc_lut 264 drivers/gpu/drm/drm_color_mgmt.c size = crtc_lut->gamma_size * (sizeof(uint16_t)); crtc_lut 266 drivers/gpu/drm/drm_color_mgmt.c if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { crtc_lut 272 drivers/gpu/drm/drm_color_mgmt.c if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { crtc_lut 278 drivers/gpu/drm/drm_color_mgmt.c if (copy_from_user(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) { crtc_lut 310 drivers/gpu/drm/drm_color_mgmt.c struct drm_mode_crtc_lut *crtc_lut = data; crtc_lut 319 drivers/gpu/drm/drm_color_mgmt.c crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); crtc_lut 324 drivers/gpu/drm/drm_color_mgmt.c if (crtc_lut->gamma_size != crtc->gamma_size) crtc_lut 328 drivers/gpu/drm/drm_color_mgmt.c size = crtc_lut->gamma_size * (sizeof(uint16_t)); crtc_lut 330 drivers/gpu/drm/drm_color_mgmt.c if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_base, size)) { crtc_lut 336 drivers/gpu/drm/drm_color_mgmt.c if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { crtc_lut 342 drivers/gpu/drm/drm_color_mgmt.c if (copy_to_user((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) {