Lines Matching refs:tz_id
57 int tz_id; member
113 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create()
122 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz()
130 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up()
140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_add()
152 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_delete()
193 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_gov_change()
305 int thermal_notify_tz_create(int tz_id, const char *name) in thermal_notify_tz_create() argument
307 struct param p = { .tz_id = tz_id, .name = name }; in thermal_notify_tz_create()
312 int thermal_notify_tz_delete(int tz_id) in thermal_notify_tz_delete() argument
314 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_delete()
319 int thermal_notify_tz_enable(int tz_id) in thermal_notify_tz_enable() argument
321 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_enable()
326 int thermal_notify_tz_disable(int tz_id) in thermal_notify_tz_disable() argument
328 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_disable()
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()
357 int thermal_notify_tz_trip_delete(int tz_id, int trip_id) in thermal_notify_tz_trip_delete() argument
359 struct param p = { .tz_id = tz_id, .trip_id = trip_id }; in thermal_notify_tz_trip_delete()
364 int thermal_notify_tz_trip_change(int tz_id, int trip_id, int trip_type, in thermal_notify_tz_trip_change() argument
367 struct param p = { .tz_id = tz_id, .trip_id = trip_id, in thermal_notify_tz_trip_change()
396 int thermal_notify_tz_gov_change(int tz_id, const char *name) in thermal_notify_tz_gov_change() argument
398 struct param p = { .tz_id = tz_id, .name = name }; in thermal_notify_tz_gov_change()