/linux/drivers/gpu/drm/ |
A D | drm_plane_helper.c | 73 int num_connectors) in get_connectors_for_crtc() argument 90 if (connector_list != NULL && count < num_connectors) in get_connectors_for_crtc() 176 int num_connectors, ret; in drm_primary_helper_update() local 197 num_connectors = get_connectors_for_crtc(crtc, NULL, 0); in drm_primary_helper_update() 198 BUG_ON(num_connectors == 0); in drm_primary_helper_update() 199 connector_list = kcalloc(num_connectors, sizeof(*connector_list), in drm_primary_helper_update() 203 get_connectors_for_crtc(crtc, connector_list, num_connectors); in drm_primary_helper_update() 206 set.num_connectors = num_connectors; in drm_primary_helper_update()
|
A D | drm_crtc_helper.c | 540 BUG_ON(set->fb && set->num_connectors == 0); in drm_crtc_helper_set_config() 554 (int)set->num_connectors, set->x, set->y); in drm_crtc_helper_set_config() 628 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config() 641 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config() 692 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config() 740 for (i = 0; i < set->num_connectors; i++) { in drm_crtc_helper_set_config() 781 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
|
A D | drm_client_modeset.c | 81 for (i = 0; i < modeset->num_connectors; i++) { in drm_client_modeset_release() 85 modeset->num_connectors = 0; in drm_client_modeset_release() 857 if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS || in drm_client_modeset_probe() 858 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) { in drm_client_modeset_probe() 865 modeset->connectors[modeset->num_connectors++] = connector; in drm_client_modeset_probe() 907 if (!modeset->num_connectors) in drm_client_rotation() 1194 for (j = 0; j < modeset->num_connectors; j++) { in drm_client_modeset_dpms_legacy()
|
A D | drm_atomic.c | 1502 for (i = 0; i < set->num_connectors; i++) { in update_output_state() 1557 WARN_ON(set->num_connectors); in __drm_atomic_helper_set_config() 1575 WARN_ON(!set->num_connectors); in __drm_atomic_helper_set_config()
|
A D | drm_fb_helper.c | 1452 if (modeset->num_connectors) { in pan_display_legacy() 1635 for (j = 0; j < mode_set->num_connectors; j++) { in drm_fb_helper_single_fb_probe() 1776 if (!modeset->num_connectors) in drm_setup_crtcs_fb()
|
/linux/drivers/gpu/drm/xen/ |
A D | xen_drm_front_cfg.c | 60 cfg->num_connectors = 0; in xen_drm_front_cfg_card() 66 cfg->num_connectors++; in xen_drm_front_cfg_card() 69 if (!cfg->num_connectors) { in xen_drm_front_cfg_card()
|
A D | xen_drm_front_evtchnl.c | 236 kcalloc(cfg->num_connectors, in xen_drm_front_evtchnl_create_all() 244 for (conn = 0; conn < cfg->num_connectors; conn++) { in xen_drm_front_evtchnl_create_all() 261 front_info->num_evt_pairs = cfg->num_connectors; in xen_drm_front_evtchnl_create_all() 310 for (conn = 0; conn < plat_data->num_connectors; conn++) { in xen_drm_front_evtchnl_publish_all()
|
A D | xen_drm_front_cfg.h | 27 int num_connectors; member
|
A D | xen_drm_front_kms.c | 350 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_init() 372 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_fini()
|
A D | xen_drm_front.c | 377 if (unlikely(conn_idx >= front_info->cfg.num_connectors)) in xen_drm_front_on_frame_done() 606 DRM_INFO("Have %d connector(s)\n", cfg->num_connectors); in displback_initwait()
|
/linux/drivers/gpu/drm/tilcdc/ |
A D | tilcdc_drv.h | 79 unsigned int num_connectors; member
|
A D | tilcdc_panel.c | 241 priv->connectors[priv->num_connectors++] = connector; in panel_modeset_init()
|
A D | tilcdc_drv.c | 357 ((priv->num_encoders == 0) || (priv->num_connectors == 0))) { in tilcdc_init()
|
/linux/drivers/gpu/drm/gud/ |
A D | gud_connector.c | 702 unsigned int i, num_connectors; in gud_get_connectors() local 718 num_connectors = ret / sizeof(*descs); in gud_get_connectors() 720 for (i = 0; i < num_connectors; i++) { in gud_get_connectors()
|
/linux/drivers/gpu/drm/msm/edp/ |
A D | edp.c | 182 priv->connectors[priv->num_connectors++] = edp->connector; in msm_edp_modeset_init()
|
/linux/drivers/usb/typec/ucsi/ |
A D | ucsi.c | 1208 if (!ucsi->cap.num_connectors) { in ucsi_init() 1214 ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1, in ucsi_init() 1222 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_init() 1360 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_unregister()
|
A D | ucsi.h | 176 u8 num_connectors; member
|
/linux/drivers/gpu/drm/msm/dsi/ |
A D | dsi.c | 257 priv->connectors[priv->num_connectors++] = msm_dsi->connector; in msm_dsi_modeset_init()
|
/linux/include/drm/ |
A D | drm_crtc.h | 1212 size_t num_connectors; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_fb.c | 469 set.num_connectors = 0; in vmw_fb_kms_detach() 593 set.num_connectors = 1; in vmw_fb_set_par()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_drv.h | 225 unsigned int num_connectors; member
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_kms.c | 632 for (i = 0; i < priv->num_connectors; i++) in _dpu_kms_drm_obj_destroy() 634 priv->num_connectors = 0; in _dpu_kms_drm_obj_destroy()
|
/linux/drivers/gpu/drm/gma500/ |
A D | psb_intel_display.c | 530 gma_crtc->mode_set.num_connectors = 0; in psb_intel_crtc_init()
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_kms.c | 233 priv->connectors[priv->num_connectors++] = connector; in mdp4_modeset_init_intf()
|
/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi.c | 315 priv->connectors[priv->num_connectors++] = hdmi->connector; in msm_hdmi_modeset_init()
|