| /linux-6.15/tools/thermal/thermal-engine/ |
| H A D | thermal-engine.c | 148 static int trip_high(int tz_id, int trip_id, int temp, void *arg) in trip_high() argument 154 tz_id, tz->name, trip_id, temp); in trip_high() 159 static int trip_low(int tz_id, int trip_id, int temp, void *arg) in trip_low() argument 165 tz_id, tz->name, trip_id, temp); in trip_low() 173 tz_id, trip_id, type, temp, hyst); in trip_add() 180 INFO("Trip point deleted %d: id=%d\n", tz_id, trip_id); in trip_delete() 185 static int trip_change(int tz_id, int trip_id, int type, int temp, in trip_change() argument 192 tz_id, trip_id, type, temp, hyst); in trip_change() 194 tz->trip[trip_id].type = type; in trip_change() 195 tz->trip[trip_id].temp = temp; in trip_change() [all …]
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_debugfs.c | 583 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_up() local 650 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id; in thermal_debug_tz_trip_up() 653 trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_tz_trip_up() 676 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_debug_tz_trip_down() local 700 if (tz_dbg->trips_crossed[i] == trip_id) in thermal_debug_tz_trip_down() 714 tz_episode_close_trip(tze, trip_id, now); in thermal_debug_tz_trip_down() 750 int trip_id = tz_dbg->trips_crossed[i]; in thermal_debug_update_trip_stats() local 793 int trip_id; in tze_seq_show() local 824 trip_id = thermal_zone_trip_id(tz, trip); in tze_seq_show() 825 trip_stats = &tze->trip_stats[trip_id]; in tze_seq_show() [all …]
|
| H A D | gov_step_wise.c | 74 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_zone_trip_update() local 80 trace_thermal_zone_trip(tz, trip_id, trip->type); in thermal_zone_trip_update() 84 trip_id, trip->type, trip_threshold, trend, throttle); in thermal_zone_trip_update()
|
| H A D | thermal_netlink.c | 66 int trip_id; member 149 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up() 159 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_change() 383 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_down() 393 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_up() 403 .trip_id = thermal_zone_trip_id(tz, trip), in thermal_notify_tz_trip_change()
|
| /linux-6.15/tools/lib/thermal/include/ |
| H A D | thermal.h | 34 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg); 35 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg); 36 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg); 37 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg); 38 int (*trip_delete)(int tz_id, int trip_id, void *arg);
|
| /linux-6.15/drivers/firmware/arm_scmi/ |
| H A D | sensors.c | 754 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-6.15/include/linux/ |
| H A D | scmi_protocol.h | 515 u32 sensor_id, u8 trip_id, u64 trip_value);
|