Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_dp.c76 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd()
82 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd()
95 outp->dp.sink_count = 0; in nouveau_dp_probe_dpcd()
234 if (ret != outp->dp.sink_count) in nouveau_dp_irq()
237 outp->dp.sink_count = ret; in nouveau_dp_irq()
Dnouveau_encoder.h87 u8 sink_count; member
/linux-6.1.9/drivers/gpu/drm/msm/dp/
Ddp_display.c347 dp->link->sink_count); in dp_display_is_sink_count_zero()
349 (dp->link->sink_count == 0); in dp_display_is_sink_count_zero()
659 if (dp->link->sink_count == 0) { in dp_hpd_unplug_handle()
872 drm_dbg_dp(dp->drm_dev, "sink_count=%d\n", dp->link->sink_count); in dp_display_enable()
922 if (dp->link->sink_count == 0) { in dp_display_disable()
939 drm_dbg_dp(dp->drm_dev, "sink count: %d\n", dp->link->sink_count); in dp_display_disable()
1357 int sink_count = 0; in dp_pm_resume() local
1390 sink_count = drm_dp_read_sink_count(dp->aux); in dp_pm_resume()
1391 if (sink_count < 0) in dp_pm_resume()
1392 sink_count = 0; in dp_pm_resume()
[all …]
Ddp_link.c729 &link->dp_link.sink_count); in dp_link_parse_sink_count()
735 cp_ready = link->dp_link.sink_count & DP_SINK_CP_READY; in dp_link_parse_sink_count()
737 link->dp_link.sink_count = in dp_link_parse_sink_count()
738 DP_GET_SINK_COUNT(link->dp_link.sink_count); in dp_link_parse_sink_count()
741 link->dp_link.sink_count, cp_ready); in dp_link_parse_sink_count()
749 link->prev_sink_count = link->dp_link.sink_count; in dp_link_parse_sink_status_field()
988 if (link->prev_sink_count == link->dp_link.sink_count) in dp_link_process_ds_port_status_change()
993 link->prev_sink_count = link->dp_link.sink_count; in dp_link_process_ds_port_status_change()
Ddp_link.h79 u8 sink_count; member
Ddp_panel.c192 panel->link->sink_count = 0; in dp_panel_read_sink_caps()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dite-it6505.c430 u8 sink_count; member
2186 if (it6505->sink_count == 0) { in it6505_link_step_train_process()
2188 it6505->sink_count); in it6505_link_step_train_process()
2223 it6505->sink_count); in it6505_link_training_work()
2267 it6505->sink_count = 0; in it6505_process_hpd_irq()
2277 dpcd_sink_count, it6505->sink_count); in it6505_process_hpd_irq()
2279 if (it6505->branch_device && dpcd_sink_count != it6505->sink_count) { in it6505_process_hpd_irq()
2281 it6505->sink_count = dpcd_sink_count; in it6505_process_hpd_irq()
2333 it6505->sink_count); in it6505_irq_hpd()
2348 if (it6505->branch_device && it6505->sink_count == 0) in it6505_irq_hpd()
[all …]
/linux-6.1.9/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c173 static int cdn_dp_get_sink_count(struct cdn_dp_device *dp, u8 *sink_count) in cdn_dp_get_sink_count() argument
178 *sink_count = 0; in cdn_dp_get_sink_count()
183 *sink_count = DP_GET_SINK_COUNT(value); in cdn_dp_get_sink_count()
205 u8 sink_count = 0; in cdn_dp_check_sink_connection() local
224 if (!cdn_dp_get_sink_count(dp, &sink_count)) in cdn_dp_check_sink_connection()
225 return sink_count ? true : false; in cdn_dp_check_sink_connection()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h273 union sink_count { union
476 union sink_count sink_cnt;/* 200h */
Ddc_link.h152 unsigned int sink_count; member
Ddc.h1362 union sink_count sink_count; member
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c176 if (dc_link->sink_count) in amdgpu_dm_mst_connector_early_unregister()
205 link->dpcd_caps.sink_count.bits.SINK_COUNT >= 2) in needs_dsc_aux_workaround()
435 if (aconnector->dc_link->sink_count) in dm_dp_mst_detect()
/linux-6.1.9/include/drm/display/
Ddrm_dp_mst_helper.h723 u8 sink_count; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc.c4093 if (dc_link->sink_count >= MAX_SINKS_PER_LINK) { in link_add_remote_sink_helper()
4100 dc_link->remote_sinks[dc_link->sink_count] = sink; in link_add_remote_sink_helper()
4101 dc_link->sink_count++; in link_add_remote_sink_helper()
4179 if (!link->sink_count) { in dc_link_remove_remote_sink()
4184 for (i = 0; i < link->sink_count; i++) { in dc_link_remove_remote_sink()
4190 while (i < link->sink_count - 1) { in dc_link_remove_remote_sink()
4195 link->sink_count--; in dc_link_remove_remote_sink()
Ddc_link.c101 for (i = 0; i < link->sink_count; ++i) in dc_link_destruct()
1128 link->dpcd_caps.sink_count.bits.SINK_COUNT == 0) { in detect_link_and_local_sink()
1152 if (link->dpcd_caps.sink_count.bits.SINK_COUNT) in detect_link_and_local_sink()
1154 link->dpcd_caps.sink_count.bits.SINK_COUNT; in detect_link_and_local_sink()
Ddc_link_dp.c5521 &link->dpcd_caps.sink_count.raw, in retrieve_link_cap()
5522 sizeof(link->dpcd_caps.sink_count.raw)); in retrieve_link_cap()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dp.c1934 u8 sink_count = 0; in mtk_dp_bdg_detect() local
1956 drm_dp_dpcd_readb(&mtk_dp->aux, DP_SINK_COUNT, &sink_count); in mtk_dp_bdg_detect()
1957 if (DP_GET_SINK_COUNT(sink_count)) in mtk_dp_bdg_detect()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp.c2960 intel_dp->sink_count = ret; in intel_dp_get_dpcd()
2969 if (!intel_dp->sink_count) in intel_dp_get_dpcd()
4276 u8 old_sink_count = intel_dp->sink_count; in intel_dp_short_pulse()
4293 if ((old_sink_count != intel_dp->sink_count) || !ret) { in intel_dp_short_pulse()
4356 return intel_dp->sink_count ? in intel_dp_detect_dpcd()
Dintel_display_types.h1623 u8 sink_count; member
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c4063 if (sc != mgr->sink_count) { in drm_dp_mst_hpd_irq()
4064 mgr->sink_count = sc; in drm_dp_mst_hpd_irq()