Lines Matching refs:trip
52 int trip, int *temp) in int340x_thermal_get_trip_temp() argument
58 return d->override_ops->get_trip_temp(zone, trip, temp); in int340x_thermal_get_trip_temp()
60 if (trip < d->aux_trip_nr) in int340x_thermal_get_trip_temp()
61 *temp = d->aux_trips[trip]; in int340x_thermal_get_trip_temp()
62 else if (trip == d->crt_trip_id) in int340x_thermal_get_trip_temp()
64 else if (trip == d->psv_trip_id) in int340x_thermal_get_trip_temp()
66 else if (trip == d->hot_trip_id) in int340x_thermal_get_trip_temp()
71 d->act_trips[i].id == trip) { in int340x_thermal_get_trip_temp()
84 int trip, in int340x_thermal_get_trip_type() argument
91 return d->override_ops->get_trip_type(zone, trip, type); in int340x_thermal_get_trip_type()
93 if (trip < d->aux_trip_nr) in int340x_thermal_get_trip_type()
95 else if (trip == d->crt_trip_id) in int340x_thermal_get_trip_type()
97 else if (trip == d->hot_trip_id) in int340x_thermal_get_trip_type()
99 else if (trip == d->psv_trip_id) in int340x_thermal_get_trip_type()
104 d->act_trips[i].id == trip) { in int340x_thermal_get_trip_type()
117 int trip, int temp) in int340x_thermal_set_trip_temp() argument
124 return d->override_ops->set_trip_temp(zone, trip, temp); in int340x_thermal_set_trip_temp()
126 snprintf(name, sizeof(name), "PAT%d", trip); in int340x_thermal_set_trip_temp()
132 d->aux_trips[trip] = temp; in int340x_thermal_set_trip_temp()
139 int trip, int *temp) in int340x_thermal_get_trip_hyst() argument
146 return d->override_ops->get_trip_hyst(zone, trip, temp); in int340x_thermal_get_trip_hyst()