Home
last modified time | relevance | path

Searched refs:trip_type (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dthermal_trace.h71 enum thermal_trip_type trip_type),
73 TP_ARGS(tz, trip, trip_type),
79 __field(enum thermal_trip_type, trip_type)
86 __entry->trip_type = trip_type;
91 show_tzt_type(__entry->trip_type))
H A Dthermal_netlink.c61 int trip_type; member
142 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) || in thermal_genl_event_tz_trip_add()
347 int thermal_notify_tz_trip_add(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_add() argument
351 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add()
364 int thermal_notify_tz_trip_change(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_change() argument
368 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
H A Dthermal_core.c330 int trip, int trip_temp, enum thermal_trip_type trip_type) in handle_critical_trips() argument
336 trace_thermal_zone_trip(tz, trip, trip_type); in handle_critical_trips()
338 if (trip_type == THERMAL_TRIP_HOT && tz->ops->hot) in handle_critical_trips()
340 else if (trip_type == THERMAL_TRIP_CRITICAL) in handle_critical_trips()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_soc_dts_iosf.c133 int thres_index, enum thermal_trip_type trip_type, in configure_trip() argument
143 dts->trips[thres_index].type = trip_type; in configure_trip()
348 enum thermal_trip_type trip_type; in intel_soc_dts_iosf_init() local
359 trip_type = THERMAL_TRIP_CRITICAL; in intel_soc_dts_iosf_init()
362 trip_type = THERMAL_TRIP_PASSIVE; in intel_soc_dts_iosf_init()
365 ret = configure_trip(&sensors->soc_dts[i], 1, trip_type, temp); in intel_soc_dts_iosf_init()
/openbmc/linux/tools/thermal/tmon/
H A Dtmon.h58 enum trip_type { enum
67 enum trip_type type;
H A Dsysfs.c126 int trip_type; in get_trip_point_data() local
133 trip_type = str_to_trip_type(temp_str); in get_trip_point_data()
134 if (trip_type < 0) { in get_trip_point_data()
138 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data()
140 tpid, temp_str, trip_type); in get_trip_point_data()