/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 975 link->dpcd_caps.sink_count.bits.SINK_COUNT == 0) { in detect_link_and_local_sink() 1021 if (link->dpcd_caps.sink_count.bits.SINK_COUNT) in detect_link_and_local_sink() 1023 link->dpcd_caps.sink_count.bits.SINK_COUNT; in detect_link_and_local_sink() 1366 if (dc_link->sink_count >= MAX_SINKS_PER_LINK) { in link_add_remote_sink_helper() 1373 dc_link->remote_sinks[dc_link->sink_count] = sink; in link_add_remote_sink_helper() 1374 dc_link->sink_count++; in link_add_remote_sink_helper() 1441 if (!link->sink_count) { in link_remove_remote_sink() 1446 for (i = 0; i < link->sink_count; i++) { in link_remove_remote_sink() 1452 while (i < link->sink_count - 1) { in link_remove_remote_sink() 1457 link->sink_count--; in link_remove_remote_sink()
|
H A D | link_factory.c | 403 for (i = 0; i < link->sink_count; ++i) in link_destruct()
|
H A D | link_dpms.c | 2250 for (i = 0; i < link->sink_count; i++) { in allocate_usb4_bandwidth_for_stream() 2287 for (i = 0; i < link->sink_count; i++) { in allocate_usb4_bandwidth_for_stream()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 192 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd() 198 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd() 211 outp->dp.sink_count = 0; in nouveau_dp_probe_dpcd() 523 if (ret != outp->dp.sink_count) in nouveau_dp_irq() 526 outp->dp.sink_count = ret; in nouveau_dp_irq()
|
H A D | nouveau_encoder.h | 106 u8 sink_count; member
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ite-it6505.c | 431 u8 sink_count; member 2198 if (it6505->sink_count == 0) { in it6505_link_step_train_process() 2200 it6505->sink_count); in it6505_link_step_train_process() 2235 it6505->sink_count); in it6505_link_training_work() 2286 it6505->sink_count = 0; in it6505_process_hpd_irq() 2296 dpcd_sink_count, it6505->sink_count); in it6505_process_hpd_irq() 2300 it6505->sink_count = dpcd_sink_count; in it6505_process_hpd_irq() 2369 it6505->sink_count); in it6505_irq_hpd() 2665 it6505->sink_count = 0; in it6505_poweroff() 2699 status = (it6505->sink_count != 0) ? in it6505_detect() [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 172 static int cdn_dp_get_sink_count(struct cdn_dp_device *dp, u8 *sink_count) in cdn_dp_get_sink_count() argument 177 *sink_count = 0; in cdn_dp_get_sink_count() 182 *sink_count = DP_GET_SINK_COUNT(value); in cdn_dp_get_sink_count() 204 u8 sink_count = 0; in cdn_dp_check_sink_connection() local 223 if (!cdn_dp_get_sink_count(dp, &sink_count)) in cdn_dp_check_sink_connection() 224 return sink_count ? true : false; in cdn_dp_check_sink_connection()
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_link.h | 66 u8 sink_count; member
|
H A D | dp_link.c | 719 link->prev_sink_count = link->dp_link.sink_count; in dp_link_parse_sink_status_field() 725 link->dp_link.sink_count = len; in dp_link_parse_sink_status_field() 989 if (link->prev_sink_count == link->dp_link.sink_count) in dp_link_process_ds_port_status_change() 994 link->prev_sink_count = link->dp_link.sink_count; in dp_link_process_ds_port_status_change()
|
H A D | dp_display.c | 481 if (drm_dp_is_branch(dp->panel->dpcd) && dp->link->sink_count == 0) { in dp_display_handle_port_status_changed() 629 if (dp->link->sink_count == 0) { in dp_hpd_unplug_handle() 818 drm_dbg_dp(dp->drm_dev, "sink_count=%d\n", dp->link->sink_count); in dp_display_enable() 872 if (dp->link->sink_count == 0) { in dp_display_disable() 889 drm_dbg_dp(dp->drm_dev, "sink count: %d\n", dp->link->sink_count); in dp_display_disable()
|
H A D | dp_panel.c | 146 panel->link->sink_count = 0; in dp_panel_read_sink_caps()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dp_types.h | 280 union sink_count { union 477 union sink_count sink_cnt;/* 200h */ 1154 union sink_count sink_count; member
|
H A D | dc.h | 1636 unsigned int sink_count; member
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 176 if (dc_link->sink_count) in amdgpu_dm_mst_connector_early_unregister() 181 dc_sink, dc_link->sink_count); in amdgpu_dm_mst_connector_early_unregister() 210 link->dpcd_caps.sink_count.bits.SINK_COUNT >= 2) in needs_dsc_aux_workaround() 339 aconnector->dc_link->sink_count); in dm_dp_mst_get_modes() 376 dc_sink, aconnector->dc_link->sink_count); in dm_dp_mst_get_modes() 493 if (aconnector->dc_link->sink_count) in dm_dp_mst_detect() 499 aconnector->dc_link->sink_count); in dm_dp_mst_detect()
|
/linux/include/drm/display/ |
H A D | drm_dp_mst_helper.h | 728 u8 sink_count; member
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 2103 u8 sink_count = 0; in mtk_dp_bdg_detect() local 2118 drm_dp_dpcd_readb(&mtk_dp->aux, DP_SINK_COUNT, &sink_count); in mtk_dp_bdg_detect() 2119 if (DP_GET_SINK_COUNT(sink_count)) in mtk_dp_bdg_detect()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp.c | 4202 intel_dp->sink_count = ret; in intel_dp_get_dpcd() 4211 if (!intel_dp->sink_count) in intel_dp_get_dpcd() 5629 u8 old_sink_count = intel_dp->sink_count; in intel_dp_short_pulse() 5647 if ((old_sink_count != intel_dp->sink_count) || !ret) { in intel_dp_short_pulse() 5710 return intel_dp->sink_count ? in intel_dp_detect_dpcd()
|
H A D | intel_display_types.h | 1755 u8 sink_count; member
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_capability.c | 1782 &link->dpcd_caps.sink_count.raw, in retrieve_link_cap() 1783 sizeof(link->dpcd_caps.sink_count.raw)); in retrieve_link_cap()
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_mst_topology.c | 4170 if (sc != mgr->sink_count) { in drm_dp_mst_hpd_irq_handle_event() 4171 mgr->sink_count = sc; in drm_dp_mst_hpd_irq_handle_event()
|