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

#include <cpufreq.h>

Data Fields

struct moduleowner
char name [CPUFREQ_NAME_LEN]
u8 flags
int(* init )(struct cpufreq_policy *policy)
int(* verify )(struct cpufreq_policy *policy)
int(* setpolicy )(struct cpufreq_policy *policy)
int(* target )(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation)
unsigned int(* get )(unsigned int cpu)
unsigned int(* getavg )(struct cpufreq_policy *policy, unsigned int cpu)
int(* bios_limit )(int cpu, unsigned int *limit)
int(* exit )(struct cpufreq_policy *policy)
int(* suspend )(struct cpufreq_policy *policy)
int(* resume )(struct cpufreq_policy *policy)
struct freq_attr ** attr

Detailed Description

Definition at line 213 of file cpufreq.h.

Field Documentation

struct freq_attr** attr

Definition at line 239 of file cpufreq.h.

int(* bios_limit)(int cpu, unsigned int *limit)

Definition at line 234 of file cpufreq.h.

int(* exit)(struct cpufreq_policy *policy)

Definition at line 236 of file cpufreq.h.

u8 flags

Definition at line 216 of file cpufreq.h.

unsigned int(* get)(unsigned int cpu)

Definition at line 229 of file cpufreq.h.

unsigned int(* getavg)(struct cpufreq_policy *policy, unsigned int cpu)

Definition at line 232 of file cpufreq.h.

int(* init)(struct cpufreq_policy *policy)

Definition at line 219 of file cpufreq.h.

Definition at line 215 of file cpufreq.h.

struct module* owner

Definition at line 214 of file cpufreq.h.

int(* resume)(struct cpufreq_policy *policy)

Definition at line 238 of file cpufreq.h.

int(* setpolicy)(struct cpufreq_policy *policy)

Definition at line 223 of file cpufreq.h.

int(* suspend)(struct cpufreq_policy *policy)

Definition at line 237 of file cpufreq.h.

int(* target)(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation)

Definition at line 224 of file cpufreq.h.

int(* verify)(struct cpufreq_policy *policy)

Definition at line 220 of file cpufreq.h.

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