Lines Matching full:trip
82 /* Programmable Trip Point Register is configured via QRK_MBI_UNIT_RMU */
94 /* Quark DTS has 2 trip points: hot & catastrophic */
96 /* If DTS not locked, all trip points are configurable */
98 /* If DTS locked, all trip points are not configurable */
116 "Polling interval for checking trip points (in milliseconds)");
177 static int get_trip_temp(int trip) in get_trip_temp() argument
191 * Thermal Sensor Programmable Trip Point Register has 8-bit in get_trip_temp()
192 * fields for critical (catastrophic) and hot set trip point in get_trip_temp()
196 temp = (out >> (trip * QRK_DTS_SHIFT_TP)) & QRK_DTS_MASK_TP_THRES; in get_trip_temp()
203 int trip, int temp) in update_trip_temp() argument
222 * Protection against unsafe trip point thresdhold value. in update_trip_temp()
224 * regarding the safe trip point threshold value to use, we choose in update_trip_temp()
231 * Thermal Sensor Programmable Trip Point Register has 8-bit in update_trip_temp()
232 * fields for critical (catastrophic) and hot set trip point in update_trip_temp()
238 (trip * QRK_DTS_SHIFT_TP))); in update_trip_temp()
240 (trip * QRK_DTS_SHIFT_TP); in update_trip_temp()
250 static inline int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() argument
253 return update_trip_temp(thermal_zone_device_priv(tzd), trip, temp); in sys_set_trip_temp()