Searched refs:last_warn (Results 1 – 1 of 1) sorted by relevance
/drivers/sbus/char/ |
D | bbc_envctrl.c | 168 static void analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_ambient_temp() argument 172 if (time_after(jiffies, (*last_warn + WARN_INTERVAL))) { in analyze_ambient_temp() 187 *last_warn = jiffies; in analyze_ambient_temp() 223 static void analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_cpu_temp() argument 227 if (time_after(jiffies, (*last_warn + WARN_INTERVAL))) { in analyze_cpu_temp() 242 *last_warn = jiffies; in analyze_cpu_temp() 278 static void analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) in analyze_temps() argument 283 analyze_ambient_temp(tp, last_warn, tp->sample_tick); in analyze_temps() 284 analyze_cpu_temp(tp, last_warn, tp->sample_tick); in analyze_temps()
|