Searched refs:source_max (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 291 u32 requested, actual, rate, sink_max, source_max = 0; in cdn_dp_connector_mode_valid() local 312 source_max = dp->lanes; in cdn_dp_connector_mode_valid() 314 lanes = min(source_max, sink_max); in cdn_dp_connector_mode_valid() 316 source_max = drm_dp_bw_code_to_link_rate(CDN_DP_MAX_LINK_RATE); in cdn_dp_connector_mode_valid() 318 rate = min(source_max, sink_max); in cdn_dp_connector_mode_valid()
|
/linux-5.19.10/drivers/gpu/drm/i915/display/ |
D | intel_backlight.c | 32 u32 source_min, u32 source_max, in scale() argument 37 WARN_ON(source_min > source_max); in scale() 41 source_val = clamp(source_val, source_min, source_max); in scale() 46 target_val = DIV_ROUND_CLOSEST_ULL(target_val, source_max - source_min); in scale()
|
D | intel_dp.c | 292 int source_max = dig_port->max_lanes; in intel_dp_max_common_lane_count() local 300 return min3(source_max, sink_max, fia_max); in intel_dp_max_common_lane_count()
|