Home
last modified time | relevance | path

Searched refs:gamma_size (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/drm2/
H A Ddrm_mode.h120 __u32 gamma_size; member
151 __u32 gamma_size; member
393 __u32 gamma_size; member
H A Ddrm_fb_helper.c238 g_base = r_base + crtc->gamma_size;
239 b_base = g_base + crtc->gamma_size;
241 for (i = 0; i < crtc->gamma_size; i++)
253 g_base = r_base + crtc->gamma_size;
254 b_base = g_base + crtc->gamma_size;
256 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
841 int gamma_size = 0; in drm_fb_helper_single_fb_probe() local
897 if (gamma_size == 0) in drm_fb_helper_single_fb_probe()
898 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
H A Ddrm_crtc.c1407 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
1699 plane_resp->gamma_size = plane->gamma_size; in drm_mode_getplane()
3398 int gamma_size) in drm_mode_crtc_set_gamma_size() argument
3400 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()
3402 crtc->gamma_store = malloc(gamma_size * sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size()
3436 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()
3441 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
3460 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
3490 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl()
3495 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_get_ioctl()
H A Ddrm_crtc.h409 uint32_t gamma_size; member
663 uint32_t gamma_size; member
980 int gamma_size);