trip_type
const char *thermal_trip_type_name(enum thermal_trip_type trip_type);
nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) ||
.trip_type = trip->type,
int trip_type;
enum thermal_trip_type trip_type),
TP_ARGS(tz, trip, trip_type),
__field(enum thermal_trip_type, trip_type)
__entry->trip_type = trip_type;
show_tzt_type(__entry->trip_type))
const char *thermal_trip_type_name(enum thermal_trip_type trip_type)
if (trip_type < THERMAL_TRIP_ACTIVE || trip_type > THERMAL_TRIP_CRITICAL)
return trip_type_names[trip_type];
int trip_type;
trip_type = str_to_trip_type(temp_str);
if (trip_type < 0) {
ptdata.tzi[tzid].tp[tpid].type = trip_type;
tpid, temp_str, trip_type);
enum trip_type type;