Searched refs:thermal_prop (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/drivers/thermal/ |
| D | gov_user_space.c | 34 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()
|
| /Linux-v6.1/drivers/thermal/intel/int340x_thermal/ |
| D | int3400_thermal.c | 423 char *thermal_prop[5]; in int3400_notify() local 445 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", priv->thermal->type); in int3400_notify() 446 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", priv->thermal->temperature); in int3400_notify() 447 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify() 448 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", therm_event); in int3400_notify() 449 thermal_prop[4] = NULL; in int3400_notify() 450 kobject_uevent_env(&priv->thermal->device.kobj, KOBJ_CHANGE, thermal_prop); in int3400_notify() 451 kfree(thermal_prop[0]); in int3400_notify() 452 kfree(thermal_prop[1]); in int3400_notify() 453 kfree(thermal_prop[2]); in int3400_notify() [all …]
|