Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c291 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/
Dintel_backlight.c32 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()
Dintel_dp.c292 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()