Home
last modified time | relevance | path

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

/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c114 static int trip_high(int tz_id, int trip_id, int temp, void *arg) in trip_high() argument
120 tz_id, tz->name, trip_id, temp); in trip_high()
125 static int trip_low(int tz_id, int trip_id, int temp, void *arg) in trip_low() argument
131 tz_id, tz->name, trip_id, temp); in trip_low()
136 static int trip_add(int tz_id, int trip_id, int type, int temp, int hyst, __maybe_unused void *arg) in trip_add() argument
139 tz_id, trip_id, type, temp, hyst); in trip_add()
144 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg) in trip_delete() argument
146 INFO("Trip point deleted %d: id=%d\n", tz_id, trip_id); in trip_delete()
151 static int trip_change(int tz_id, int trip_id, int type, int temp, in trip_change() argument
158 tz_id, trip_id, type, temp, hyst); in trip_change()
[all …]
/linux/tools/lib/thermal/include/
H A Dthermal.h25 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg);
26 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg);
27 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
28 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
29 int (*trip_delete)(int tz_id, int trip_id, void *arg);
/linux/drivers/thermal/
H A Dthermal_debugfs.c578 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_up() local
645 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id; in thermal_debug_tz_trip_up()
648 trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_tz_trip_up()
657 static void tz_episode_close_trip(struct tz_episode *tze, int trip_id, ktime_t now) in tz_episode_close_trip() argument
659 struct trip_stats *trip_stats = &tze->trip_stats[trip_id]; in tz_episode_close_trip()
671 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_down() local
695 if (tz_dbg->trips_crossed[i] == trip_id) in thermal_debug_tz_trip_down()
709 tz_episode_close_trip(tze, trip_id, now); in thermal_debug_tz_trip_down()
745 int trip_id = tz_dbg->trips_crossed[i]; in thermal_debug_update_trip_stats() local
746 struct trip_stats *trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_update_trip_stats()
[all …]
H A Dthermal_netlink.c60 int trip_id; member
141 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up()
151 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_change()
336 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_down()
346 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_up()
356 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_change()
/linux/drivers/firmware/arm_scmi/
H A Dsensors.c754 u32 sensor_id, u8 trip_id, u64 trip_value) in scmi_sensor_trip_point_config() argument
768 trip->event_control = cpu_to_le32(evt_cntl | SENSOR_TP_ID(trip_id)); in scmi_sensor_trip_point_config()
/linux/include/linux/
H A Dscmi_protocol.h515 u32 sensor_id, u8 trip_id, u64 trip_value);