Home
last modified time | relevance | path

Searched refs:bw_code (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_panel.h77 static inline bool is_link_rate_valid(u32 bw_code) in is_link_rate_valid() argument
79 return (bw_code == DP_LINK_BW_1_62 || in is_link_rate_valid()
80 bw_code == DP_LINK_BW_2_7 || in is_link_rate_valid()
81 bw_code == DP_LINK_BW_5_4 || in is_link_rate_valid()
82 bw_code == DP_LINK_BW_8_1); in is_link_rate_valid()
Ddp_panel.c158 int rc = 0, bw_code; in dp_panel_read_sink_caps() local
170 bw_code = drm_dp_link_rate_to_bw_code(dp_panel->link_info.rate); in dp_panel_read_sink_caps()
171 if (rc || !is_link_rate_valid(bw_code) || in dp_panel_read_sink_caps()
173 (bw_code > dp_panel->max_bw_code)) { in dp_panel_read_sink_caps()
215 bw_code = drm_dp_link_rate_to_bw_code(dp_panel->link_info.rate); in dp_panel_read_sink_caps()
216 if (rc || !is_link_rate_valid(bw_code) || in dp_panel_read_sink_caps()
218 || (bw_code > dp_panel->max_bw_code)) { in dp_panel_read_sink_caps()
Ddp_audio.h22 u32 bw_code; member
Ddp_audio.c359 switch (audio->dp_audio.bw_code) { in dp_audio_setup_acr()
Ddp_display.c892 dp->audio->bw_code = drm_dp_link_rate_to_bw_code(rate); in dp_display_post_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c259 u8 bw_code; member
564 u8 bw_code; in zynqmp_dp_mode_configure() local
573 bw_code = DP_LINK_BW_2_7; in zynqmp_dp_mode_configure()
576 bw_code = DP_LINK_BW_1_62; in zynqmp_dp_mode_configure()
583 bw_code = max_link_rate_code; in zynqmp_dp_mode_configure()
591 bw = drm_dp_bw_code_to_link_rate(bw_code); in zynqmp_dp_mode_configure()
594 dp->mode.bw_code = bw_code; in zynqmp_dp_mode_configure()
597 return dp->mode.bw_code; in zynqmp_dp_mode_configure()
802 u8 bw_code = dp->mode.bw_code; in zynqmp_dp_train() local
837 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LINK_BW_SET, bw_code); in zynqmp_dp_train()
[all …]