mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
4f19048fd0
Based on 1 normalized pattern(s): licensed under the terms of the gnu gpl license version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 62 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070033.929121379@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
773 B
C
42 lines
773 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* (C) 2003 Dave Jones.
|
|
*
|
|
* AMD-specific information
|
|
*/
|
|
|
|
union msr_fidvidctl {
|
|
struct {
|
|
unsigned FID:5, // 4:0
|
|
reserved1:3, // 7:5
|
|
VID:5, // 12:8
|
|
reserved2:3, // 15:13
|
|
FIDC:1, // 16
|
|
VIDC:1, // 17
|
|
reserved3:2, // 19:18
|
|
FIDCHGRATIO:1, // 20
|
|
reserved4:11, // 31-21
|
|
SGTC:20, // 32:51
|
|
reserved5:12; // 63:52
|
|
} bits;
|
|
unsigned long long val;
|
|
};
|
|
|
|
union msr_fidvidstatus {
|
|
struct {
|
|
unsigned CFID:5, // 4:0
|
|
reserved1:3, // 7:5
|
|
SFID:5, // 12:8
|
|
reserved2:3, // 15:13
|
|
MFID:5, // 20:16
|
|
reserved3:11, // 31:21
|
|
CVID:5, // 36:32
|
|
reserved4:3, // 39:37
|
|
SVID:5, // 44:40
|
|
reserved5:3, // 47:45
|
|
MVID:5, // 52:48
|
|
reserved6:11; // 63:53
|
|
} bits;
|
|
unsigned long long val;
|
|
};
|