Searched refs:thermal_trips (Results 1 – 1 of 1) sorted by relevance
26 struct thermal_trips { struct49 struct thermal_trips *thermal_trips; argument291 struct thermal_trips **trips) in pwm_fan_get_thermal_trips()294 struct thermal_trips *thermal_trips; in pwm_fan_get_thermal_trips() local308 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()[all …]