Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/bridge/analogix/
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()
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()
/linux-6.6.21/drivers/thunderbolt/
Dtunnel.c537 static const u32 dp_bw[][2] = { in tb_dp_reduce_bandwidth() local
559 for (i = 0; i < ARRAY_SIZE(dp_bw); i++) { in tb_dp_reduce_bandwidth()
560 if (dp_bw[i][0] > out_rate || dp_bw[i][1] > out_lanes) in tb_dp_reduce_bandwidth()
563 if (dp_bw[i][0] > in_rate || dp_bw[i][1] > in_lanes) in tb_dp_reduce_bandwidth()
566 if (tb_dp_bandwidth(dp_bw[i][0], dp_bw[i][1]) <= max_bw) { in tb_dp_reduce_bandwidth()
567 *new_rate = dp_bw[i][0]; in tb_dp_reduce_bandwidth()
568 *new_lanes = dp_bw[i][1]; in tb_dp_reduce_bandwidth()