Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c282 u32 requested, actual, rate, sink_max, source_max = 0; in cdn_dp_connector_mode_valid() local
303 source_max = dp->lanes; in cdn_dp_connector_mode_valid()
305 lanes = min(source_max, sink_max); in cdn_dp_connector_mode_valid()
307 source_max = drm_dp_bw_code_to_link_rate(CDN_DP_MAX_LINK_RATE); in cdn_dp_connector_mode_valid()
309 rate = min(source_max, sink_max); in cdn_dp_connector_mode_valid()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_panel.c463 u32 source_min, u32 source_max, in scale() argument
468 WARN_ON(source_min > source_max); in scale()
472 source_val = clamp(source_val, source_min, source_max); in scale()
477 target_val = DIV_ROUND_CLOSEST_ULL(target_val, source_max - source_min); in scale()
Dintel_dp.c220 int source_max = intel_dig_port->max_lanes; in intel_dp_max_common_lane_count() local
224 return min3(source_max, sink_max, fia_max); in intel_dp_max_common_lane_count()