/** * struct devfreq_cooling_power - Devfreq cooling power ops * @get_real_power: When this is set, the framework uses it to ask the * device driver for the actual power. * Some devices have more sophisticated methods * (like power counters) to approximate the actual power * that they use. * This function provides more accurate data to the * thermal governor. When the driver does not provide * such function, framework just uses pre-calculated * table and scale the power by 'utilization' * (based on 'busy_time' and 'total_time' taken from * devfreq 'last_status'). * The value returned by this function must be lower * or equal than the maximum power value * for the current state * (which can be found in power_table[state]). * When this interface is used, the power_table holds * max total (static + dynamic) power value for each OPP.
*/ struct devfreq_cooling_power { int (*get_real_power)(struct devfreq *df, u32 *power, unsignedlong freq, unsignedlong voltage);
};
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 ist noch experimentell.