Lines Matching refs:num_connector
251 kfree(helper->connector_info, dev->mode_config.num_connector * sizeof(struct drm_fb_helper_connector *));
277 fb_helper->connector_info = kcalloc(dev->mode_config.num_connector, sizeof(struct drm_fb_helper_connector *), GFP_KERNEL);
665 int num_connector = dev->mode_config.num_connector;
670 ASSERT(n <= num_connector);
680 crtcs = kzalloc(num_connector * sizeof(struct drm_fb_helper_crtc *),
726 num_connector *
731 kfree(crtcs, (num_connector * sizeof(struct drm_fb_helper_crtc *)));
743 int i, num_connector = dev->mode_config.num_connector;
750 if ((crtcs = kcalloc(num_connector,
755 if ((modes = kcalloc(num_connector,
760 if ((enabled = kcalloc(num_connector,
772 (void) memset(modes, 0, dev->mode_config.num_connector*sizeof(modes[0]));
773 (void) memset(crtcs, 0, dev->mode_config.num_connector*sizeof(crtcs[0]));
825 kfree(enabled, num_connector * sizeof(bool));
827 kfree(modes, num_connector * sizeof(struct drm_display_mode *));
829 kfree(crtcs, num_connector * sizeof(struct drm_fb_helper_crtc *));