Home
last modified time | relevance | path

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

/Linux-v5.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()
210 bw_code = drm_dp_link_rate_to_bw_code(dp_panel->link_info.rate); in dp_panel_read_sink_caps()
211 if (rc || !is_link_rate_valid(bw_code) || in dp_panel_read_sink_caps()
213 || (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.c816 dp->audio->bw_code = drm_dp_link_rate_to_bw_code(rate); in dp_display_post_enable()
/Linux-v5.10/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c259 u8 bw_code; member
570 u8 bw_code; in zynqmp_dp_mode_configure() local
579 bw_code = DP_LINK_BW_2_7; in zynqmp_dp_mode_configure()
582 bw_code = DP_LINK_BW_1_62; in zynqmp_dp_mode_configure()
589 bw_code = max_link_rate_code; in zynqmp_dp_mode_configure()
597 bw = drm_dp_bw_code_to_link_rate(bw_code); in zynqmp_dp_mode_configure()
600 dp->mode.bw_code = bw_code; in zynqmp_dp_mode_configure()
603 return dp->mode.bw_code; in zynqmp_dp_mode_configure()
808 u8 bw_code = dp->mode.bw_code; in zynqmp_dp_train() local
843 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LINK_BW_SET, bw_code); in zynqmp_dp_train()
[all …]