Home
last modified time | relevance | path

Searched refs:THERMAL_GENL_ATTR_TZ_ID (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/tools/lib/thermal/
Devents.c43 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
46 return ops->tz_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
49 return ops->tz_enable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
52 return ops->tz_disable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
55 return ops->trip_change(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
62 return ops->trip_add(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
69 return ops->trip_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
73 return ops->trip_high(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
78 return ops->trip_low(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
95 return ops->gov_change(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
Dcommands.c15 [THERMAL_GENL_ATTR_TZ_ID] = { .type = NLA_U32 },
47 if (nla_type(attr) == THERMAL_GENL_ATTR_TZ_ID) { in parse_tz_get()
154 if (info->attrs[THERMAL_GENL_ATTR_TZ_ID]) in parse_tz_get_temp()
155 id = nla_get_u32(info->attrs[THERMAL_GENL_ATTR_TZ_ID]); in parse_tz_get_temp()
170 if (info->attrs[THERMAL_GENL_ATTR_TZ_ID]) in parse_tz_get_gov()
171 id = nla_get_u32(info->attrs[THERMAL_GENL_ATTR_TZ_ID]); in parse_tz_get_gov()
279 if (id >= 0 && nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, id)) in thermal_genl_auto()
Dsampling.c25 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_sample()
/linux-5.19.10/drivers/thermal/
Dthermal_netlink.c24 [THERMAL_GENL_ATTR_TZ_ID] = { .type = NLA_U32 },
90 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_ID, id)) in thermal_genl_sampling_temp()
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()
419 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, tz->id) || in __thermal_genl_cmd_tz_get_id()
457 if (!p->attrs[THERMAL_GENL_ATTR_TZ_ID]) in thermal_genl_cmd_tz_get_trip()
[all …]
/linux-5.19.10/include/uapi/linux/
Dthermal.h29 THERMAL_GENL_ATTR_TZ_ID, enumerator