Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thermal/
Dgov_step_wise.c101 enum thermal_trip_type trip_type; in thermal_zone_trip_update() local
108 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update()
114 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update()
118 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
135 update_passive_instance(tz, trip_type, 1); in thermal_zone_trip_update()
139 update_passive_instance(tz, trip_type, -1); in thermal_zone_trip_update()
Dgov_fair_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_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()
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()
1185 enum thermal_trip_type trip_type; in thermal_zone_device_register_with_trips() local
1277 if (tz->ops->get_trip_type(tz, count, &trip_type) || in thermal_zone_device_register_with_trips()
/linux-6.1.9/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-6.1.9/tools/thermal/tmon/
Dtmon.h58 enum trip_type { enum
67 enum trip_type type;
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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_thermal.c40 *type = adap->ch_thermal.trip_type; in cxgb4_thermal_get_trip_type()
83 ch_thermal->trip_type = THERMAL_TRIP_CRITICAL; in cxgb4_thermal_init()
Dcxgb4.h1083 int trip_type; member
/linux-6.1.9/drivers/thermal/intel/
Dintel_soc_dts_iosf.c102 enum thermal_trip_type trip_type) in update_trip_temp() argument
176 dts->trip_types[thres_index] = trip_type; in update_trip_temp()