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
f744ce9d
Commit
f744ce9d
authored
Aug 10, 2004
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cset exclude: davej@redhat.com|ChangeSet|20040809142517|56351
parent
d56abc8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
89 deletions
+0
-89
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+0
-89
No files found.
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
View file @
f744ce9d
...
@@ -195,82 +195,6 @@ static struct cpufreq_frequency_table banias_1700[] =
...
@@ -195,82 +195,6 @@ static struct cpufreq_frequency_table banias_1700[] =
OP
(
1700
,
1484
),
OP
(
1700
,
1484
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
};
#undef OP
/* Dothan processor datasheet 30218903.pdf defines 4 voltages for each
frequency (VID#A through VID#D) - this macro allows us to define all
of these but we only use the VID#C voltages at compile time - this may
need some work if we want to select the voltage profile at runtime. */
#define OP(mhz, mva, mvb, mvc, mvd) \
{ \
.frequency = (mhz) * 1000, \
.index = (((mhz)/100) << 8) | ((mvc - 700) / 16) \
}
/* Intel Pentium M processor 715 / 1.50GHz (Dothan) */
static
struct
cpufreq_frequency_table
dothan_1500
[]
=
{
OP
(
600
,
988
,
988
,
988
,
988
),
OP
(
800
,
1068
,
1068
,
1068
,
1052
),
OP
(
1000
,
1148
,
1148
,
1132
,
1116
),
OP
(
1200
,
1228
,
1212
,
1212
,
1180
),
OP
(
1500
,
1340
,
1324
,
1308
,
1276
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
/* Intel Pentium M processor 725 / 1.60GHz (Dothan) */
static
struct
cpufreq_frequency_table
dothan_1600
[]
=
{
OP
(
600
,
988
,
988
,
988
,
988
),
OP
(
800
,
1068
,
1068
,
1052
,
1052
),
OP
(
1000
,
1132
,
1132
,
1116
,
1116
),
OP
(
1200
,
1212
,
1196
,
1180
,
1164
),
OP
(
1400
,
1276
,
1260
,
1244
,
1228
),
OP
(
1600
,
1340
,
1324
,
1308
,
1276
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
/* Intel Pentium M processor 735 / 1.70GHz (Dothan) */
static
struct
cpufreq_frequency_table
dothan_1700
[]
=
{
OP
(
600
,
988
,
988
,
988
,
988
),
OP
(
800
,
1052
,
1052
,
1052
,
1052
),
OP
(
1000
,
1116
,
1116
,
1116
,
1100
),
OP
(
1200
,
1180
,
1180
,
1164
,
1148
),
OP
(
1400
,
1244
,
1244
,
1228
,
1212
),
OP
(
1700
,
1340
,
1324
,
1308
,
1276
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
/* Intel Pentium M processor 745 / 1.80GHz (Dothan) */
static
struct
cpufreq_frequency_table
dothan_1800
[]
=
{
OP
(
600
,
988
,
988
,
988
,
988
),
OP
(
800
,
1052
,
1052
,
1052
,
1036
),
OP
(
1000
,
1116
,
1100
,
1100
,
1084
),
OP
(
1200
,
1164
,
1164
,
1148
,
1132
),
OP
(
1400
,
1228
,
1212
,
1212
,
1180
),
OP
(
1600
,
1292
,
1276
,
1260
,
1228
),
OP
(
1800
,
1340
,
1324
,
1308
,
1276
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
/* Intel Pentium M processor 755 / 2.00GHz (Dothan) */
static
struct
cpufreq_frequency_table
dothan_2000
[]
=
{
OP
(
600
,
988
,
988
,
988
,
988
),
OP
(
800
,
1052
,
1036
,
1036
,
1036
),
OP
(
1000
,
1100
,
1084
,
1084
,
1084
),
OP
(
1200
,
1148
,
1132
,
1132
,
1116
),
OP
(
1400
,
1196
,
1180
,
1180
,
1164
),
OP
(
1600
,
1244
,
1228
,
1228
,
1196
),
OP
(
1800
,
1292
,
1276
,
1276
,
1244
),
OP
(
2000
,
1340
,
1324
,
1308
,
1276
),
{
.
frequency
=
CPUFREQ_TABLE_END
}
};
#undef OP
#undef OP
#define _BANIAS(cpuid, max, name) \
#define _BANIAS(cpuid, max, name) \
...
@@ -281,13 +205,6 @@ static struct cpufreq_frequency_table dothan_2000[] =
...
@@ -281,13 +205,6 @@ static struct cpufreq_frequency_table dothan_2000[] =
}
}
#define BANIAS(max) _BANIAS(&cpu_ids[CPU_BANIAS], max, #max)
#define BANIAS(max) _BANIAS(&cpu_ids[CPU_BANIAS], max, #max)
#define DOTHAN(cpuid, max, name) \
{ .cpu_id = cpuid, \
.model_name = "Intel(R) Pentium(R) M processor " name "GHz", \
.max_freq = (max)*1000, \
.op_points = dothan_##max, \
}
/* CPU models, their operating frequency range, and freq/voltage
/* CPU models, their operating frequency range, and freq/voltage
operating points */
operating points */
static
struct
cpu_model
models
[]
=
static
struct
cpu_model
models
[]
=
...
@@ -301,11 +218,6 @@ static struct cpu_model models[] =
...
@@ -301,11 +218,6 @@ static struct cpu_model models[] =
BANIAS
(
1500
),
BANIAS
(
1500
),
BANIAS
(
1600
),
BANIAS
(
1600
),
BANIAS
(
1700
),
BANIAS
(
1700
),
DOTHAN
(
&
cpu_ids
[
CPU_DOTHAN_B0
],
1500
,
"1.50"
),
DOTHAN
(
&
cpu_ids
[
CPU_DOTHAN_B0
],
1600
,
"1.60"
),
DOTHAN
(
&
cpu_ids
[
CPU_DOTHAN_B0
],
1700
,
"1.70"
),
DOTHAN
(
&
cpu_ids
[
CPU_DOTHAN_B0
],
1800
,
"1.80"
),
DOTHAN
(
&
cpu_ids
[
CPU_DOTHAN_B0
],
2000
,
"2.00"
),
/* NULL model_name is a wildcard */
/* NULL model_name is a wildcard */
{
&
cpu_ids
[
CPU_DOTHAN_A1
],
NULL
,
0
,
NULL
},
{
&
cpu_ids
[
CPU_DOTHAN_A1
],
NULL
,
0
,
NULL
},
...
@@ -315,7 +227,6 @@ static struct cpu_model models[] =
...
@@ -315,7 +227,6 @@ static struct cpu_model models[] =
};
};
#undef _BANIAS
#undef _BANIAS
#undef BANIAS
#undef BANIAS
#undef DOTHAN
static
int
centrino_cpu_init_table
(
struct
cpufreq_policy
*
policy
)
static
int
centrino_cpu_init_table
(
struct
cpufreq_policy
*
policy
)
{
{
...
...
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