Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cpufreq_cooling_device Struct Reference

Data Fields

int id
 
struct thermal_cooling_devicecool_dev
 
unsigned int cpufreq_state
 
unsigned int cpufreq_val
 
struct cpumask allowed_cpus
 
struct list_head node
 

Detailed Description

struct cpufreq_cooling_device : unique integer value corresponding to each cpufreq_cooling_device registered. : thermal_cooling_device pointer to keep track of the the egistered cooling device. : integer value representing the current state of cpufreq cooling devices. : integer value representing the absolute value of the clipped frequency. : all the cpus involved for this cpufreq_cooling_device. : list_head to link all cpufreq_cooling_device together.

This structure is required for keeping information of each cpufreq_cooling_device registered as a list whose head is represented by cooling_cpufreq_list. In order to prevent corruption of this list a mutex lock cooling_cpufreq_lock is used.

Definition at line 51 of file cpu_cooling.c.

Field Documentation

struct cpumask allowed_cpus

Definition at line 56 of file cpu_cooling.c.

Definition at line 53 of file cpu_cooling.c.

unsigned int cpufreq_state

Definition at line 54 of file cpu_cooling.c.

unsigned int cpufreq_val

Definition at line 55 of file cpu_cooling.c.

Definition at line 52 of file cpu_cooling.c.

Definition at line 57 of file cpu_cooling.c.


The documentation for this struct was generated from the following file: