Go to the source code of this file.
|
int | cpufreq_driver_target (struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) |
|
int | __cpufreq_driver_target (struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) |
|
int | __cpufreq_driver_getavg (struct cpufreq_policy *policy, unsigned int cpu) |
|
int | cpufreq_register_governor (struct cpufreq_governor *governor) |
|
void | cpufreq_unregister_governor (struct cpufreq_governor *governor) |
|
int | cpufreq_register_driver (struct cpufreq_driver *driver_data) |
|
int | cpufreq_unregister_driver (struct cpufreq_driver *driver_data) |
|
void | cpufreq_notify_transition (struct cpufreq_freqs *freqs, unsigned int state) |
|
int | cpufreq_get_policy (struct cpufreq_policy *policy, unsigned int cpu) |
|
int | cpufreq_update_policy (unsigned int cpu) |
|
int | cpufreq_frequency_table_cpuinfo (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table) |
|
int | cpufreq_frequency_table_verify (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table) |
|
int | cpufreq_frequency_table_target (struct cpufreq_policy *policy, struct cpufreq_frequency_table *table, unsigned int target_freq, unsigned int relation, unsigned int *index) |
|
struct cpufreq_frequency_table * | cpufreq_frequency_get_table (unsigned int cpu) |
|
struct cpufreq_policy * | cpufreq_cpu_get (unsigned int cpu) |
|
void | cpufreq_cpu_put (struct cpufreq_policy *data) |
|
void | cpufreq_frequency_table_get_attr (struct cpufreq_frequency_table *table, unsigned int cpu) |
|
void | cpufreq_frequency_table_put_attr (unsigned int cpu) |
|
#define CPUFREQ_ADJUST (0) |
#define CPUFREQ_CONST_LOOPS |
#define CPUFREQ_ENTRY_INVALID ~0 |
#define CPUFREQ_ETERNAL (-1) |
#define cpufreq_freq_attr_ro |
( |
|
_name | ) |
|
Value:
__ATTR(_name, 0444, show_##_name,
NULL)
Definition at line 276 of file cpufreq.h.
#define cpufreq_freq_attr_ro_perm |
( |
|
_name, |
|
|
|
_perm |
|
) |
| |
Value:
__ATTR(_name, _perm, show_##_name,
NULL)
Definition at line 280 of file cpufreq.h.
#define cpufreq_freq_attr_rw |
( |
|
_name | ) |
|
Value:
__ATTR(_name, 0644, show_##_name, store_##_name)
Definition at line 284 of file cpufreq.h.
#define CPUFREQ_GOV_LIMITS 3 |
#define CPUFREQ_GOV_START 1 |
#define CPUFREQ_GOV_STOP 2 |
#define CPUFREQ_INCOMPATIBLE (1) |
#define CPUFREQ_NAME_LEN 16 |
#define CPUFREQ_NOTIFY (2) |
#define CPUFREQ_PM_NO_WARN |
#define CPUFREQ_POLICY_NOTIFIER (1) |
#define CPUFREQ_POLICY_PERFORMANCE (2) |
#define CPUFREQ_POLICY_POWERSAVE (1) |
#define CPUFREQ_POSTCHANGE (1) |
#define CPUFREQ_PRECHANGE (0) |
#define CPUFREQ_RESUMECHANGE (8) |
#define CPUFREQ_SHARED_TYPE_ALL (2) /* All dependent CPUs should set freq */ |
#define CPUFREQ_SHARED_TYPE_ANY (3) /* Freq can be set from any dependent CPU*/ |
#define CPUFREQ_SHARED_TYPE_HW (1) /* HW does needed coordination */ |
#define CPUFREQ_SHARED_TYPE_NONE (0) /* None */ |
#define CPUFREQ_START (3) |
#define CPUFREQ_SUSPENDCHANGE (9) |
#define CPUFREQ_TABLE_END ~1 |
#define CPUFREQ_TRANSITION_NOTIFIER (0) |
#define define_one_global_ro |
( |
|
_name | ) |
|
Value:
__ATTR(_name, 0444, show_##_name,
NULL)
Definition at line 296 of file cpufreq.h.
#define define_one_global_rw |
( |
|
_name | ) |
|
Value:
__ATTR(_name, 0644, show_##_name, store_##_name)
Definition at line 300 of file cpufreq.h.
void cpufreq_frequency_table_put_attr |
( |
unsigned int |
cpu | ) |
|
cpufreq_notify_transition - call notifier chain and adjust_jiffies on frequency transition.
This function calls the transition notifiers and the "adjust_jiffies" function. It is called twice on all CPU frequency changes that have external effects.
Definition at line 259 of file cpufreq.c.
cpufreq_register_driver - register a CPU Frequency driver : A struct cpufreq_driver containing the values# submitted by the CPU Frequency driver.
Registers a CPU Frequency driver to this core code. This code returns zero on success, -EBUSY when another driver got here first (and isn't unregistered in the meantime).
Definition at line 1849 of file cpufreq.c.
cpufreq_unregister_driver - unregister the current CPUFreq driver
Unregister the current CPUFreq driver. Only call this if you have the right to do so, i.e. if you have succeeded in initialising before! Returns zero if successful, and -EINVAL if the cpufreq_driver is currently not initialised.
Definition at line 1920 of file cpufreq.c.
int cpufreq_update_policy |
( |
unsigned int |
cpu | ) |
|
cpufreq_update_policy - re-evaluate an existing cpufreq policy : CPU which shall be re-evaluated
Useful for policy notifiers which have different necessities at different times.
Definition at line 1754 of file cpufreq.c.