/** * struct peci_sensor_state - PECI state information * @valid: flag to indicate the sensor value is valid * @last_updated: time of the last update in jiffies * @lock: mutex to protect sensor access
*/ struct peci_sensor_state { bool valid; unsignedlong last_updated; struct mutex lock; /* protect sensor access */
};
/** * struct peci_sensor_data - PECI sensor information * @value: sensor value in milli units * @state: sensor update state
*/
/** * peci_sensor_need_update() - check whether sensor update is needed or not * @sensor: pointer to sensor data struct * * Return: true if update is needed, false if not.
*/
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.