Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/bitops.h>
#include <asm/processor.h>
Go to the source code of this file.
Data Structures | |
struct | fam15h_power_data |
Macros | |
#define | PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534 |
#define | REG_NORTHBRIDGE_CAP 0xe8 |
#define | REG_PROCESSOR_TDP 0x1b8 |
#define | REG_TDP_RUNNING_AVERAGE 0xe0 |
#define | REG_TDP_LIMIT3 0xe8 |
#define | fam15h_power_resume NULL |
Functions | |
MODULE_DESCRIPTION ("AMD Family 15h CPU processor power monitor") | |
MODULE_AUTHOR ("Andreas Herrmann <herrmann.der.user@googlemail.com>") | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (pci, fam15h_power_id_table) | |
module_pci_driver (fam15h_power_driver) | |
#define fam15h_power_resume NULL |
Definition at line 171 of file fam15h_power.c.
#define PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534 |
Definition at line 35 of file fam15h_power.c.
#define REG_NORTHBRIDGE_CAP 0xe8 |
Definition at line 38 of file fam15h_power.c.
#define REG_PROCESSOR_TDP 0x1b8 |
Definition at line 41 of file fam15h_power.c.
#define REG_TDP_LIMIT3 0xe8 |
Definition at line 45 of file fam15h_power.c.
#define REG_TDP_RUNNING_AVERAGE 0xe0 |
Definition at line 44 of file fam15h_power.c.
MODULE_AUTHOR | ( | "Andreas Herrmann <herrmann.der.user@googlemail.com>" | ) |
MODULE_DESCRIPTION | ( | "AMD Family 15h CPU processor power monitor" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
fam15h_power_id_table | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_pci_driver | ( | fam15h_power_driver | ) |