Home
last modified time | relevance | path

Searched refs:dp_bw (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix-anx6345.c99 u8 dp_bw, dpcd[2]; in anx6345_dp_link_training() local
108 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()
H A Danalogix-anx78xx.c606 u8 dp_bw, dpcd[2]; in anx78xx_dp_link_training() local
620 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()
/openbmc/linux/drivers/thunderbolt/
H A Dtunnel.c585 static const u32 dp_bw[][2] = { in tb_dp_reduce_bandwidth() local
607 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()