Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/
Ddrm_plane_helper.c66 int num_connectors) in get_connectors_for_crtc() argument
83 if (connector_list != NULL && count < num_connectors) in get_connectors_for_crtc()
193 int num_connectors, ret; in drm_plane_helper_update_primary() local
217 num_connectors = get_connectors_for_crtc(crtc, NULL, 0); in drm_plane_helper_update_primary()
218 BUG_ON(num_connectors == 0); in drm_plane_helper_update_primary()
219 connector_list = kcalloc(num_connectors, sizeof(*connector_list), in drm_plane_helper_update_primary()
223 get_connectors_for_crtc(crtc, connector_list, num_connectors); in drm_plane_helper_update_primary()
226 set.num_connectors = num_connectors; in drm_plane_helper_update_primary()
Ddrm_crtc_helper.c578 BUG_ON(set->fb && set->num_connectors == 0); in drm_crtc_helper_set_config()
592 (int)set->num_connectors, set->x, set->y); in drm_crtc_helper_set_config()
666 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
679 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
730 for (ro = 0; ro < set->num_connectors; ro++) { in drm_crtc_helper_set_config()
778 for (i = 0; i < set->num_connectors; i++) { in drm_crtc_helper_set_config()
819 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()
864 if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS || in drm_client_modeset_probe()
865 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) { in drm_client_modeset_probe()
873 modeset->connectors[modeset->num_connectors++] = connector; in drm_client_modeset_probe()
915 if (!modeset->num_connectors) in drm_client_rotation()
1202 for (j = 0; j < modeset->num_connectors; j++) { in drm_client_modeset_dpms_legacy()
Ddrm_crtc.c718 int ret, i, num_connectors = 0; in drm_mode_setcrtc() local
873 num_connectors++; in drm_mode_setcrtc()
882 set.num_connectors = num_connectors; in drm_mode_setcrtc()
895 for (i = 0; i < num_connectors; i++) { in drm_mode_setcrtc()
Ddrm_atomic.c1603 for (i = 0; i < set->num_connectors; i++) { in update_output_state()
1658 WARN_ON(set->num_connectors); in __drm_atomic_helper_set_config()
1676 WARN_ON(!set->num_connectors); in __drm_atomic_helper_set_config()
Ddrm_fb_helper.c1394 if (modeset->num_connectors) { in pan_display_legacy()
1594 for (j = 0; j < mode_set->num_connectors; j++) { in __drm_fb_helper_find_sizes()
1785 if (!modeset->num_connectors) in drm_setup_crtcs_fb()
/linux-6.6.21/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.c376 if (unlikely(conn_idx >= front_info->cfg.num_connectors)) in xen_drm_front_on_frame_done()
593 DRM_INFO("Have %d connector(s)\n", cfg->num_connectors); in displback_initwait()
/linux-6.6.21/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.c356 ((priv->num_encoders == 0) || (priv->num_connectors == 0))) { in tilcdc_init()
/linux-6.6.21/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.6.21/include/drm/
Ddrm_crtc.h1202 size_t num_connectors; member
/linux-6.6.21/drivers/usb/typec/ucsi/
Ducsi.c1378 if (!ucsi->cap.num_connectors) { in ucsi_init()
1384 connector = kcalloc(ucsi->cap.num_connectors + 1, sizeof(*connector), GFP_KERNEL); in ucsi_init()
1391 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_init()
1586 for (i = 0; i < ucsi->cap.num_connectors; i++) { in ucsi_unregister()
Ducsi.h177 u8 num_connectors; member
/linux-6.6.21/drivers/gpu/drm/gma500/
Dpsb_intel_display.c521 gma_crtc->mode_set.num_connectors = 0; in psb_intel_crtc_init()
/linux-6.6.21/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.6.21/drivers/gpu/drm/radeon/
Dradeon_display.c715 radeon_crtc->mode_set.num_connectors = 0; in radeon_crtc_init()