Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cpu_cooling.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/thermal.h>
#include <linux/platform_device.h>
#include <linux/cpufreq.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/cpu.h>
#include <linux/cpu_cooling.h>

Go to the source code of this file.

Data Structures

struct  cpufreq_cooling_device
 

Macros

#define NOTIFY_INVALID   NULL
 

Functions

struct thermal_cooling_devicecpufreq_cooling_register (struct cpumask *clip_cpus)
 
 EXPORT_SYMBOL (cpufreq_cooling_register)
 
void cpufreq_cooling_unregister (struct thermal_cooling_device *cdev)
 
 EXPORT_SYMBOL (cpufreq_cooling_unregister)
 

Variables

struct cpufreq_cooling_devicenotify_device
 

Macro Definition Documentation

#define NOTIFY_INVALID   NULL

Definition at line 65 of file cpu_cooling.c.

Function Documentation

struct thermal_cooling_device* cpufreq_cooling_register ( struct cpumask clip_cpus)
read

cpufreq_cooling_register - function to create cpufreq cooling device. : cpumask of cpus where the frequency constraints will happen.

Definition at line 347 of file cpu_cooling.c.

void cpufreq_cooling_unregister ( struct thermal_cooling_device cdev)

cpufreq_cooling_unregister - function to remove cpufreq cooling device. : thermal cooling device pointer.

Definition at line 418 of file cpu_cooling.c.

EXPORT_SYMBOL ( cpufreq_cooling_register  )
EXPORT_SYMBOL ( cpufreq_cooling_unregister  )

Variable Documentation

Definition at line 66 of file cpu_cooling.c.