/linux-6.6.21/drivers/gpu/drm/ |
D | drm_plane_helper.c | 66 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()
|
D | drm_crtc_helper.c | 578 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()
|
D | drm_client_modeset.c | 83 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()
|
D | drm_crtc.c | 718 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()
|
D | drm_atomic.c | 1603 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()
|
D | drm_fb_helper.c | 1394 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/ |
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()
|
D | xen_drm_front_evtchnl.c | 215 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()
|
D | xen_drm_front_cfg.h | 27 int num_connectors; member
|
D | xen_drm_front_kms.c | 351 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()
|
D | xen_drm_front.c | 376 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/ |
D | tilcdc_drv.h | 79 unsigned int num_connectors; member
|
D | tilcdc_panel.c | 242 priv->connectors[priv->num_connectors++] = connector; in panel_modeset_init()
|
D | tilcdc_drv.c | 356 ((priv->num_encoders == 0) || (priv->num_connectors == 0))) { in tilcdc_init()
|
/linux-6.6.21/drivers/gpu/drm/gud/ |
D | gud_connector.c | 703 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/ |
D | drm_crtc.h | 1202 size_t num_connectors; member
|
/linux-6.6.21/drivers/usb/typec/ucsi/ |
D | ucsi.c | 1378 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()
|
D | ucsi.h | 177 u8 num_connectors; member
|
/linux-6.6.21/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 521 gma_crtc->mode_set.num_connectors = 0; in psb_intel_crtc_init()
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | atioctl.h | 751 u8 num_connectors; member
|
D | esas2r_ioctl.c | 849 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/ |
D | radeon_display.c | 715 radeon_crtc->mode_set.num_connectors = 0; in radeon_crtc_init()
|