struct trip_point { enum trip_type type; unsignedlong temp; unsignedlong hysteresis; int attribute; /* programmability etc. */
};
/* thermal zone configuration information, binding with cooling devices could *changeatruntime.
*/ struct tz_info { char type[256]; /* e.g. acpitz */ int instance; int passive; /* active zone has passive node to force passive mode */ int nr_cdev; /* number of cooling device binded */ int nr_trip_pts; struct trip_point tp[MAX_NR_TRIP]; unsignedlong cdev_binding; /* bitmap for attached cdevs */ /* cdev bind trip points, allow one cdev bind to multiple trips */ unsignedlong trip_binding[MAX_NR_CDEV];
};
struct tmon_platform_data { int nr_tz_sensor; int nr_cooling_dev; /* keep track of instance ids since there might be gaps */ int max_tz_instance; int max_cdev_instance; struct tz_info *tzi; struct cdev_info *cdi;
};
/* REVISIT: the idea is to group sensors if possible, e.g. on intel mid *wehave"skin0","skin1","sys","msicdie" *onDPTFenabledsystems,wemighthavePCH,TSKN,TAMB,etc.
*/ enum tzone_types {
TZONE_TYPE_ACPI,
TZONE_TYPE_PCH,
TZONE_TYPE_NR,
};
/* limit the output of PID controller adjustment */ #define LIMIT_HIGH (95) #define LIMIT_LOW (2)
struct pid_params { double kp; /* Controller gain from Dialog Box */ double ki; /* Time-constant for I action from Dialog Box */ double kd; /* Time-constant for D action from Dialog Box */ double ts; double k_lpf;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.