Home
last modified time | relevance | path

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

/linux-6.1.9/tools/thermal/thermal-engine/
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-6.1.9/drivers/thermal/
Dthermal_netlink.c59 int trip_id; member
131 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up()
141 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_add()
153 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id)) in thermal_genl_event_tz_trip_delete()
333 int thermal_notify_tz_trip_down(int tz_id, int trip_id, int temp) in thermal_notify_tz_trip_down() argument
335 struct param p = { .tz_id = tz_id, .trip_id = trip_id, .temp = temp }; in thermal_notify_tz_trip_down()
340 int thermal_notify_tz_trip_up(int tz_id, int trip_id, int temp) in thermal_notify_tz_trip_up() argument
342 struct param p = { .tz_id = tz_id, .trip_id = trip_id, .temp = temp }; in thermal_notify_tz_trip_up()
347 int thermal_notify_tz_trip_add(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_add() argument
350 struct param p = { .tz_id = tz_id, .trip_id = trip_id, in thermal_notify_tz_trip_add()
[all …]
Dthermal_of.c403 static int __thermal_of_unbind(struct device_node *map_np, int index, int trip_id, in __thermal_of_unbind() argument
427 ret = thermal_zone_unbind_cooling_device(tz, trip_id, cdev); in __thermal_of_unbind()
434 static int __thermal_of_bind(struct device_node *map_np, int index, int trip_id, in __thermal_of_bind() argument
460 ret = thermal_zone_bind_cooling_device(tz, trip_id, cdev, cooling_spec.args[1], in __thermal_of_bind()
475 int count, i, trip_id; in thermal_of_for_each_cooling_device() local
481 trip_id = of_find_trip_id(tz_np, tr_np); in thermal_of_for_each_cooling_device()
482 if (trip_id < 0) in thermal_of_for_each_cooling_device()
483 return trip_id; in thermal_of_for_each_cooling_device()
497 action(map_np, i, trip_id, tz, cdev); in thermal_of_for_each_cooling_device()
/linux-6.1.9/tools/lib/thermal/include/
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-6.1.9/drivers/firmware/arm_scmi/
Dsensors.c736 u32 sensor_id, u8 trip_id, u64 trip_value) in scmi_sensor_trip_point_config() argument
750 trip->event_control = cpu_to_le32(evt_cntl | SENSOR_TP_ID(trip_id)); in scmi_sensor_trip_point_config()
/linux-6.1.9/include/linux/
Dscmi_protocol.h472 u32 sensor_id, u8 trip_id, u64 trip_value);