Searched refs:THERMAL_GENL_ATTR_TZ_ID (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/tools/lib/thermal/ |
A D | events.c | 43 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()
|
A D | commands.c | 15 [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()
|
A D | sampling.c | 25 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_sample()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_netlink.c | 24 [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() 419 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, tz->id) || in __thermal_genl_cmd_tz_get_id() 458 if (!p->attrs[THERMAL_GENL_ATTR_TZ_ID]) in thermal_genl_cmd_tz_get_trip() 461 id = nla_get_u32(p->attrs[THERMAL_GENL_ATTR_TZ_ID]); in thermal_genl_cmd_tz_get_trip() 504 if (!p->attrs[THERMAL_GENL_ATTR_TZ_ID]) in thermal_genl_cmd_tz_get_temp() 507 id = nla_get_u32(p->attrs[THERMAL_GENL_ATTR_TZ_ID]); in thermal_genl_cmd_tz_get_temp() 517 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, id) || in thermal_genl_cmd_tz_get_temp() 530 if (!p->attrs[THERMAL_GENL_ATTR_TZ_ID]) in thermal_genl_cmd_tz_get_gov() 533 id = nla_get_u32(p->attrs[THERMAL_GENL_ATTR_TZ_ID]); in thermal_genl_cmd_tz_get_gov() [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | thermal.h | 29 THERMAL_GENL_ATTR_TZ_ID, enumerator
|
Completed in 8 milliseconds