Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thermal/
Dstep_wise.c119 enum thermal_trip_type trip_type; in thermal_zone_trip_update() local
127 trip_type = THERMAL_TRIPS_NONE; in thermal_zone_trip_update()
130 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update()
137 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update()
141 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
160 update_passive_instance(tz, trip_type, 1); in thermal_zone_trip_update()
164 update_passive_instance(tz, trip_type, -1); in thermal_zone_trip_update()
Dfair_share.c26 enum thermal_trip_type trip_type; in get_trip_level() local
42 tz->ops->get_trip_type(tz, count - 1, &trip_type); in get_trip_level()
43 trace_thermal_zone_trip(tz, count - 1, trip_type); in get_trip_level()
Dthermal_core.c379 int trip, enum thermal_trip_type trip_type) in handle_critical_trips() argument
389 trace_thermal_zone_trip(tz, trip, trip_type); in handle_critical_trips()
392 tz->ops->notify(tz, trip, trip_type); in handle_critical_trips()
394 if (trip_type == THERMAL_TRIP_CRITICAL) { in handle_critical_trips()
1241 enum thermal_trip_type trip_type; in thermal_zone_device_register() local
1310 if (tz->ops->get_trip_type(tz, count, &trip_type)) in thermal_zone_device_register()
Dthermal_sysfs.c469 enum thermal_trip_type trip_type; in thermal_zone_passive_is_visible() local
475 tz->ops->get_trip_type(tz, count, &trip_type); in thermal_zone_passive_is_visible()
477 if (trip_type == THERMAL_TRIP_PASSIVE) in thermal_zone_passive_is_visible()
/Linux-v5.4/include/trace/events/
Dthermal.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))
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c40 *type = adap->ch_thermal.trip_type; in cxgb4_thermal_get_trip_type()
82 ch_thermal->trip_type = THERMAL_TRIP_CRITICAL; in cxgb4_thermal_init()
Dcxgb4.h912 int trip_type; member
/Linux-v5.4/tools/thermal/tmon/
Dtmon.h55 enum trip_type { enum
64 enum trip_type type;
Dsysfs.c125 int trip_type; in get_trip_point_data() local
132 trip_type = str_to_trip_type(temp_str); in get_trip_point_data()
133 if (trip_type < 0) { in get_trip_point_data()
137 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data()
139 tpid, temp_str, trip_type); in get_trip_point_data()
/Linux-v5.4/drivers/thermal/intel/
Dintel_soc_dts_iosf.c101 enum thermal_trip_type trip_type) in update_trip_temp() argument
172 dts->trip_types[thres_index] = trip_type; in update_trip_temp()
/Linux-v5.4/drivers/acpi/
Dthermal.c728 enum thermal_trip_type trip_type) in thermal_notify() argument
733 if (trip_type == THERMAL_TRIP_CRITICAL) in thermal_notify()
735 else if (trip_type == THERMAL_TRIP_HOT) in thermal_notify()
743 if (trip_type == THERMAL_TRIP_CRITICAL && nocrt) in thermal_notify()