Lines Matching refs:mode_set

198 		remove_from_modeset(&fb_helper->crtc_info[i].mode_set, connector);  in drm_fb_helper_remove_one_connector()
246 struct drm_mode_set *mode_set = in drm_fb_helper_debug_enter() local
247 &helper->crtc_info[i].mode_set; in drm_fb_helper_debug_enter()
249 if (!mode_set->crtc->enabled) in drm_fb_helper_debug_enter()
252 funcs = mode_set->crtc->helper_private; in drm_fb_helper_debug_enter()
253 drm_fb_helper_save_lut_atomic(mode_set->crtc, helper); in drm_fb_helper_debug_enter()
254 funcs->mode_set_base_atomic(mode_set->crtc, in drm_fb_helper_debug_enter()
255 mode_set->fb, in drm_fb_helper_debug_enter()
256 mode_set->x, in drm_fb_helper_debug_enter()
257 mode_set->y, in drm_fb_helper_debug_enter()
293 struct drm_mode_set *mode_set = &helper->crtc_info[i].mode_set; in drm_fb_helper_debug_leave() local
294 crtc = mode_set->crtc; in drm_fb_helper_debug_leave()
306 drm_fb_helper_restore_lut_atomic(mode_set->crtc); in drm_fb_helper_debug_leave()
307 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x, in drm_fb_helper_debug_leave()
336 struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; in restore_fbdev_mode() local
337 struct drm_crtc *crtc = mode_set->crtc; in restore_fbdev_mode()
346 ret = drm_mode_set_config_internal(mode_set); in restore_fbdev_mode()
524 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_dpms()
581 kfree(helper->crtc_info[i].mode_set.connectors); in drm_fb_helper_crtc_free()
582 if (helper->crtc_info[i].mode_set.mode) in drm_fb_helper_crtc_free()
583 drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode); in drm_fb_helper_crtc_free()
647 fb_helper->crtc_info[i].mode_set.connectors = in drm_fb_helper_init()
652 if (!fb_helper->crtc_info[i].mode_set.connectors) in drm_fb_helper_init()
654 fb_helper->crtc_info[i].mode_set.num_connectors = 0; in drm_fb_helper_init()
659 fb_helper->crtc_info[i].mode_set.crtc = crtc; in drm_fb_helper_init()
783 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_setcmap()
959 modeset = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_pan_display()
1037 struct drm_mode_set *mode_set; in drm_fb_helper_single_fb_probe() local
1046 mode_set = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_single_fb_probe()
1057 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
1062 for (j = 0; j < mode_set->num_connectors; j++) { in drm_fb_helper_single_fb_probe()
1063 struct drm_connector *connector = mode_set->connectors[j]; in drm_fb_helper_single_fb_probe()
1101 if (fb_helper->crtc_info[i].mode_set.num_connectors) in drm_fb_helper_single_fb_probe()
1102 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
1680 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()
1689 modeset = &fb_crtc->mode_set; in drm_setup_crtcs()
1693 mode->name, fb_crtc->mode_set.crtc->base.id, offset->x, offset->y); in drm_setup_crtcs()
1710 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()