• Home
  • Raw
  • Download

Lines Matching full:trip

85 /* Programmable Trip Point Register is configured via QRK_MBI_UNIT_RMU */
96 /* Quark DTS has 2 trip points: hot & catastrophic */
98 /* If DTS not locked, all trip points are configurable */
100 /* If DTS locked, all trip points are not configurable */
118 "Polling interval for checking trip points (in milliseconds)");
189 static int _get_trip_temp(int trip, int *temp) in _get_trip_temp() argument
203 * Thermal Sensor Programmable Trip Point Register has 8-bit in _get_trip_temp()
204 * fields for critical (catastrophic) and hot set trip point in _get_trip_temp()
208 *temp = (out >> (trip * QRK_DTS_SHIFT_TP)) & QRK_DTS_MASK_TP_THRES; in _get_trip_temp()
215 int trip, int *temp) in sys_get_trip_temp() argument
217 return _get_trip_temp(trip, temp); in sys_get_trip_temp()
226 int trip, int temp) in update_trip_temp() argument
245 * Protection against unsafe trip point thresdhold value. in update_trip_temp()
247 * regarding the safe trip point threshold value to use, we choose in update_trip_temp()
254 * Thermal Sensor Programmable Trip Point Register has 8-bit in update_trip_temp()
255 * fields for critical (catastrophic) and hot set trip point in update_trip_temp()
261 (trip * QRK_DTS_SHIFT_TP))); in update_trip_temp()
263 (trip * QRK_DTS_SHIFT_TP); in update_trip_temp()
273 static inline int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, in sys_set_trip_temp() argument
276 return update_trip_temp(tzd->devdata, trip, temp); in sys_set_trip_temp()
280 int trip, enum thermal_trip_type *type) in sys_get_trip_type() argument
282 if (trip) in sys_get_trip_type()