Home
last modified time | relevance | path

Searched refs:ntrips (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_of.c96 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init() argument
100 *ntrips = 0; in thermal_of_trips_init()
121 *ntrips = count; in thermal_of_trips_init()
377 int ntrips; in thermal_of_zone_register() local
387 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()
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c142 unsigned int ntrips; member
566 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()