Lines Matching refs:thermal_trips
26 struct thermal_trips { struct
49 struct thermal_trips *thermal_trips; argument
291 struct thermal_trips **trips) in pwm_fan_get_thermal_trips()
294 struct thermal_trips *thermal_trips; in pwm_fan_get_thermal_trips() local
308 thermal_trips = devm_kzalloc(dev, in pwm_fan_get_thermal_trips()
309 sizeof(*thermal_trips) * (count / 2 + 1), in pwm_fan_get_thermal_trips()
311 if (!thermal_trips) in pwm_fan_get_thermal_trips()
316 &thermal_trips[i].temp); in pwm_fan_get_thermal_trips()
318 &thermal_trips[i].state); in pwm_fan_get_thermal_trips()
320 thermal_trips[i].temp = 0; in pwm_fan_get_thermal_trips()
321 thermal_trips[i].state = INT_MAX; in pwm_fan_get_thermal_trips()
323 *trips = thermal_trips; in pwm_fan_get_thermal_trips()
330 struct thermal_trips *trips = ctx->thermal_trips; in pwm_fan_temp_to_state()
370 &ctx->thermal_trips)) in pwm_fan_register_thermal_notifier()