Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_crt.c318 int max_clock; in intel_crt_mode_valid() local
327 max_clock = 180000; in intel_crt_mode_valid()
333 max_clock = 270000; in intel_crt_mode_valid()
335 max_clock = 400000; in intel_crt_mode_valid()
337 max_clock = 350000; in intel_crt_mode_valid()
338 if (mode->clock > max_clock) in intel_crt_mode_valid()
Dintel_dp.h27 int min_clock, max_clock; member
Dintel_dp_mst.c58 crtc_state->port_clock = limits->max_clock; in intel_dp_mst_compute_link_config()
125 limits.max_clock = intel_dp_max_link_rate(intel_dp); in intel_dp_mst_compute_config()
Dintel_dp.c1922 limits->min_clock = limits->max_clock = index; in intel_dp_adjust_compliance_config()
1958 for (clock = limits->min_clock; clock <= limits->max_clock; clock++) { in intel_dp_compute_link_config_wide()
2028 pipe_config->port_clock = intel_dp->common_rates[limits->max_clock]; in intel_dp_dsc_compute_config()
2119 limits.max_clock = common_len - 1; in intel_dp_compute_link_config()
2136 limits.min_clock = limits.max_clock; in intel_dp_compute_link_config()
2144 intel_dp->common_rates[limits.max_clock], in intel_dp_compute_link_config()
/drivers/gpu/drm/nouveau/
Dnouveau_connector.c1040 unsigned min_clock = 25000, max_clock = min_clock; in nouveau_connector_mode_valid() local
1051 max_clock = 400000; in nouveau_connector_mode_valid()
1054 max_clock = get_tmds_link_bandwidth(connector); in nouveau_connector_mode_valid()
1057 max_clock = nv_encoder->dcb->crtconf.maxfreq; in nouveau_connector_mode_valid()
1058 if (!max_clock) in nouveau_connector_mode_valid()
1059 max_clock = 350000; in nouveau_connector_mode_valid()
1064 max_clock = nv_encoder->dp.link_nr; in nouveau_connector_mode_valid()
1065 max_clock *= nv_encoder->dp.link_bw; in nouveau_connector_mode_valid()
1079 if (clock > max_clock) in nouveau_connector_mode_valid()
/drivers/gpu/drm/radeon/
Dbtc_dpm.c1176 u32 *max_clock) in btc_get_max_clock_from_voltage_dependency_table() argument
1181 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
1189 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
1213 u32 max_clock, u32 requested_clock) in btc_find_valid_clock() argument
1218 return (requested_clock < max_clock) ? requested_clock : max_clock; in btc_find_valid_clock()
1222 return (clocks->values[i] < max_clock) ? clocks->values[i] : max_clock; in btc_find_valid_clock()
1225 return (clocks->values[clocks->count - 1] < max_clock) ? in btc_find_valid_clock()
1226 clocks->values[clocks->count - 1] : max_clock; in btc_find_valid_clock()
Dbtc_dpm.h53 u32 *max_clock);
/drivers/mmc/host/
Dsdhci-esdhc-imx.c779 unsigned int max_clock; in esdhc_pltfm_set_clock() local
781 max_clock = imx_data->is_ddr ? 45000000 : 150000000; in esdhc_pltfm_set_clock()
783 clock = min(clock, max_clock); in esdhc_pltfm_set_clock()
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c903 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
915 for (clock = max_clock; clock >= 0; clock--) { in cdv_intel_dp_mode_fixup()
933 intel_dp->link_bw = bws[max_clock]; in cdv_intel_dp_mode_fixup()
/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c3220 u32 max_clock, u32 requested_clock) in btc_find_valid_clock() argument
3225 return (requested_clock < max_clock) ? requested_clock : max_clock; in btc_find_valid_clock()
3229 return (clocks->values[i] < max_clock) ? clocks->values[i] : max_clock; in btc_find_valid_clock()
3232 return (clocks->values[clocks->count - 1] < max_clock) ? in btc_find_valid_clock()
3233 clocks->values[clocks->count - 1] : max_clock; in btc_find_valid_clock()
3251 u32 *max_clock) in btc_get_max_clock_from_voltage_dependency_table() argument
3256 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
3264 *max_clock = clock; in btc_get_max_clock_from_voltage_dependency_table()
/drivers/gpu/drm/
Ddrm_edid.c2444 u32 max_clock; in mode_in_range() local
2453 if ((max_clock = range_pixel_clock(edid, t))) in mode_in_range()
2454 if (mode->clock > max_clock) in mode_in_range()
/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c158 u32 max_clock; member