/Linux-v5.4/kernel/sched/ |
D | clock.c | 267 u64 now, clock, old_clock, min_clock, max_clock, gtod; in sched_clock_local() local 287 max_clock = wrap_max(old_clock, gtod + TICK_NSEC); in sched_clock_local() 290 clock = wrap_min(clock, max_clock); in sched_clock_local()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_crt.c | 318 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()
|
D | intel_dp.h | 27 int min_clock, max_clock; member
|
D | intel_dp_mst.c | 58 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()
|
D | intel_dp.c | 1922 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()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_connector.c | 1026 unsigned min_clock = 25000, max_clock = min_clock; in nouveau_connector_mode_valid() local 1037 max_clock = 400000; in nouveau_connector_mode_valid() 1040 max_clock = get_tmds_link_bandwidth(connector); in nouveau_connector_mode_valid() 1043 max_clock = nv_encoder->dcb->crtconf.maxfreq; in nouveau_connector_mode_valid() 1044 if (!max_clock) in nouveau_connector_mode_valid() 1045 max_clock = 350000; in nouveau_connector_mode_valid() 1050 max_clock = nv_encoder->dp.link_nr; in nouveau_connector_mode_valid() 1051 max_clock *= nv_encoder->dp.link_bw; in nouveau_connector_mode_valid() 1065 if (clock > max_clock) in nouveau_connector_mode_valid()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | btc_dpm.h | 53 u32 *max_clock);
|
D | btc_dpm.c | 1176 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()
|
/Linux-v5.4/sound/pci/pcxhr/ |
D | pcxhr.c | 1318 int max_clock; in pcxhr_proc_sync() local 1321 max_clock = HR22_CLOCK_TYPE_MAX; in pcxhr_proc_sync() 1324 max_clock = PCXHR_CLOCK_TYPE_MAX; in pcxhr_proc_sync() 1335 for (i = 1; i <= max_clock; i++) { in pcxhr_proc_sync()
|
/Linux-v5.4/drivers/mmc/host/ |
D | sdhci-esdhc-imx.c | 779 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()
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 903 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()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.c | 3220 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()
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_edid.c | 2436 u32 max_clock; in mode_in_range() local 2445 if ((max_clock = range_pixel_clock(edid, t))) in mode_in_range() 2446 if (mode->clock > max_clock) in mode_in_range()
|
/Linux-v5.4/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 158 u32 max_clock; member
|