Lines Matching refs:mode_set
272 struct drm_mode_set *mode_set =
273 &helper->crtc_info[i].mode_set;
275 if (!mode_set->crtc->enabled)
278 funcs = mode_set->crtc->helper_private;
279 drm_fb_helper_save_lut_atomic(mode_set->crtc, helper);
280 funcs->mode_set_base_atomic(mode_set->crtc,
281 mode_set->fb,
282 mode_set->x,
283 mode_set->y,
315 struct drm_mode_set *mode_set = &helper->crtc_info[i].mode_set;
316 crtc = mode_set->crtc;
328 drm_fb_helper_restore_lut_atomic(mode_set->crtc);
329 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x,
344 struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_restore_fbdev_mode() local
345 ret = mode_set->crtc->funcs->set_config(mode_set); in drm_fb_helper_restore_fbdev_mode()
444 crtc = fb_helper->crtc_info[i].mode_set.crtc;
497 free(helper->crtc_info[i].mode_set.connectors, DRM_MEM_KMS); in drm_fb_helper_crtc_free()
498 if (helper->crtc_info[i].mode_set.mode) in drm_fb_helper_crtc_free()
499 drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode); in drm_fb_helper_crtc_free()
530 fb_helper->crtc_info[i].mode_set.connectors = in drm_fb_helper_init()
535 if (!fb_helper->crtc_info[i].mode_set.connectors) in drm_fb_helper_init()
537 fb_helper->crtc_info[i].mode_set.num_connectors = 0; in drm_fb_helper_init()
542 fb_helper->crtc_info[i].mode_set.crtc = crtc; in drm_fb_helper_init()
647 crtc = fb_helper->crtc_info[i].mode_set.crtc;
785 crtc = fb_helper->crtc_info[i].mode_set.crtc;
786 ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set);
814 crtc = fb_helper->crtc_info[i].mode_set.crtc;
816 modeset = &fb_helper->crtc_info[i].mode_set;
900 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
933 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
954 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_single_fb_probe()
955 ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set); in drm_fb_helper_single_fb_probe()
1371 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()
1378 modeset = &fb_crtc->mode_set; in drm_setup_crtcs()
1382 mode->name, fb_crtc->mode_set.crtc->base.id); in drm_setup_crtcs()