Home
last modified time | relevance | path

Searched refs:thermal_prop (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/
H A Dgov_user_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()
/kernel/linux/linux-6.6/drivers/thermal/
H A Dgov_user_space.c34 char *thermal_prop[5]; in notify_user_space() local
39 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space()
40 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space()
41 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space()
42 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
43 thermal_prop[4] = NULL; in notify_user_space()
44 kobject_uevent_env(&tz->device.kobj, KOBJ_CHANGE, thermal_prop); in notify_user_space()
46 kfree(thermal_prop[i]); in notify_user_space()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c377 char *thermal_prop[5]; in int3400_notify() local
399 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", priv->thermal->type); in int3400_notify()
400 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", priv->thermal->temperature); in int3400_notify()
401 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
402 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", therm_event); in int3400_notify()
403 thermal_prop[4] = NULL; in int3400_notify()
404 kobject_uevent_env(&priv->thermal->device.kobj, KOBJ_CHANGE, thermal_prop); in int3400_notify()
405 kfree(thermal_prop[0]); in int3400_notify()
406 kfree(thermal_prop[1]); in int3400_notify()
407 kfree(thermal_prop[ in int3400_notify()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c458 char *thermal_prop[5]; in int3400_notify() local
482 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", thermal_zone_device_type(priv->thermal)); in int3400_notify()
483 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", INT3400_FAKE_TEMP); in int3400_notify()
484 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
485 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", therm_event); in int3400_notify()
486 thermal_prop[4] = NULL; in int3400_notify()
487 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, thermal_prop); in int3400_notify()
488 kfree(thermal_prop[0]); in int3400_notify()
489 kfree(thermal_prop[1]); in int3400_notify()
490 kfree(thermal_prop[ in int3400_notify()
[all...]

Completed in 3 milliseconds