Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
governor.h File Reference
#include <linux/devfreq.h>

Go to the source code of this file.

Macros

#define to_devfreq(DEV)   container_of((DEV), struct devfreq, dev)
 

Functions

int update_devfreq (struct devfreq *devfreq)
 

Macro Definition Documentation

#define to_devfreq (   DEV)    container_of((DEV), struct devfreq, dev)

Definition at line 19 of file governor.h.

Function Documentation

int update_devfreq ( struct devfreq devfreq)

update_devfreq() - Reevaluate the device and configure frequency. : the devfreq instance.

Note: Lock devfreq->lock before calling update_devfreq This function is exported for governors.

Definition at line 82 of file devfreq.c.