Home
last modified time | relevance | path

Searched refs:thermal_prop (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/thermal/
Duser_space.c27 char *thermal_prop[5]; in notify_user_space() local
31 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space()
32 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space()
33 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space()
34 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
35 thermal_prop[4] = NULL; in notify_user_space()
36 kobject_uevent_env(&tz->device.kobj, KOBJ_CHANGE, thermal_prop); in notify_user_space()
38 kfree(thermal_prop[i]); in notify_user_space()
/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dint3400_thermal.c202 char *thermal_prop[5]; in int3400_notify() local
209 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", in int3400_notify()
211 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", in int3400_notify()
213 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
214 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", in int3400_notify()
216 thermal_prop[4] = NULL; in int3400_notify()
218 thermal_prop); in int3400_notify()