WebNov 12, 2024 · Sets thermal calculations on or off. The default is on after model configure thermal has been specified. cmodel keyword . Associates a thermal constitutive … WebJan 2, 2008 · const struct thermal_zone_params *tzp, int passive_delay, int polling_delay)) This interface function adds a new thermal zone device (sensor) to /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the thermal cooling devices registered at the same time. type: the thermal zone type.
Thermal zone device structure encapsulation [LWN.net]
Webstruct thermal_cooling_device *cdev; struct cpufreq_cooling_device *cpufreq_cdev; char dev_name [THERMAL_NAME_LENGTH]; struct cpufreq_frequency_table *pos, *table; - cpumask_var_t temp_mask; unsigned int freq, i, num_cpus; int ret; struct thermal_cooling_device_ops *cooling_ops; bool first; - if (!alloc_cpumask_var … WebMay 30, 2014 · struct thermal_zone_device *tz_dev; //declared globally... ... //in the init function tz_dev = thermal_zone_device_register ("tsensor", 2,NULL,&tsensor_ops, 0,0, 0,0); … tera build
[PATCH v2 0/7] Thermal zone device structure …
WebSep 15, 2014 · Register a thermal zone device in sysfs with mulitple trip points corresponding to the physical threshold temperatures between over temperature stages. The temperature reported by this thermal zone device should reflect the actual PMIC die temperature if an ADC is present on the given PMIC. WebApr 28, 2015 · [13/13] thermal: of: implement .set_trips for device tree thermal zones Message ID [email protected] ( mailing list … WebApr 13, 2024 · the knowledge of the thermal_zone_device structure but we want to self-encapsulate this structure and reduce the scope of the structure to the thermal core only. By adding this wrapper, these drivers won't need the thermal zone device structure definition and are no longer an obstacle to its relocation to the private thermal core headers. tera builds