Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dyogafan.c96 s64 dt_ms = ktime_to_ms(ktime_sub(now, data->last_sample[idx])); in apply_rllag_filter() local
106 if (data->last_sample[idx] == 0 || dt_ms > MAX_SAMPLING) { in apply_rllag_filter()
112 if (dt_ms < MIN_SAMPLING) in apply_rllag_filter()
121 temp_num = dt_ms << 12; in apply_rllag_filter()
122 alpha = (long)div64_s64(temp_num, (s64)(TAU_MS + dt_ms)); in apply_rllag_filter()
128 limit = (MAX_SLEW_RPM_S * (long)dt_ms) / 1000; in apply_rllag_filter()