| Top |
SetCurrentPreference (IN s new_pref); SetUserMaxTemperature (IN s zone_name, IN u user_set_point_in_milli_degree_celsius); SetUserPassiveTemperature (IN s zone_name, IN u user_passive_control_in_milli_degree_celsius); GetCurrentPreference (OUT s cur_pref); AddSensor (IN s sensor_name, IN s path); AddVirtualSensor (IN s sensor_name, IN s dep_sensor_name, IN d slope, IN d intercept); GetSensorCount (OUT u count); GetSensorInformation (IN u index, OUT s sensor, OUT s path, OUT i temp); GetSensorTemperature (IN u index, OUT u temperature); GetZoneCount (OUT u count); GetZoneInformation (IN u index, OUT s zone, OUT i sensor_count, OUT i trip_count, OUT i bound); GetZoneSensorAtIndex (IN u zone_index, IN u sensor_index, OUT s sensor_type); GetZoneTripAtIndex (IN u zone_index, IN u trip_index, OUT i temp, OUT i trip_type, OUT i sensor_id, OUT i cdev_size, OUT ai cdev_ids); GetCdevCount (OUT u count); GetCdevInformation (IN u index, OUT s type, OUT i min_state, OUT i max_state, OUT i current_state); AddZonePassive (IN s zone_name, IN u trip_point_temp, IN s trip_point_sensor, IN s trip_point_cdev); DeleteZone (IN s zone_name); SetZoneStatus (IN s zone_name, IN i enable); GetZoneStatus (IN s zone_name, OUT i enable); AddTripPoint (IN s zone_name, IN u trip_point_temp, IN s trip_point_sensor, IN s trip_point_cdev); DeleteTripPoint (IN s zone_name, IN u trip_point_temp); AddCoolingDevice (IN s cdev_name, IN s optional_path, IN i min_state, IN i max_state, IN i inc_step); UpdateCoolingDevice (IN s cdev_name, IN s optional_path, IN i min_state, IN i max_state, IN i inc_step); DisableCoolingDevice (IN s cdev_name); Reinit (); Terminate ();
SetCurrentPreference (IN s new_pref);
The new preference can be one of:
PERFORMANCE: performance driven policy (ACPI: ACTIVE)
ENERGY_CONSERVE: Energy conservation "Quiet" mode (ACPI: PASSIVE)
DISABLE: Disable thermal daemon
|
a string representing the selected preference |
SetUserMaxTemperature (IN s zone_name,
IN u user_set_point_in_milli_degree_celsius);
|
|
|
|
SetUserPassiveTemperature (IN s zone_name,
IN u user_passive_control_in_milli_degree_celsius);
|
|
|
|
GetCurrentPreference (OUT s cur_pref);
Returns the current preference
|
|
AddVirtualSensor (IN s sensor_name,
IN s dep_sensor_name,
IN d slope,
IN d intercept);
|
|
|
|
|
|
|
|
GetSensorInformation (IN u index,
OUT s sensor,
OUT s path,
OUT i temp);
|
|
|
|
|
|
|
|
GetSensorTemperature (IN u index,
OUT u temperature);
|
|
|
|
GetZoneInformation (IN u index,
OUT s zone,
OUT i sensor_count,
OUT i trip_count,
OUT i bound);
|
|
|
|
|
|
|
|
|
|
GetZoneSensorAtIndex (IN u zone_index,
IN u sensor_index,
OUT s sensor_type);
|
|
|
|
|
|
GetZoneTripAtIndex (IN u zone_index,
IN u trip_index,
OUT i temp,
OUT i trip_type,
OUT i sensor_id,
OUT i cdev_size,
OUT ai cdev_ids);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GetCdevInformation (IN u index,
OUT s type,
OUT i min_state,
OUT i max_state,
OUT i current_state);
|
|
|
|
|
|
|
|
|
|
AddZonePassive (IN s zone_name,
IN u trip_point_temp,
IN s trip_point_sensor,
IN s trip_point_cdev);
|
|
|
|
|
|
|
|
SetZoneStatus (IN s zone_name,
IN i enable);
|
|
|
|
GetZoneStatus (IN s zone_name,
OUT i enable);
|
|
|
|
AddTripPoint (IN s zone_name,
IN u trip_point_temp,
IN s trip_point_sensor,
IN s trip_point_cdev);
|
|
|
|
|
|
|
|
DeleteTripPoint (IN s zone_name,
IN u trip_point_temp);
|
|
|
|
AddCoolingDevice (IN s cdev_name,
IN s optional_path,
IN i min_state,
IN i max_state,
IN i inc_step);
|
|
|
|
|
|
|
|
|
|
UpdateCoolingDevice (IN s cdev_name,
IN s optional_path,
IN i min_state,
IN i max_state,
IN i inc_step);
|
|
|
|
|
|
|
|
|
|