Lines Matching refs:funcs

209 	if (helper->funcs->gamma_get == NULL)  in drm_fb_helper_save_lut_atomic()
217 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic()
224 if (crtc->funcs->gamma_set == NULL) in drm_fb_helper_restore_lut_atomic()
231 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
241 const struct drm_crtc_helper_funcs *funcs; in drm_fb_helper_debug_enter() local
252 funcs = mode_set->crtc->helper_private; in drm_fb_helper_debug_enter()
254 funcs->mode_set_base_atomic(mode_set->crtc, in drm_fb_helper_debug_enter()
288 const struct drm_crtc_helper_funcs *funcs; in drm_fb_helper_debug_leave() local
295 funcs = crtc->helper_private; in drm_fb_helper_debug_leave()
307 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x, in drm_fb_helper_debug_leave()
340 if (crtc->funcs->cursor_set) { in restore_fbdev_mode()
341 ret = crtc->funcs->cursor_set(crtc, NULL, 0, 0, 0); in restore_fbdev_mode()
532 connector->funcs->dpms(connector, dpms_mode); in drm_fb_helper_dpms()
598 const struct drm_fb_helper_funcs *funcs) in drm_fb_helper_prepare() argument
601 helper->funcs = funcs; in drm_fb_helper_prepare()
720 if (WARN_ON(!fb_helper->funcs->gamma_set || in setcolreg()
721 !fb_helper->funcs->gamma_get)) in setcolreg()
739 fb_helper->funcs->gamma_set(crtc, red, in setcolreg()
743 fb_helper->funcs->gamma_get(crtc, &r, in setcolreg()
748 fb_helper->funcs->gamma_set(crtc, r, in setcolreg()
755 fb_helper->funcs->gamma_set(crtc, red, green, blue, pindex); in setcolreg()
1087 ret = (*fb_helper->funcs->fb_probe)(fb_helper, &sizes); in drm_fb_helper_single_fb_probe()
1256 count += connector->funcs->fill_modes(connector, maxX, maxY); in drm_fb_helper_probe_connector_modes()
1657 if (!(fb_helper->funcs->initial_config && in drm_setup_crtcs()
1658 fb_helper->funcs->initial_config(fb_helper, crtcs, modes, in drm_setup_crtcs()