Home
last modified time | relevance | path

Searched refs:num_connectors (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/
Ddrm_plane_helper.c75 int num_connectors) in get_connectors_for_crtc() argument
92 if (connector_list != NULL && count < num_connectors) in get_connectors_for_crtc()
202 int num_connectors, ret; in drm_plane_helper_update_primary() local
226 num_connectors = get_connectors_for_crtc(crtc, NULL, 0); in drm_plane_helper_update_primary()
227 BUG_ON(num_connectors == 0); in drm_plane_helper_update_primary()
228 connector_list = kcalloc(num_connectors, sizeof(*connector_list), in drm_plane_helper_update_primary()
232 get_connectors_for_crtc(crtc, connector_list, num_connectors); in drm_plane_helper_update_primary()
235 set.num_connectors = num_connectors; in drm_plane_helper_update_primary()
Ddrm_crtc_helper.c553 BUG_ON(set->fb && set->num_connectors == 0); in drm_crtc_helper_set_config()
567 (int)set->num_connectors, set->x, set->y); in drm_crtc_helper_set_config()
641 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
654 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
705 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
753 for (i = 0; i < set->num_connectors; i++) { in drm_crtc_helper_set_config()
794 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
Ddrm_client_modeset.c83 for (i = 0; i < modeset->num_connectors; i++) { in drm_client_modeset_release()
87 modeset->num_connectors = 0; in drm_client_modeset_release()
863 if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS || in drm_client_modeset_probe()
864 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) { in drm_client_modeset_probe()
871 modeset->connectors[modeset->num_connectors++] = connector; in drm_client_modeset_probe()
913 if (!modeset->num_connectors) in drm_client_rotation()
1200 for (j = 0; j < modeset->num_connectors; j++) { in drm_client_modeset_dpms_legacy()
Ddrm_atomic.c1532 for (i = 0; i < set->num_connectors; i++) { in update_output_state()
1587 WARN_ON(set->num_connectors); in __drm_atomic_helper_set_config()
1605 WARN_ON(!set->num_connectors); in __drm_atomic_helper_set_config()
Ddrm_fb_helper.c1531 if (modeset->num_connectors) { in pan_display_legacy()
1714 for (j = 0; j < mode_set->num_connectors; j++) { in drm_fb_helper_single_fb_probe()
1868 if (!modeset->num_connectors) in drm_setup_crtcs_fb()
Ddrm_crtc.c882 set.num_connectors = crtc_req->count_connectors; in drm_mode_setcrtc()
/linux-6.1.9/drivers/gpu/drm/xen/
Dxen_drm_front_cfg.c60 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()
Dxen_drm_front_evtchnl.c215 kcalloc(cfg->num_connectors, in xen_drm_front_evtchnl_create_all()
223 for (conn = 0; conn < cfg->num_connectors; conn++) { in xen_drm_front_evtchnl_create_all()
240 front_info->num_evt_pairs = cfg->num_connectors; in xen_drm_front_evtchnl_create_all()
289 for (conn = 0; conn < plat_data->num_connectors; conn++) { in xen_drm_front_evtchnl_publish_all()
Dxen_drm_front_cfg.h27 int num_connectors; member
Dxen_drm_front_kms.c351 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_init()
373 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_fini()
Dxen_drm_front.c377 if (unlikely(conn_idx >= front_info->cfg.num_connectors)) in xen_drm_front_on_frame_done()
597 DRM_INFO("Have %d connector(s)\n", cfg->num_connectors); in displback_initwait()
/linux-6.1.9/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.h79 unsigned int num_connectors; member
Dtilcdc_panel.c242 priv->connectors[priv->num_connectors++] = connector; in panel_modeset_init()
Dtilcdc_drv.c355 ((priv->num_encoders == 0) || (priv->num_connectors == 0))) { in tilcdc_init()
/linux-6.1.9/drivers/gpu/drm/gud/
Dgud_connector.c703 unsigned int i, num_connectors; in gud_get_connectors() local
719 num_connectors = ret / sizeof(*descs); in gud_get_connectors()
721 for (i = 0; i < num_connectors; i++) { in gud_get_connectors()
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.c1232 if (!ucsi->cap.num_connectors) { in ucsi_init()
1238 ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1, in ucsi_init()
1246 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_init()
1423 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_unregister()
Ducsi.h176 u8 num_connectors; member
/linux-6.1.9/include/drm/
Ddrm_crtc.h1207 size_t num_connectors; member
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c462 set.num_connectors = 0; in vmw_fb_kms_detach()
586 set.num_connectors = 1; in vmw_fb_set_par()
/linux-6.1.9/drivers/gpu/drm/gma500/
Dpsb_intel_display.c518 gma_crtc->mode_set.num_connectors = 0; in psb_intel_crtc_init()
/linux-6.1.9/drivers/scsi/esas2r/
Datioctl.h751 u8 num_connectors; member
Desas2r_ioctl.c849 gai->num_connectors = 4; in hba_ioctl_callback()
851 gai->num_connectors = 2; in hba_ioctl_callback()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c710 radeon_crtc->mode_set.num_connectors = 0; in radeon_crtc_init()