Lines Matching refs:gamma_size
1884 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
2276 plane_resp->gamma_size = 0; in drm_mode_getplane()
5059 int gamma_size) in drm_mode_crtc_set_gamma_size() argument
5061 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()
5063 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size()
5066 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()
5113 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()
5118 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
5137 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
5180 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl()
5185 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_get_ioctl()