Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
via-cputemp.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/hwmon.h>
#include <linux/hwmon-vid.h>
#include <linux/sysfs.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/platform_device.h>
#include <linux/cpu.h>
#include <asm/msr.h>
#include <asm/processor.h>
#include <asm/cpu_device_id.h>

Go to the source code of this file.

Data Structures

struct  via_cputemp_data
 
struct  pdev_entry
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRVNAME   "via_cputemp"
 

Enumerations

enum  { SHOW_TEMP, SHOW_LABEL, SHOW_NAME }
 

Functions

 MODULE_DEVICE_TABLE (x86cpu, cputemp_ids)
 
 MODULE_AUTHOR ("Harald Welte <[email protected]>")
 
 MODULE_DESCRIPTION ("VIA CPU temperature monitor")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRVNAME   "via_cputemp"

Definition at line 42 of file via-cputemp.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 24 of file via-cputemp.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
SHOW_TEMP 
SHOW_LABEL 
SHOW_NAME 

Definition at line 44 of file via-cputemp.c.

Function Documentation

MODULE_AUTHOR ( "Harald Welte <[email protected]>"  )
MODULE_DESCRIPTION ( "VIA CPU temperature monitor"  )
MODULE_DEVICE_TABLE ( x86cpu  ,
cputemp_ids   
)
MODULE_LICENSE ( "GPL"  )