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
Kirill Smelkov
linux
Commits
ac617bd0
Commit
ac617bd0
authored
Jan 17, 2009
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] checkpatch cleanups for longhaul
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
00f6a235
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
100 additions
and
94 deletions
+100
-94
arch/x86/kernel/cpu/cpufreq/longhaul.c
arch/x86/kernel/cpu/cpufreq/longhaul.c
+94
-88
arch/x86/kernel/cpu/cpufreq/longhaul.h
arch/x86/kernel/cpu/cpufreq/longhaul.h
+6
-6
No files found.
arch/x86/kernel/cpu/cpufreq/longhaul.c
View file @
ac617bd0
This diff is collapsed.
Click to expand it.
arch/x86/kernel/cpu/cpufreq/longhaul.h
View file @
ac617bd0
...
...
@@ -49,14 +49,14 @@ union msr_longhaul {
/*
* Clock ratio tables. Div/Mod by 10 to get ratio.
* The eblcr
on
es specify the ratio read from the CPU.
* The
clock_ratio on
es specify what to write to the CPU.
* The eblcr
valu
es specify the ratio read from the CPU.
* The
mults valu
es specify what to write to the CPU.
*/
/*
* VIA C3 Samuel 1 & Samuel 2 (stepping 0)
*/
static
const
int
__initdata
samuel1_
clock_ratio
[
16
]
=
{
static
const
int
__initdata
samuel1_
mults
[
16
]
=
{
-
1
,
/* 0000 -> RESERVED */
30
,
/* 0001 -> 3.0x */
40
,
/* 0010 -> 4.0x */
...
...
@@ -119,7 +119,7 @@ static const int __initdata samuel2_eblcr[16] = {
/*
* VIA C3 Ezra
*/
static
const
int
__initdata
ezra_
clock_ratio
[
16
]
=
{
static
const
int
__initdata
ezra_
mults
[
16
]
=
{
100
,
/* 0000 -> 10.0x */
30
,
/* 0001 -> 3.0x */
40
,
/* 0010 -> 4.0x */
...
...
@@ -160,7 +160,7 @@ static const int __initdata ezra_eblcr[16] = {
/*
* VIA C3 (Ezra-T) [C5M].
*/
static
const
int
__initdata
ezrat_
clock_ratio
[
32
]
=
{
static
const
int
__initdata
ezrat_
mults
[
32
]
=
{
100
,
/* 0000 -> 10.0x */
30
,
/* 0001 -> 3.0x */
40
,
/* 0010 -> 4.0x */
...
...
@@ -235,7 +235,7 @@ static const int __initdata ezrat_eblcr[32] = {
/*
* VIA C3 Nehemiah */
static
const
int
__initdata
nehemiah_
clock_ratio
[
32
]
=
{
static
const
int
__initdata
nehemiah_
mults
[
32
]
=
{
100
,
/* 0000 -> 10.0x */
-
1
,
/* 0001 -> 16.0x */
40
,
/* 0010 -> 4.0x */
...
...
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