Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Duser_space.c39 char *thermal_prop[5]; in notify_user_space() local
43 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space()
44 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space()
45 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space()
46 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
47 thermal_prop[4] = NULL; in notify_user_space()
48 kobject_uevent_env(&tz->device.kobj, KOBJ_CHANGE, thermal_prop); in notify_user_space()
50 kfree(thermal_prop[i]); in notify_user_space()
/Linux-v4.19/drivers/thermal/int340x_thermal/
Dint3400_thermal.c195 char *thermal_prop[5]; in int3400_notify() local
202 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", in int3400_notify()
204 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", in int3400_notify()
206 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
207 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", in int3400_notify()
209 thermal_prop[4] = NULL; in int3400_notify()
211 thermal_prop); in int3400_notify()