Home
last modified time | relevance | path

Searched refs:time_constant (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/kernel/time/
Dntp.c66 static long time_constant = 2; variable
130 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk()
212 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk()
335 if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) in ntp_update_offset()
336 secs = 1 << (SHIFT_PLL + 1 + time_constant); in ntp_update_offset()
339 (NTP_SCALE_SHIFT - 2 * (SHIFT_PLL + 2 + time_constant)); in ntp_update_offset()
736 time_constant = txc->constant; in process_adjtimex_modes()
738 time_constant += 4; in process_adjtimex_modes()
739 time_constant = min(time_constant, (long)MAXTC); in process_adjtimex_modes()
740 time_constant = max(time_constant, 0l); in process_adjtimex_modes()
[all …]
/Linux-v6.1/drivers/platform/x86/amd/pmf/
Dauto-mode.c71 config_store.transition[i].time_constant) in amd_pmf_trans_automode()
78 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
83 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
169 config_store.transition[AUTO_TRANSITION_TO_QUIET].time_constant = in amd_pmf_load_defaults_auto_mode()
171 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
173 config_store.transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
175 config_store.transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
Dcnqf.c123 if (tp->timer >= tp->time_constant && tp->count) { in amd_pmf_trans_cnqf()
166 tp->time_constant = out.t_balanced_to_quiet; in amd_pmf_update_trans_data()
171 tp->time_constant = out.t_balanced_to_perf; in amd_pmf_update_trans_data()
176 tp->time_constant = out.t_quiet_to_balanced; in amd_pmf_update_trans_data()
181 tp->time_constant = out.t_perf_to_balanced; in amd_pmf_update_trans_data()
186 tp->time_constant = out.t_turbo_to_perf; in amd_pmf_update_trans_data()
191 tp->time_constant = out.t_perf_to_turbo; in amd_pmf_update_trans_data()
Dpmf.h228 u32 time_constant; /* minimum time required to switch to next mode */ member
335 u32 time_constant; /* minimum time required to switch to next mode */ member