Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/dp/
Ddp_panel.h76 static inline bool is_link_rate_valid(u32 bw_code) in is_link_rate_valid() argument
78 return (bw_code == DP_LINK_BW_1_62 || in is_link_rate_valid()
79 bw_code == DP_LINK_BW_2_7 || in is_link_rate_valid()
80 bw_code == DP_LINK_BW_5_4 || in is_link_rate_valid()
81 bw_code == DP_LINK_BW_8_1); in is_link_rate_valid()
Ddp_panel.c159 int rc = 0, bw_code; in dp_panel_read_sink_caps() local
176 bw_code = drm_dp_link_rate_to_bw_code(dp_panel->link_info.rate); in dp_panel_read_sink_caps()
177 if (!is_link_rate_valid(bw_code) || in dp_panel_read_sink_caps()
179 (bw_code > dp_panel->max_bw_code)) { in dp_panel_read_sink_caps()
217 bw_code = drm_dp_link_rate_to_bw_code(dp_panel->link_info.rate); in dp_panel_read_sink_caps()
218 if (rc || !is_link_rate_valid(bw_code) || in dp_panel_read_sink_caps()
220 || (bw_code > dp_panel->max_bw_code)) { in dp_panel_read_sink_caps()
Ddp_audio.h22 u32 bw_code; member
Ddp_audio.c374 switch (audio->dp_audio.bw_code) { in dp_audio_setup_acr()
Ddp_display.c896 dp->audio->bw_code = drm_dp_link_rate_to_bw_code(rate); in dp_display_post_enable()
/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c260 u8 bw_code; member
565 u8 bw_code; in zynqmp_dp_mode_configure() local
574 bw_code = DP_LINK_BW_2_7; in zynqmp_dp_mode_configure()
577 bw_code = DP_LINK_BW_1_62; in zynqmp_dp_mode_configure()
584 bw_code = max_link_rate_code; in zynqmp_dp_mode_configure()
592 bw = drm_dp_bw_code_to_link_rate(bw_code); in zynqmp_dp_mode_configure()
595 dp->mode.bw_code = bw_code; in zynqmp_dp_mode_configure()
598 return dp->mode.bw_code; in zynqmp_dp_mode_configure()
803 u8 bw_code = dp->mode.bw_code; in zynqmp_dp_train() local
838 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LINK_BW_SET, bw_code); in zynqmp_dp_train()
[all …]