Lines Matching defs:trip
439 * @trip_temp: the trip temperature to check
453 dev_info(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
585 static int tegra_thermctl_set_trip_temp(void *data, int trip, int temp)
598 ret = tz->ops->get_trip_type(tz, trip, &type);
605 * doesn't need to program critical type trip to HW,
606 * if not, program critical trip to HW.
624 if (get_thermal_instance(tz, cdev, trip))
636 static int tegra_thermctl_get_trend(void *data, int trip,
646 ret = tz->ops->get_trip_temp(zone->tz, trip, &trip_temp);
723 static int get_hot_temp(struct thermal_zone_device *tz, int *trip, int *temp)
739 *trip = i;
749 * tegra_soctherm_set_hwtrips() - set HW trip point from DT data
754 * Configure the SOC_THERM HW trip points, setting "THERMTRIP"
755 * "THROTTLE" trip points , using "thermtrips", "critical" or "hot"
778 int i, trip, temperature, ret;
795 ret = get_hot_temp(tz, &trip, &temperature);
809 if (get_thermal_instance(tz, cdev, trip))
842 * new trip points. Hence there cant be a interrupt on the same sensor.
2249 /* Configure hw trip points */