Home
last modified time | relevance | path

Searched refs:sink_count (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_detection.c987 link->dpcd_caps.sink_count.bits.SINK_COUNT == 0) { in detect_link_and_local_sink()
1033 if (link->dpcd_caps.sink_count.bits.SINK_COUNT) in detect_link_and_local_sink()
1035 link->dpcd_caps.sink_count.bits.SINK_COUNT; in detect_link_and_local_sink()
1378 if (dc_link->sink_count >= MAX_SINKS_PER_LINK) { in link_add_remote_sink_helper()
1385 dc_link->remote_sinks[dc_link->sink_count] = sink; in link_add_remote_sink_helper()
1386 dc_link->sink_count++; in link_add_remote_sink_helper()
1453 if (!link->sink_count) { in link_remove_remote_sink()
1458 for (i = 0; i < link->sink_count; i++) { in link_remove_remote_sink()
1464 while (i < link->sink_count - 1) { in link_remove_remote_sink()
1469 link->sink_count--; in link_remove_remote_sink()
H A Dlink_factory.c403 for (i = 0; i < link->sink_count; ++i) in link_destruct()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c192 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 Dnouveau_encoder.h106 u8 sink_count; member
/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c431 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()
2298 if (it6505->branch_device && dpcd_sink_count != it6505->sink_count) { in it6505_process_hpd_irq()
2300 it6505->sink_count = dpcd_sink_count; in it6505_process_hpd_irq()
2366 it6505->sink_count = DP_GET_SINK_COUNT(dp_sink_count); in it6505_irq_hpd()
2369 it6505->sink_count); in it6505_irq_hpd()
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.c172 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/amd/display/dc/
H A Ddc_dp_types.h280 union sink_count { union
477 union sink_count sink_cnt;/* 200h */
1154 union sink_count sink_count; member
H A Ddc.h1646 unsigned int sink_count; member
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c176 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()
341 aconnector->dc_link->sink_count); in dm_dp_mst_get_modes()
381 dc_sink, aconnector->dc_link->sink_count); in dm_dp_mst_get_modes()
497 if (aconnector->dc_link->sink_count) in dm_dp_mst_detect()
503 aconnector->dc_link->sink_count); in dm_dp_mst_detect()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_display.c490 if (drm_dp_is_branch(dp->panel->dpcd) && dp->link->sink_count == 0) { in msm_dp_display_handle_port_status_changed()
638 if (dp->link->sink_count == 0) { in msm_dp_hpd_unplug_handle()
827 drm_dbg_dp(dp->drm_dev, "sink_count=%d\n", dp->link->sink_count); in msm_dp_display_enable()
881 if (dp->link->sink_count == 0) { in msm_dp_display_disable()
898 drm_dbg_dp(dp->drm_dev, "sink count: %d\n", dp->link->sink_count); in msm_dp_display_disable()
H A Ddp_panel.c146 panel->link->sink_count = 0; in msm_dp_panel_read_sink_caps()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp.c4272 intel_dp->sink_count = ret; in intel_dp_get_dpcd()
4281 if (!intel_dp->sink_count) in intel_dp_get_dpcd()
5282 u8 old_sink_count = intel_dp->sink_count; in intel_dp_short_pulse()
5296 if ((old_sink_count != intel_dp->sink_count) || !ret) { in intel_dp_short_pulse()
5343 return intel_dp->sink_count ? in intel_dp_detect_dpcd()
H A Dintel_display_types.h1630 u8 sink_count; member
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.c1794 &link->dpcd_caps.sink_count.raw, in retrieve_link_cap()
1795 sizeof(link->dpcd_caps.sink_count.raw)); in retrieve_link_cap()