Merge ../linus
[linux-2.6] / arch / i386 / kernel / cpu / cpufreq / powernow-k7.h
1 /*
2  *  $Id: powernow-k7.h,v 1.2 2003/02/10 18:26:01 davej Exp $
3  *  (C) 2003 Dave Jones.
4  *
5  *  Licensed under the terms of the GNU GPL License version 2.
6  *
7  *  AMD-specific information
8  *
9  */
10
11 union msr_fidvidctl {
12         struct {
13                 unsigned FID:5,                 // 4:0
14                 reserved1:3,    // 7:5
15                 VID:5,                  // 12:8
16                 reserved2:3,    // 15:13
17                 FIDC:1,                 // 16
18                 VIDC:1,                 // 17
19                 reserved3:2,    // 19:18
20                 FIDCHGRATIO:1,  // 20
21                 reserved4:11,   // 31-21
22                 SGTC:20,                // 32:51
23                 reserved5:12;   // 63:52
24         } bits;
25         unsigned long long val;
26 };
27
28 union msr_fidvidstatus {
29         struct {
30                 unsigned CFID:5,                        // 4:0
31                 reserved1:3,    // 7:5
32                 SFID:5,                 // 12:8
33                 reserved2:3,    // 15:13
34                 MFID:5,                 // 20:16
35                 reserved3:11,   // 31:21
36                 CVID:5,                 // 36:32
37                 reserved4:3,    // 39:37
38                 SVID:5,                 // 44:40
39                 reserved5:3,    // 47:45
40                 MVID:5,                 // 52:48
41                 reserved6:11;   // 63:53
42         } bits;
43         unsigned long long val;
44 };