Searched refs:dp_bw (Results 1 – 3 of 3) sorted by relevance
99 u8 dp_bw, dpcd[2]; in anx6345_dp_link_training() local108 err = drm_dp_dpcd_readb(&anx6345->aux, DP_MAX_LINK_RATE, &dp_bw); in anx6345_dp_link_training()112 switch (dp_bw) { in anx6345_dp_link_training()118 DRM_DEBUG_KMS("DP bandwidth (%#02x) not supported\n", dp_bw); in anx6345_dp_link_training()212 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()
585 static const u32 dp_bw[][2] = { in tb_dp_reduce_bandwidth() local607 for (i = 0; i < ARRAY_SIZE(dp_bw); i++) { in tb_dp_reduce_bandwidth()608 if (dp_bw[i][0] > out_rate || dp_bw[i][1] > out_lanes) in tb_dp_reduce_bandwidth()611 if (dp_bw[i][0] > in_rate || dp_bw[i][1] > in_lanes) in tb_dp_reduce_bandwidth()614 if (tb_dp_bandwidth(dp_bw[i][0], dp_bw[i][1]) <= max_bw) { in tb_dp_reduce_bandwidth()615 *new_rate = dp_bw[i][0]; in tb_dp_reduce_bandwidth()616 *new_lanes = dp_bw[i][1]; in tb_dp_reduce_bandwidth()