Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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.c48 unsigned int trip_id; member
236 tbp->trip_id, cdev, in of_thermal_bind()
271 tbp->trip_id, cdev); in of_thermal_unbind()
714 __tbp->trip_id = i; in thermal_of_populate_bind_params()
/linux-5.19.10/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-5.19.10/include/linux/
Dscmi_protocol.h466 u32 sensor_id, u8 trip_id, u64 trip_value);
/linux-5.19.10/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()