Lines Matching defs:trip
439 * @trip_temp: the trip temperature to check
453 dev_dbg(dev, "soctherm: trip temperature %d forced to %d\n",
463 * @trip_temp: the temperature in millicelsius to trigger the thermal trip at
465 * Sets the thermal trip threshold of the given sensor group to be the
502 * @trip_temp: the temperature in millicelsius to trigger the thermal trip at
504 * Sets the thermal trip threshold and throttle event of the given sensor
589 struct thermal_trip trip;
597 ret = __thermal_zone_get_trip(tz, trip_id, &trip);
601 if (trip.type == THERMAL_TRIP_CRITICAL) {
604 * doesn't need to program critical type trip to HW,
605 * if not, program critical trip to HW.
612 } else if (trip.type == THERMAL_TRIP_HOT) {
693 struct thermal_trip trip;
697 ret = thermal_zone_get_trip(tz, i, &trip);
701 if (trip.type == THERMAL_TRIP_HOT) {
711 * tegra_soctherm_set_hwtrips() - set HW trip point from DT data
716 * Configure the SOC_THERM HW trip points, setting "THERMTRIP"
717 * "THROTTLE" trip points , using "thermtrips", "critical" or "hot"
740 int i, trip, temperature, ret;
757 ret = get_hot_temp(tz, &trip, &temperature);
771 if (get_thermal_instance(tz, cdev, trip))
804 * new trip points. Hence there cant be a interrupt on the same sensor.
2204 /* Configure hw trip points */