Home
last modified time | relevance | path

Searched refs:max_clock (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/nouveau/
Dnouveau_connector.c848 unsigned min_clock = 25000, max_clock = min_clock; in nouveau_connector_mode_valid() local
859 max_clock = 400000; in nouveau_connector_mode_valid()
862 max_clock = get_tmds_link_bandwidth(connector); in nouveau_connector_mode_valid()
864 max_clock *= 2; in nouveau_connector_mode_valid()
867 max_clock = nv_encoder->dcb->crtconf.maxfreq; in nouveau_connector_mode_valid()
868 if (!max_clock) in nouveau_connector_mode_valid()
869 max_clock = 350000; in nouveau_connector_mode_valid()
874 max_clock = nv_encoder->dp.link_nr; in nouveau_connector_mode_valid()
875 max_clock *= nv_encoder->dp.link_bw; in nouveau_connector_mode_valid()
886 if (clock > max_clock) in nouveau_connector_mode_valid()
/drivers/gpu/drm/radeon/
Dbtc_dpm.c1175 u32 *max_clock) in btc_get_max_clock_from_voltage_dependency_table() argument
1180 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
1188 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
1212 u32 max_clock, u32 requested_clock) in btc_find_valid_clock() argument
1217 return (requested_clock < max_clock) ? requested_clock : max_clock; in btc_find_valid_clock()
1221 return (clocks->values[i] < max_clock) ? clocks->values[i] : max_clock; in btc_find_valid_clock()
1224 return (clocks->values[clocks->count - 1] < max_clock) ? in btc_find_valid_clock()
1225 clocks->values[clocks->count - 1] : max_clock; in btc_find_valid_clock()
Dbtc_dpm.h50 u32 *max_clock);
/drivers/gpu/drm/i915/
Dintel_crt.c220 int max_clock = 0; in intel_crt_mode_valid() local
228 max_clock = 350000; in intel_crt_mode_valid()
230 max_clock = 400000; in intel_crt_mode_valid()
231 if (mode->clock > max_clock) in intel_crt_mode_valid()
Dintel_dp.c1394 int max_clock; in intel_dp_compute_config() local
1406 max_clock = common_len - 1; in intel_dp_compute_config()
1439 max_lane_count, common_rates[max_clock], in intel_dp_compute_config()
1463 min_clock = max_clock; in intel_dp_compute_config()
1470 for (clock = min_clock; clock <= max_clock; clock++) { in intel_dp_compute_config()
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c902 int max_clock = cdv_intel_dp_max_link_bw(intel_encoder) == DP_LINK_BW_2_7 ? 1 : 0; in cdv_intel_dp_mode_fixup() local
914 for (clock = max_clock; clock >= 0; clock--) { in cdv_intel_dp_mode_fixup()
932 intel_dp->link_bw = bws[max_clock]; in cdv_intel_dp_mode_fixup()
/drivers/gpu/drm/
Ddrm_edid.c2039 u32 max_clock; in mode_in_range() local
2048 if ((max_clock = range_pixel_clock(edid, t))) in mode_in_range()
2049 if (mode->clock > max_clock) in mode_in_range()