Home
last modified time | relevance | path

Searched refs:trip_type (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/
H A Dgov_step_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()
H A 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()
H A Dthermal_netlink.c56 int trip_type; member
134 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) || in thermal_genl_event_tz_trip_add()
302 int thermal_notify_tz_trip_add(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_add() argument
306 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add()
319 int thermal_notify_tz_trip_change(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_change() argument
323 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
H A Dthermal_core.c383 int trip, enum thermal_trip_type trip_type) in handle_critical_trips()
393 trace_thermal_zone_trip(tz, trip, trip_type); in handle_critical_trips()
396 tz->ops->notify(tz, trip, trip_type); in handle_critical_trips()
398 if (trip_type == THERMAL_TRIP_CRITICAL) { in handle_critical_trips()
1393 enum thermal_trip_type trip_type; in thermal_zone_device_register() local
1462 if (tz->ops->get_trip_type(tz, count, &trip_type)) in thermal_zone_device_register()
382 handle_critical_trips(struct thermal_zone_device *tz, int trip, enum thermal_trip_type trip_type) handle_critical_trips() argument
H A Dthermal_sysfs.c453 enum thermal_trip_type trip_type; in thermal_zone_passive_is_visible() local
459 tz->ops->get_trip_type(tz, count, &trip_type); in thermal_zone_passive_is_visible()
461 if (trip_type == THERMAL_TRIP_PASSIVE) in thermal_zone_passive_is_visible()
/kernel/linux/linux-5.10/include/trace/events/
H A 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;
89 TP_printk("thermal_zone=%s id=%d trip=%d trip_type=%s",
91 show_tzt_type(__entry->trip_type))
/kernel/linux/linux-6.6/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;
89 TP_printk("thermal_zone=%s id=%d trip=%d trip_type=%s",
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()
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()
329 handle_critical_trips(struct thermal_zone_device *tz, int trip, int trip_temp, enum thermal_trip_type trip_type) handle_critical_trips() argument
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_soc_dts_iosf.c133 int thres_index, enum thermal_trip_type trip_type, in configure_trip()
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()
132 configure_trip(struct intel_soc_dts_sensor_entry *dts, int thres_index, enum thermal_trip_type trip_type, int temp) configure_trip() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A Dcxgb4.h1085 int trip_type; member
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_soc_dts_iosf.c102 enum thermal_trip_type trip_type) in update_trip_temp()
176 dts->trip_types[thres_index] = trip_type; in update_trip_temp()
100 update_trip_temp(struct intel_soc_dts_sensor_entry *dts, int thres_index, int temp, enum thermal_trip_type trip_type) update_trip_temp() argument
/kernel/linux/linux-5.10/drivers/acpi/
H A Dthermal.c676 enum thermal_trip_type trip_type) in thermal_notify()
681 if (trip_type == THERMAL_TRIP_CRITICAL) in thermal_notify()
683 else if (trip_type == THERMAL_TRIP_HOT) in thermal_notify()
691 if (trip_type == THERMAL_TRIP_CRITICAL && nocrt) in thermal_notify()
675 thermal_notify(struct thermal_zone_device *thermal, int trip, enum thermal_trip_type trip_type) thermal_notify() argument

Completed in 19 milliseconds