Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
processor_driver.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/cpufreq.h>
#include <linux/cpu.h>
#include <linux/dmi.h>
#include <linux/moduleparam.h>
#include <linux/cpuidle.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/cpu.h>
#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/processor.h>
#include <asm/smp.h>
#include <asm/acpi.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>

Go to the source code of this file.

Macros

#define PREFIX   "ACPI: "
 
#define ACPI_PROCESSOR_CLASS   "processor"
 
#define ACPI_PROCESSOR_DEVICE_NAME   "Processor"
 
#define ACPI_PROCESSOR_FILE_INFO   "info"
 
#define ACPI_PROCESSOR_FILE_THROTTLING   "throttling"
 
#define ACPI_PROCESSOR_FILE_LIMIT   "limit"
 
#define ACPI_PROCESSOR_NOTIFY_PERFORMANCE   0x80
 
#define ACPI_PROCESSOR_NOTIFY_POWER   0x81
 
#define ACPI_PROCESSOR_NOTIFY_THROTTLING   0x82
 
#define ACPI_PROCESSOR_DEVICE_HID   "ACPI0007"
 
#define ACPI_PROCESSOR_LIMIT_USER   0
 
#define ACPI_PROCESSOR_LIMIT_THERMAL   1
 
#define _COMPONENT   ACPI_PROCESSOR_COMPONENT
 
#define INSTALL_NOTIFY_HANDLER   1
 
#define UNINSTALL_NOTIFY_HANDLER   2
 

Functions

 ACPI_MODULE_NAME ("processor_driver")
 
 MODULE_AUTHOR ("Paul Diefenbaugh")
 
 MODULE_DESCRIPTION ("ACPI Processor Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (acpi, processor_device_ids)
 
 DEFINE_PER_CPU (struct acpi_processor *, processors)
 
 EXPORT_PER_CPU_SYMBOL (processors)
 
 module_init (acpi_processor_init)
 
 module_exit (acpi_processor_exit)
 
 MODULE_ALIAS ("processor")
 

Variables

struct acpi_processor_errata errata __read_mostly
 

Macro Definition Documentation

#define _COMPONENT   ACPI_PROCESSOR_COMPONENT

Definition at line 75 of file processor_driver.c.

#define ACPI_PROCESSOR_CLASS   "processor"

Definition at line 62 of file processor_driver.c.

#define ACPI_PROCESSOR_DEVICE_HID   "ACPI0007"

Definition at line 70 of file processor_driver.c.

#define ACPI_PROCESSOR_DEVICE_NAME   "Processor"

Definition at line 63 of file processor_driver.c.

#define ACPI_PROCESSOR_FILE_INFO   "info"

Definition at line 64 of file processor_driver.c.

#define ACPI_PROCESSOR_FILE_LIMIT   "limit"

Definition at line 66 of file processor_driver.c.

#define ACPI_PROCESSOR_FILE_THROTTLING   "throttling"

Definition at line 65 of file processor_driver.c.

#define ACPI_PROCESSOR_LIMIT_THERMAL   1

Definition at line 73 of file processor_driver.c.

#define ACPI_PROCESSOR_LIMIT_USER   0

Definition at line 72 of file processor_driver.c.

#define ACPI_PROCESSOR_NOTIFY_PERFORMANCE   0x80

Definition at line 67 of file processor_driver.c.

#define ACPI_PROCESSOR_NOTIFY_POWER   0x81

Definition at line 68 of file processor_driver.c.

#define ACPI_PROCESSOR_NOTIFY_THROTTLING   0x82

Definition at line 69 of file processor_driver.c.

#define INSTALL_NOTIFY_HANDLER   1

Definition at line 111 of file processor_driver.c.

#define PREFIX   "ACPI: "

Definition at line 60 of file processor_driver.c.

#define UNINSTALL_NOTIFY_HANDLER   2

Definition at line 112 of file processor_driver.c.

Function Documentation

ACPI_MODULE_NAME ( "processor_driver"  )
DEFINE_PER_CPU ( struct acpi_processor ,
processors   
)
EXPORT_PER_CPU_SYMBOL ( processors  )
MODULE_ALIAS ( "processor"  )
MODULE_AUTHOR ( "Paul Diefenbaugh"  )
MODULE_DESCRIPTION ( "ACPI Processor Driver"  )
MODULE_DEVICE_TABLE ( acpi  ,
processor_device_ids   
)
module_exit ( acpi_processor_exit  )
module_init ( acpi_processor_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

Definition at line 117 of file processor_driver.c.