Lines Matching refs:crtc_info

271 				&helper->crtc_info[i].mode_set;
313 struct drm_mode_set *mode_set = &helper->crtc_info[i].mode_set;
342 struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; in drm_fb_helper_restore_fbdev_mode()
442 crtc = fb_helper->crtc_info[i].mode_set.crtc;
495 free(helper->crtc_info[i].mode_set.connectors, DRM_MEM_KMS); in drm_fb_helper_crtc_free()
496 if (helper->crtc_info[i].mode_set.mode) in drm_fb_helper_crtc_free()
497 drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode); in drm_fb_helper_crtc_free()
499 free(helper->crtc_info, DRM_MEM_KMS); in drm_fb_helper_crtc_free()
513 fb_helper->crtc_info = malloc(crtc_count * sizeof(struct drm_fb_helper_crtc), in drm_fb_helper_init()
515 if (!fb_helper->crtc_info) in drm_fb_helper_init()
522 free(fb_helper->crtc_info, DRM_MEM_KMS); in drm_fb_helper_init()
528 fb_helper->crtc_info[i].mode_set.connectors = in drm_fb_helper_init()
533 if (!fb_helper->crtc_info[i].mode_set.connectors) in drm_fb_helper_init()
535 fb_helper->crtc_info[i].mode_set.num_connectors = 0; in drm_fb_helper_init()
540 fb_helper->crtc_info[i].mode_set.crtc = crtc; in drm_fb_helper_init()
645 crtc = fb_helper->crtc_info[i].mode_set.crtc;
783 crtc = fb_helper->crtc_info[i].mode_set.crtc;
784 ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set);
812 crtc = fb_helper->crtc_info[i].mode_set.crtc;
814 modeset = &fb_helper->crtc_info[i].mode_set;
894 desired_mode = fb_helper->crtc_info[i].desired_mode; 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()
931 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
952 crtc = fb_helper->crtc_info[i].mode_set.crtc; in drm_fb_helper_single_fb_probe()
953 ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set); in drm_fb_helper_single_fb_probe()
1289 crtc = &fb_helper->crtc_info[c]; in drm_pick_crtcs()
1366 modeset = &fb_helper->crtc_info[i].mode_set; in drm_setup_crtcs()