Home
last modified time | relevance | path

Searched refs:THERMAL_GENL_ATTR_CDEV_ID (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/tools/lib/thermal/
Devents.c84 nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_ID]), in handle_thermal_event()
88 return ops->cdev_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_ID]), arg); in handle_thermal_event()
91 return ops->cdev_update(nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_ID]), in handle_thermal_event()
Dcommands.c32 [THERMAL_GENL_ATTR_CDEV_ID] = { .type = NLA_U32 },
81 if (nla_type(attr) == THERMAL_GENL_ATTR_CDEV_ID) { in parse_cdev_get()
/linux-5.19.10/drivers/thermal/
Dthermal_netlink.c41 [THERMAL_GENL_ATTR_CDEV_ID] = { .type = NLA_U32 },
163 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_add()
174 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, p->cdev_id)) in thermal_genl_event_cdev_delete()
182 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_state_update()
559 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CDEV_ID, cdev->id)) in __thermal_genl_cmd_cdev_get()
/linux-5.19.10/include/uapi/linux/
Dthermal.h42 THERMAL_GENL_ATTR_CDEV_ID, enumerator