Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/platform/x86/amd/pmf/
Dauto-mode.c27 data->transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant); in amd_pmf_dump_auto_mode_defaults()
29 data->transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults()
31 data->transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults()
33 data->transition[AUTO_TRANSITION_TO_QUIET].time_constant); in amd_pmf_dump_auto_mode_defaults()
165 config_store.transition[i].time_constant) in amd_pmf_trans_automode()
172 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
177 config_store.transition[i].time_constant && in amd_pmf_trans_automode()
189 config_store.transition[i].time_constant); in amd_pmf_trans_automode()
310 config_store.transition[AUTO_TRANSITION_TO_QUIET].time_constant = in amd_pmf_load_defaults_auto_mode()
312 config_store.transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant = in amd_pmf_load_defaults_auto_mode()
[all …]
Dcnqf.c186 if (tp->timer >= tp->time_constant && tp->count) { in amd_pmf_trans_cnqf()
241 tp->time_constant = out->t_balanced_to_quiet; in amd_pmf_update_trans_data()
246 tp->time_constant = out->t_balanced_to_perf; in amd_pmf_update_trans_data()
251 tp->time_constant = out->t_quiet_to_balanced; in amd_pmf_update_trans_data()
256 tp->time_constant = out->t_perf_to_balanced; in amd_pmf_update_trans_data()
261 tp->time_constant = out->t_turbo_to_perf; in amd_pmf_update_trans_data()
266 tp->time_constant = out->t_perf_to_turbo; in amd_pmf_update_trans_data()
Dpmf.h243 u32 time_constant; /* minimum time required to switch to next mode */ member
350 u32 time_constant; /* minimum time required to switch to next mode */ member
/linux-6.6.21/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 …]