Lines Matching refs:nla_put_u32

108 	if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_ID, id))  in thermal_genl_sampling_temp()
111 if (nla_put_u32(skb, THERMAL_GENL_ATTR_TZ_TEMP, temp)) in thermal_genl_sampling_temp()
131 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create()
140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz()
148 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up()
149 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_up()
150 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TEMP, p->temp)) in thermal_genl_event_tz_trip_up()
158 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_change()
159 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, p->trip_id) || in thermal_genl_event_tz_trip_change()
160 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, p->trip_type) || in thermal_genl_event_tz_trip_change()
161 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_change()
162 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_HYST, p->trip_hyst)) in thermal_genl_event_tz_trip_change()
172 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_add()
174 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_MAX_STATE, in thermal_genl_event_cdev_add()
183 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, p->cdev_id)) in thermal_genl_event_cdev_delete()
191 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, in thermal_genl_event_cdev_state_update()
193 nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_CUR_STATE, in thermal_genl_event_cdev_state_update()
202 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_gov_change()
221 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CPU_CAPABILITY_ID, in thermal_genl_event_cpu_capability_change()
225 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CPU_CAPABILITY_PERFORMANCE, in thermal_genl_event_cpu_capability_change()
229 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CPU_CAPABILITY_EFFICIENCY, in thermal_genl_event_cpu_capability_change()
247 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_threshold_add()
248 nla_put_u32(p->msg, THERMAL_GENL_ATTR_THRESHOLD_TEMP, p->temp) || in thermal_genl_event_threshold_add()
249 nla_put_u32(p->msg, THERMAL_GENL_ATTR_THRESHOLD_DIRECTION, p->direction)) in thermal_genl_event_threshold_add()
257 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_threshold_flush()
265 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_threshold_up()
266 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_PREV_TEMP, p->prev_temp) || in thermal_genl_event_threshold_up()
267 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TEMP, p->temp)) in thermal_genl_event_threshold_up()
495 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, tz->id) || in __thermal_genl_cmd_tz_get_id()
551 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TRIP_ID, in thermal_genl_cmd_tz_get_trip()
553 nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TRIP_TYPE, trip->type) || in thermal_genl_cmd_tz_get_trip()
554 nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, trip->temperature) || in thermal_genl_cmd_tz_get_trip()
555 nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TRIP_HYST, trip->hysteresis)) in thermal_genl_cmd_tz_get_trip()
582 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, id) || in thermal_genl_cmd_tz_get_temp()
583 nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_TEMP, temp)) in thermal_genl_cmd_tz_get_temp()
605 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, id) || in thermal_genl_cmd_tz_get_gov()
618 if (nla_put_u32(msg, THERMAL_GENL_ATTR_CDEV_ID, cdev->id)) in __thermal_genl_cmd_cdev_get()
654 if (nla_put_u32(msg, THERMAL_GENL_ATTR_THRESHOLD_TEMP, threshold->temperature) || in __thermal_genl_cmd_threshold_get()
655 nla_put_u32(msg, THERMAL_GENL_ATTR_THRESHOLD_DIRECTION, threshold->direction)) in __thermal_genl_cmd_threshold_get()