Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
freq_table.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>

Go to the source code of this file.

Functions

int cpufreq_frequency_table_cpuinfo (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_table_cpuinfo)
 
int cpufreq_frequency_table_verify (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_table_verify)
 
int cpufreq_frequency_table_target (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table, unsigned int target_freq, unsigned int relation, unsigned int *index)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_table_target)
 
 EXPORT_SYMBOL_GPL (cpufreq_freq_attr_scaling_available_freqs)
 
void cpufreq_frequency_table_get_attr (struct cpufreq_frequency_table *table, unsigned int cpu)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_table_get_attr)
 
void cpufreq_frequency_table_put_attr (unsigned int cpu)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_table_put_attr)
 
struct cpufreq_frequency_tablecpufreq_frequency_get_table (unsigned int cpu)
 
 EXPORT_SYMBOL_GPL (cpufreq_frequency_get_table)
 
 MODULE_AUTHOR ("Dominik Brodowski <[email protected]>")
 
 MODULE_DESCRIPTION ("CPUfreq frequency table helpers")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct freq_attr cpufreq_freq_attr_scaling_available_freqs
 

Function Documentation

struct cpufreq_frequency_table* cpufreq_frequency_get_table ( unsigned int  cpu)
read

Definition at line 228 of file freq_table.c.

int cpufreq_frequency_table_cpuinfo ( struct cpufreq_policy policy,
struct cpufreq_frequency_table table 
)

Definition at line 21 of file freq_table.c.

void cpufreq_frequency_table_get_attr ( struct cpufreq_frequency_table table,
unsigned int  cpu 
)

Definition at line 213 of file freq_table.c.

void cpufreq_frequency_table_put_attr ( unsigned int  cpu)

Definition at line 221 of file freq_table.c.

int cpufreq_frequency_table_target ( struct cpufreq_policy policy,
struct cpufreq_frequency_table table,
unsigned int  target_freq,
unsigned int  relation,
unsigned int index 
)

Definition at line 94 of file freq_table.c.

int cpufreq_frequency_table_verify ( struct cpufreq_policy policy,
struct cpufreq_frequency_table table 
)

Definition at line 54 of file freq_table.c.

EXPORT_SYMBOL_GPL ( cpufreq_frequency_table_cpuinfo  )
EXPORT_SYMBOL_GPL ( cpufreq_frequency_table_verify  )
EXPORT_SYMBOL_GPL ( cpufreq_frequency_table_target  )
EXPORT_SYMBOL_GPL ( cpufreq_frequency_table_get_attr  )
EXPORT_SYMBOL_GPL ( cpufreq_frequency_table_put_attr  )
EXPORT_SYMBOL_GPL ( cpufreq_frequency_get_table  )
MODULE_AUTHOR ( "Dominik Brodowski <[email protected]>"  )
MODULE_DESCRIPTION ( "CPUfreq frequency table helpers"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct freq_attr cpufreq_freq_attr_scaling_available_freqs
Initial value:
= {
.attr = { .name = "scaling_available_frequencies",
.mode = 0444,
},
.show = show_available_freqs,
}

Definition at line 201 of file freq_table.c.