Searched refs:gamma_size (Results 1 – 7 of 7) sorted by relevance
222 int drm_mode_crtc_set_gamma_size(struct drm_crtc *crtc, int gamma_size) in drm_mode_crtc_set_gamma_size() argument227 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()229 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 0x3, GFP_KERNEL); in drm_mode_crtc_set_gamma_size()231 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()236 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()237 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()238 for (i = 0; i < gamma_size; i++) { in drm_mode_crtc_set_gamma_size()285 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()291 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()310 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, crtc->gamma_size, &ctx); in drm_mode_gamma_set_ioctl()[all …]
1059 uint32_t gamma_size; member
4481 g_base = r_base + crtc->gamma_size; in vop_create_crtc()4482 b_base = g_base + crtc->gamma_size; in vop_create_crtc()
8060 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()8061 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()
8627 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()8628 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()
8163 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()8164 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()
26939 - for (i = 0; i < crtc->gamma_size; i++) {27324 - if (len != crtc->gamma_size) {27326 - len, crtc->gamma_size);28138 + g_base = r_base + crtc->gamma_size;28139 + b_base = g_base + crtc->gamma_size;