Searched refs:bw_code (Results 1 – 6 of 6) sorted by relevance
76 static inline bool is_link_rate_valid(u32 bw_code) in is_link_rate_valid() argument78 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()
159 int rc = 0, bw_code; in dp_panel_read_sink_caps() local176 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()
22 u32 bw_code; member
374 switch (audio->dp_audio.bw_code) { in dp_audio_setup_acr()
895 dp->audio->bw_code = drm_dp_link_rate_to_bw_code(rate); in dp_display_post_enable()
260 u8 bw_code; member565 u8 bw_code; in zynqmp_dp_mode_configure() local574 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() local838 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LINK_BW_SET, bw_code); in zynqmp_dp_train()[all …]