Lines Matching refs:gamma_size
2005 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
2397 plane_resp->gamma_size = 0; in drm_mode_getplane()
4749 int gamma_size) in drm_mode_crtc_set_gamma_size() argument
4751 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()
4753 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size()
4756 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()
4803 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()
4808 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
4827 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
4870 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl()
4875 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_get_ioctl()