Lines Matching refs:funcs
233 if (helper->funcs->gamma_get == NULL) in drm_fb_helper_save_lut_atomic()
241 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic()
248 if (crtc->funcs->gamma_set == NULL) in drm_fb_helper_restore_lut_atomic()
255 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
265 const struct drm_crtc_helper_funcs *funcs; in drm_fb_helper_debug_enter() local
276 funcs = mode_set->crtc->helper_private; in drm_fb_helper_debug_enter()
278 funcs->mode_set_base_atomic(mode_set->crtc, in drm_fb_helper_debug_enter()
312 const struct drm_crtc_helper_funcs *funcs; in drm_fb_helper_debug_leave() local
319 funcs = crtc->helper_private; in drm_fb_helper_debug_leave()
331 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x, in drm_fb_helper_debug_leave()
432 if (crtc->funcs->cursor_set2) { in restore_fbdev_mode()
433 ret = crtc->funcs->cursor_set2(crtc, NULL, 0, 0, 0, 0, 0); in restore_fbdev_mode()
436 } else if (crtc->funcs->cursor_set) { in restore_fbdev_mode()
437 ret = crtc->funcs->cursor_set(crtc, NULL, 0, 0, 0); in restore_fbdev_mode()
585 connector->funcs->dpms(connector, dpms_mode); in drm_fb_helper_dpms()
654 const struct drm_fb_helper_funcs *funcs) in drm_fb_helper_prepare() argument
657 helper->funcs = funcs; in drm_fb_helper_prepare()
1004 if (WARN_ON(!fb_helper->funcs->gamma_set || in setcolreg()
1005 !fb_helper->funcs->gamma_get)) in setcolreg()
1023 fb_helper->funcs->gamma_set(crtc, red, in setcolreg()
1027 fb_helper->funcs->gamma_get(crtc, &r, in setcolreg()
1032 fb_helper->funcs->gamma_set(crtc, r, in setcolreg()
1039 fb_helper->funcs->gamma_set(crtc, red, green, blue, pindex); in setcolreg()
1442 ret = (*fb_helper->funcs->fb_probe)(fb_helper, &sizes); in drm_fb_helper_single_fb_probe()
1606 count += connector->funcs->fill_modes(connector, maxX, maxY); in drm_fb_helper_probe_connector_modes()
2007 if (!(fb_helper->funcs->initial_config && in drm_setup_crtcs()
2008 fb_helper->funcs->initial_config(fb_helper, crtcs, modes, in drm_setup_crtcs()