Searched refs:dp_bw (Results 1 – 3 of 3) sorted by relevance
100 u8 dp_bw, dpcd[2]; in anx6345_dp_link_training() local109 err = drm_dp_dpcd_readb(&anx6345->aux, DP_MAX_LINK_RATE, &dp_bw); in anx6345_dp_link_training()113 switch (dp_bw) { in anx6345_dp_link_training()119 DRM_DEBUG_KMS("DP bandwidth (%#02x) not supported\n", dp_bw); in anx6345_dp_link_training()213 dpcd[0] = dp_bw; in anx6345_dp_link_training()
606 u8 dp_bw, dpcd[2]; in anx78xx_dp_link_training() local620 err = drm_dp_dpcd_readb(&anx78xx->aux, DP_MAX_LINK_RATE, &dp_bw); in anx78xx_dp_link_training()624 switch (dp_bw) { in anx78xx_dp_link_training()631 DRM_DEBUG_KMS("DP bandwidth (%#02x) not supported\n", dp_bw); in anx78xx_dp_link_training()
465 static const u32 dp_bw[][2] = { in tb_dp_reduce_bandwidth() local487 for (i = 0; i < ARRAY_SIZE(dp_bw); i++) { in tb_dp_reduce_bandwidth()488 if (dp_bw[i][0] > out_rate || dp_bw[i][1] > out_lanes) in tb_dp_reduce_bandwidth()491 if (dp_bw[i][0] > in_rate || dp_bw[i][1] > in_lanes) in tb_dp_reduce_bandwidth()494 if (tb_dp_bandwidth(dp_bw[i][0], dp_bw[i][1]) <= max_bw) { in tb_dp_reduce_bandwidth()495 *new_rate = dp_bw[i][0]; in tb_dp_reduce_bandwidth()496 *new_lanes = dp_bw[i][1]; in tb_dp_reduce_bandwidth()