Searched refs:last_warn (Results 1 – 1 of 1) sorted by relevance
/drivers/sbus/char/ |
D | bbc_envctrl.c | 169 static void analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_ambient_temp() argument 173 if (time_after(jiffies, (*last_warn + WARN_INTERVAL))) { in analyze_ambient_temp() 188 *last_warn = jiffies; in analyze_ambient_temp() 224 static void analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_cpu_temp() argument 228 if (time_after(jiffies, (*last_warn + WARN_INTERVAL))) { in analyze_cpu_temp() 243 *last_warn = jiffies; in analyze_cpu_temp() 279 static void analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) in analyze_temps() argument 284 analyze_ambient_temp(tp, last_warn, tp->sample_tick); in analyze_temps() 285 analyze_cpu_temp(tp, last_warn, tp->sample_tick); in analyze_temps()
|