Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
bc41a0e1
Commit
bc41a0e1
authored
Apr 06, 2004
by
Dave Jones
Committed by
Dave Jones
Apr 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Fix up docbook parameters on x86 drivers.
From Michael Still <mikal@stillhq.com>
parent
e615be89
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
8 deletions
+22
-8
arch/i386/kernel/cpu/cpufreq/elanfreq.c
arch/i386/kernel/cpu/cpufreq/elanfreq.c
+2
-1
arch/i386/kernel/cpu/cpufreq/longrun.c
arch/i386/kernel/cpu/cpufreq/longrun.c
+4
-1
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
+3
-1
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+3
-1
arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
+5
-2
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
+5
-2
No files found.
arch/i386/kernel/cpu/cpufreq/elanfreq.c
View file @
bc41a0e1
...
@@ -166,6 +166,7 @@ static void elanfreq_set_cpu_state (unsigned int state) {
...
@@ -166,6 +166,7 @@ static void elanfreq_set_cpu_state (unsigned int state) {
/**
/**
* elanfreq_validatespeed: test if frequency range is valid
* elanfreq_validatespeed: test if frequency range is valid
* @policy: the policy to validate
*
*
* This function checks if a given frequency range in kHz is valid
* This function checks if a given frequency range in kHz is valid
* for the hardware supported by the driver.
* for the hardware supported by the driver.
...
...
arch/i386/kernel/cpu/cpufreq/longrun.c
View file @
bc41a0e1
...
@@ -57,7 +57,7 @@ static void __init longrun_get_policy(struct cpufreq_policy *policy)
...
@@ -57,7 +57,7 @@ static void __init longrun_get_policy(struct cpufreq_policy *policy)
/**
/**
* longrun_set_policy - sets a new CPUFreq policy
* longrun_set_policy - sets a new CPUFreq policy
* @policy
-
new policy
* @policy
:
new policy
*
*
* Sets a new CPUFreq policy on LongRun-capable processors. This function
* Sets a new CPUFreq policy on LongRun-capable processors. This function
* has to be called with cpufreq_driver locked.
* has to be called with cpufreq_driver locked.
...
@@ -106,6 +106,7 @@ static int longrun_set_policy(struct cpufreq_policy *policy)
...
@@ -106,6 +106,7 @@ static int longrun_set_policy(struct cpufreq_policy *policy)
/**
/**
* longrun_verify_poliy - verifies a new CPUFreq policy
* longrun_verify_poliy - verifies a new CPUFreq policy
* @policy: the policy to verify
*
*
* Validates a new CPUFreq policy. This function has to be called with
* Validates a new CPUFreq policy. This function has to be called with
* cpufreq_driver locked.
* cpufreq_driver locked.
...
@@ -130,6 +131,8 @@ static int longrun_verify_policy(struct cpufreq_policy *policy)
...
@@ -130,6 +131,8 @@ static int longrun_verify_policy(struct cpufreq_policy *policy)
/**
/**
* longrun_determine_freqs - determines the lowest and highest possible core frequency
* longrun_determine_freqs - determines the lowest and highest possible core frequency
* @low_freq: an int to put the lowest frequency into
* @high_freq: an int to put the highest frequency into
*
*
* Determines the lowest and highest possible core frequencies on this CPU.
* Determines the lowest and highest possible core frequencies on this CPU.
* This is necessary to calculate the performance percentage according to
* This is necessary to calculate the performance percentage according to
...
...
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
View file @
bc41a0e1
...
@@ -118,7 +118,9 @@ static int powernow_k6_verify(struct cpufreq_policy *policy)
...
@@ -118,7 +118,9 @@ static int powernow_k6_verify(struct cpufreq_policy *policy)
/**
/**
* powernow_k6_setpolicy - sets a new CPUFreq policy
* powernow_k6_setpolicy - sets a new CPUFreq policy
* @policy - new policy
* @policy: new policy
* @target_freq: the target frequency
* @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
*
*
* sets a new CPUFreq policy
* sets a new CPUFreq policy
*/
*/
...
...
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
View file @
bc41a0e1
...
@@ -430,7 +430,7 @@ static int centrino_cpu_exit(struct cpufreq_policy *policy)
...
@@ -430,7 +430,7 @@ static int centrino_cpu_exit(struct cpufreq_policy *policy)
/**
/**
* centrino_verify - verifies a new CPUFreq policy
* centrino_verify - verifies a new CPUFreq policy
* @
freq
: new policy
* @
policy
: new policy
*
*
* Limit must be within this model's frequency range at least one
* Limit must be within this model's frequency range at least one
* border included.
* border included.
...
@@ -443,6 +443,8 @@ static int centrino_verify (struct cpufreq_policy *policy)
...
@@ -443,6 +443,8 @@ static int centrino_verify (struct cpufreq_policy *policy)
/**
/**
* centrino_setpolicy - set a new CPUFreq policy
* centrino_setpolicy - set a new CPUFreq policy
* @policy: new policy
* @policy: new policy
* @target_freq: the target frequency
* @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
*
*
* Sets a new CPUFreq policy.
* Sets a new CPUFreq policy.
*/
*/
...
...
arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
View file @
bc41a0e1
...
@@ -67,6 +67,7 @@ static struct cpufreq_frequency_table speedstep_freqs[] = {
...
@@ -67,6 +67,7 @@ static struct cpufreq_frequency_table speedstep_freqs[] = {
/**
/**
* speedstep_set_state - set the SpeedStep state
* speedstep_set_state - set the SpeedStep state
* @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
* @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
* @notify: whether to call cpufreq_notify_transition for CPU speed changes
*
*
* Tries to change the SpeedStep state.
* Tries to change the SpeedStep state.
*/
*/
...
@@ -239,8 +240,10 @@ static unsigned int speedstep_detect_chipset (void)
...
@@ -239,8 +240,10 @@ static unsigned int speedstep_detect_chipset (void)
/**
/**
* speedstep_
setpolicy
- set a new CPUFreq policy
* speedstep_
target
- set a new CPUFreq policy
* @policy: new policy
* @policy: new policy
* @target_freq: the target frequency
* @relation: how that frequency relates to achieved frequency (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
*
*
* Sets a new CPUFreq policy.
* Sets a new CPUFreq policy.
*/
*/
...
@@ -261,7 +264,7 @@ static int speedstep_target (struct cpufreq_policy *policy,
...
@@ -261,7 +264,7 @@ static int speedstep_target (struct cpufreq_policy *policy,
/**
/**
* speedstep_verify - verifies a new CPUFreq policy
* speedstep_verify - verifies a new CPUFreq policy
* @
freq
: new policy
* @
policy
: new policy
*
*
* Limit must be within speedstep_low_freq and speedstep_high_freq, with
* Limit must be within speedstep_low_freq and speedstep_high_freq, with
* at least one border included.
* at least one border included.
...
...
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
View file @
bc41a0e1
...
@@ -90,10 +90,12 @@ static int speedstep_smi_ownership (void)
...
@@ -90,10 +90,12 @@ static int speedstep_smi_ownership (void)
/**
/**
* speedstep_smi_get_freqs - get SpeedStep preferred & current freq.
* speedstep_smi_get_freqs - get SpeedStep preferred & current freq.
* @low: the low frequency value is placed here
* @high: the high frequency value is placed here
*
* Only available on later SpeedStep-enabled systems, returns false results or
* Only available on later SpeedStep-enabled systems, returns false results or
* even hangs [cf. bugme.osdl.org # 1422] on earlier systems. Empirical testing
* even hangs [cf. bugme.osdl.org # 1422] on earlier systems. Empirical testing
* shows that the latter occurs if !(ist_info.event & 0xFFFF).
* shows that the latter occurs if !(ist_info.event & 0xFFFF).
*
*/
*/
static
int
speedstep_smi_get_freqs
(
unsigned
int
*
low
,
unsigned
int
*
high
)
static
int
speedstep_smi_get_freqs
(
unsigned
int
*
low
,
unsigned
int
*
high
)
{
{
...
@@ -141,6 +143,7 @@ static int speedstep_get_state (void)
...
@@ -141,6 +143,7 @@ static int speedstep_get_state (void)
/**
/**
* speedstep_set_state - set the SpeedStep state
* speedstep_set_state - set the SpeedStep state
* @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
* @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
* @notify: whether to call cpufreq_notify_transition
*
*
*/
*/
static
void
speedstep_set_state
(
unsigned
int
state
,
unsigned
int
notify
)
static
void
speedstep_set_state
(
unsigned
int
state
,
unsigned
int
notify
)
...
@@ -224,7 +227,7 @@ static int speedstep_target (struct cpufreq_policy *policy,
...
@@ -224,7 +227,7 @@ static int speedstep_target (struct cpufreq_policy *policy,
/**
/**
* speedstep_verify - verifies a new CPUFreq policy
* speedstep_verify - verifies a new CPUFreq policy
* @
freq
: new policy
* @
policy
: new policy
*
*
* Limit must be within speedstep_low_freq and speedstep_high_freq, with
* Limit must be within speedstep_low_freq and speedstep_high_freq, with
* at least one border included.
* at least one border included.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment