/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_client_modeset.c | 56 modeset->connectors = kcalloc(max_connector_count, in drm_client_modeset_create() 57 sizeof(*modeset->connectors), GFP_KERNEL); in drm_client_modeset_create() 58 if (!modeset->connectors) in drm_client_modeset_create() 81 drm_connector_put(modeset->connectors[i]); in drm_client_modeset_release() 82 modeset->connectors[i] = NULL; in drm_client_modeset_release() 97 kfree(modeset->connectors); in drm_client_modeset_free() 231 static void drm_client_connectors_enabled(struct drm_connector **connectors, in drm_client_connectors_enabled() argument 240 connector = connectors[i]; in drm_client_connectors_enabled() 252 enabled[i] = drm_connector_enabled(connectors[i], false); in drm_client_connectors_enabled() 256 struct drm_connector **connectors, in drm_client_target_cloned() 255 drm_client_target_cloned(struct drm_device *dev, struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_target_cloned() argument 340 drm_client_get_tile_offsets(struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, int idx, int h_idx, int v_idx) drm_client_get_tile_offsets() argument 373 drm_client_target_preferred(struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_target_preferred() argument 488 drm_client_pick_crtcs(struct drm_client_dev *client, struct drm_connector **connectors, unsigned int connector_count, struct drm_crtc **best_crtcs, struct drm_display_mode **modes, int n, int width, int height) drm_client_pick_crtcs() argument 563 drm_client_firmware_config(struct drm_client_dev *client, struct drm_connector **connectors, unsigned int connector_count, struct drm_crtc **crtcs, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_firmware_config() argument 771 struct drm_connector *connector, **connectors = NULL; drm_client_modeset_probe() local [all...] |
H A D | drm_atomic.c | 66 kfree(state->connectors); in drm_atomic_state_default_release() 163 struct drm_connector *connector = state->connectors[i].ptr; in drm_atomic_state_default_clear() 169 state->connectors[i].state); in drm_atomic_state_default_clear() 170 state->connectors[i].ptr = NULL; in drm_atomic_state_default_clear() 171 state->connectors[i].state = NULL; in drm_atomic_state_default_clear() 172 state->connectors[i].old_state = NULL; in drm_atomic_state_default_clear() 173 state->connectors[i].new_state = NULL; in drm_atomic_state_default_clear() 261 * per-object state for planes, CRTCs and connectors. 695 * helpers already provide for connectors, planes and CRTCs. 879 * connectors attache [all...] |
H A D | drm_crtc_helper.c | 206 * disconnected connectors. Then it will disable all unused encoders and CRTCs 259 * Try to set @mode on @crtc. Give @crtc and its associated connectors a chance 312 /* Pass our mode to the connectors and the CRTC to give them a chance to in drm_crtc_helper_set_mode() 387 /* Now enable the clocks, plane, pipe, and connectors that we set up. */ in drm_crtc_helper_set_mode() 431 /* Decouple all encoders and their attached connectors from this crtc */ in drm_crtc_helper_disable() 463 * For connectors that support multiple encoders, either the 551 DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y) (%i %i)\n", in drm_crtc_helper_set_config() 625 /* take a reference on all unbound connectors in set, reuse the in drm_crtc_helper_set_config() 626 * already taken reference for bound connectors in drm_crtc_helper_set_config() 629 if (set->connectors[r in drm_crtc_helper_set_config() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_client_modeset.c | 59 modeset->connectors = kcalloc(max_connector_count, in drm_client_modeset_create() 60 sizeof(*modeset->connectors), GFP_KERNEL); in drm_client_modeset_create() 61 if (!modeset->connectors) in drm_client_modeset_create() 84 drm_connector_put(modeset->connectors[i]); in drm_client_modeset_release() 85 modeset->connectors[i] = NULL; in drm_client_modeset_release() 100 kfree(modeset->connectors); in drm_client_modeset_free() 234 static void drm_client_connectors_enabled(struct drm_connector **connectors, in drm_client_connectors_enabled() argument 243 connector = connectors[i]; in drm_client_connectors_enabled() 255 enabled[i] = drm_connector_enabled(connectors[i], false); in drm_client_connectors_enabled() 259 struct drm_connector **connectors, in drm_client_target_cloned() 258 drm_client_target_cloned(struct drm_device *dev, struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_target_cloned() argument 343 drm_client_get_tile_offsets(struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, int idx, int h_idx, int v_idx) drm_client_get_tile_offsets() argument 376 drm_client_target_preferred(struct drm_connector **connectors, unsigned int connector_count, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_target_preferred() argument 491 drm_client_pick_crtcs(struct drm_client_dev *client, struct drm_connector **connectors, unsigned int connector_count, struct drm_crtc **best_crtcs, struct drm_display_mode **modes, int n, int width, int height) drm_client_pick_crtcs() argument 566 drm_client_firmware_config(struct drm_client_dev *client, struct drm_connector **connectors, unsigned int connector_count, struct drm_crtc **crtcs, struct drm_display_mode **modes, struct drm_client_offset *offsets, bool *enabled, int width, int height) drm_client_firmware_config() argument 774 struct drm_connector *connector, **connectors = NULL; drm_client_modeset_probe() local [all...] |
H A D | drm_atomic.c | 108 kfree(state->connectors); in drm_atomic_state_default_release() 205 struct drm_connector *connector = state->connectors[i].ptr; in drm_atomic_state_default_clear() 211 state->connectors[i].state); in drm_atomic_state_default_clear() 212 state->connectors[i].ptr = NULL; in drm_atomic_state_default_clear() 213 state->connectors[i].state = NULL; in drm_atomic_state_default_clear() 214 state->connectors[i].old_state = NULL; in drm_atomic_state_default_clear() 215 state->connectors[i].new_state = NULL; in drm_atomic_state_default_clear() 303 * per-object state for planes, CRTCs and connectors. 751 * helpers already provide for connectors, planes and CRTCs. 938 * connectors attache [all...] |
H A D | drm_crtc_helper.c | 218 * disconnected connectors. Then it will disable all unused encoders and CRTCs 271 * Try to set @mode on @crtc. Give @crtc and its associated connectors a chance 324 /* Pass our mode to the connectors and the CRTC to give them a chance to in drm_crtc_helper_set_mode() 399 /* Now enable the clocks, plane, pipe, and connectors that we set up. */ in drm_crtc_helper_set_mode() 469 /* Decouple all encoders and their attached connectors from this crtc */ in drm_crtc_helper_disable() 501 * For connectors that support multiple encoders, either the 589 DRM_DEBUG_KMS("[CRTC:%d:%s] [FB:%d] #connectors=%d (x y) (%i %i)\n", in drm_crtc_helper_set_config() 663 /* take a reference on all unbound connectors in set, reuse the in drm_crtc_helper_set_config() 664 * already taken reference for bound connectors in drm_crtc_helper_set_config() 667 if (set->connectors[r in drm_crtc_helper_set_config() [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_atomic.h | 188 * file descriptor. Used by writeback connectors to signal completion of 315 * @num_connector: size of the @connectors and @connector_states arrays 316 * @connectors: pointer to array of structures with per-connector data 353 struct __drm_connnectors_state *connectors; member 362 * Used for signaling unbound planes/connectors. 593 return state->connectors[index].state; in drm_atomic_get_existing_connector_state() 613 return state->connectors[index].old_state; in drm_atomic_get_old_connector_state() 633 return state->connectors[index].new_state; in drm_atomic_get_new_connector_state() 689 * for_each_oldnew_connector_in_state - iterate over all connectors in an atomic update 698 * This iterates over all connectors i [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_atomic.h | 190 * file descriptor. Used by writeback connectors to signal completion of 355 * @num_connector: size of the @connectors and @connector_states arrays 356 * @connectors: pointer to array of structures with per-connector data 404 struct __drm_connnectors_state *connectors; member 413 * Used for signaling unbound planes/connectors. 653 return state->connectors[index].state; in drm_atomic_get_existing_connector_state() 673 return state->connectors[index].old_state; in drm_atomic_get_old_connector_state() 693 return state->connectors[index].new_state; in drm_atomic_get_new_connector_state() 749 * for_each_oldnew_connector_in_state - iterate over all connectors in an atomic update 758 * This iterates over all connectors i [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_cfg.c | 61 for (i = 0; i < ARRAY_SIZE(cfg->connectors); i++) { in xen_drm_front_cfg_card() 62 ret = cfg_connector(front_info, &cfg->connectors[i], in xen_drm_front_cfg_card()
|
H A D | xen_drm_front_cfg.h | 26 /* number of connectors in this configuration */ 29 struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS]; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_cfg.c | 61 for (i = 0; i < ARRAY_SIZE(cfg->connectors); i++) { in xen_drm_front_cfg_card() 62 ret = cfg_connector(front_info, &cfg->connectors[i], in xen_drm_front_cfg_card()
|
H A D | xen_drm_front_cfg.h | 26 /* number of connectors in this configuration */ 29 struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS]; member
|
H A D | xen_drm_front_evtchnl.c | 291 plat_data->connectors[conn].xenstore_path, in xen_drm_front_evtchnl_publish_all() 298 plat_data->connectors[conn].xenstore_path, in xen_drm_front_evtchnl_publish_all()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tvp5150.c | 75 struct tvp5150_connector connectors[TVP5150_MAX_CONNECTORS]; member 805 /* In case of no of-connectors are available no limitations are made */ in tvp5150_s_std() 1323 if (remote->entity == &decoder->connectors[i].ent) { in tvp5150_link_setup() 1324 v4l2c = &decoder->connectors[i].base; in tvp5150_link_setup() 1616 struct media_entity *con = &decoder->connectors[i].ent; in tvp5150_registered() 1617 struct media_pad *pad = &decoder->connectors[i].pad; in tvp5150_registered() 1619 &decoder->connectors[i].base; in tvp5150_registered() 1660 decoder->cur_connector = &decoder->connectors[i]; in tvp5150_registered() 1669 media_device_unregister_entity(&decoder->connectors[i].ent); in tvp5150_registered() 1670 media_entity_cleanup(&decoder->connectors[ in tvp5150_registered() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | tvp5150.c | 75 struct tvp5150_connector connectors[TVP5150_MAX_CONNECTORS]; member 805 /* In case of no of-connectors are available no limitations are made */ in tvp5150_s_std() 1325 if (remote->entity == &decoder->connectors[i].ent) { in tvp5150_link_setup() 1326 v4l2c = &decoder->connectors[i].base; in tvp5150_link_setup() 1614 struct media_entity *con = &decoder->connectors[i].ent; in tvp5150_registered() 1615 struct media_pad *pad = &decoder->connectors[i].pad; in tvp5150_registered() 1617 &decoder->connectors[i].base; in tvp5150_registered() 1658 decoder->cur_connector = &decoder->connectors[i]; in tvp5150_registered() 1667 media_device_unregister_entity(&decoder->connectors[i].ent); in tvp5150_registered() 1668 media_entity_cleanup(&decoder->connectors[ in tvp5150_registered() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser2.c | 3187 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 3192 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 3194 slot_layout_info->connectors[j].length = in update_slot_layout_info() 3199 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 3201 slot_layout_info->connectors[j].length = in update_slot_layout_info() 3206 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 3208 slot_layout_info->connectors[j].length = in update_slot_layout_info() 3213 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 3215 slot_layout_info->connectors[j].length = in update_slot_layout_info() 3220 slot_layout_info->connectors[ in update_slot_layout_info() [all...] |
H A D | bios_parser.c | 2649 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2654 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2656 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2661 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2663 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2668 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2670 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2675 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2677 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2682 slot_layout_info->connectors[ in update_slot_layout_info() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser2.c | 1932 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 1937 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 1939 slot_layout_info->connectors[j].length = in update_slot_layout_info() 1944 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 1946 slot_layout_info->connectors[j].length = in update_slot_layout_info() 1951 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 1953 slot_layout_info->connectors[j].length = in update_slot_layout_info() 1958 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 1960 slot_layout_info->connectors[j].length = in update_slot_layout_info() 1965 slot_layout_info->connectors[ in update_slot_layout_info() [all...] |
H A D | bios_parser.c | 2642 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2647 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2649 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2654 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2656 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2661 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2663 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2668 slot_layout_info->connectors[j].connector_type = in update_slot_layout_info() 2670 slot_layout_info->connectors[j].length = in update_slot_layout_info() 2675 slot_layout_info->connectors[ in update_slot_layout_info() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
H A D | grph_object_defs.h | 172 struct connector_layout_info connectors[MAX_CONNECTOR_NUMBER_PER_SLOT]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_drv.h | 76 struct drm_connector *connectors[8]; member 94 /* create appropriate encoders/connectors: */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/include/ |
H A D | grph_object_defs.h | 182 struct connector_layout_info connectors[MAX_CONNECTOR_NUMBER_PER_SLOT]; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_drv.h | 80 struct drm_connector *connectors[8]; member 99 /* create appropriate encoders/connectors: */
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 611 } connectors[] = { variable 626 for (i = 0; i < ARRAY_SIZE(connectors); i++) in v4l2_fwnode_string_to_connector_type() 627 if (!strcmp(con_str, connectors[i].compatible)) in v4l2_fwnode_string_to_connector_type() 628 return connectors[i].type; in v4l2_fwnode_string_to_connector_type()
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 607 } connectors[] = { variable 622 for (i = 0; i < ARRAY_SIZE(connectors); i++) in v4l2_fwnode_string_to_connector_type() 623 if (!strcmp(con_str, connectors[i].compatible)) in v4l2_fwnode_string_to_connector_type() 624 return connectors[i].type; in v4l2_fwnode_string_to_connector_type()
|