Searched refs:ntrips (Results 1 – 2 of 2) sorted by relevance
96 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init() argument100 *ntrips = 0; in thermal_of_trips_init()121 *ntrips = count; in thermal_of_trips_init()377 int ntrips; in thermal_of_zone_register() local387 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register()415 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register()
142 unsigned int ntrips; member566 trip->priv = THERMAL_INT_TO_TRIP_PRIV(chip->ntrips); in qpnp_tm_gen2_rev2_configure_trip_temps_cb()567 ret = qpnp_tm_gen2_rev2_set_temp_thresh(chip, chip->ntrips, trip->temperature); in qpnp_tm_gen2_rev2_configure_trip_temps_cb()568 chip->ntrips++; in qpnp_tm_gen2_rev2_configure_trip_temps_cb()620 trip->priv = THERMAL_INT_TO_TRIP_PRIV(chip->ntrips); in qpnp_tm_lite_configure_trip_temps_cb()621 ret = qpnp_tm_lite_set_temp_thresh(chip, chip->ntrips, trip->temperature); in qpnp_tm_lite_configure_trip_temps_cb()622 chip->ntrips++; in qpnp_tm_lite_configure_trip_temps_cb()