Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
processor_perflib.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/slab.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_FILE_PERFORMANCE   "performance"
 
#define _COMPONENT   ACPI_PROCESSOR_COMPONENT
 
#define PPC_REGISTERED   1
 
#define PPC_IN_USE   2
 
#define ACPI_PROCESSOR_NOTIFY_PERFORMANCE   0x80
 

Functions

 ACPI_MODULE_NAME ("processor_perflib")
 
 module_param (ignore_ppc, int, 0644)
 
 MODULE_PARM_DESC (ignore_ppc,"If the frequency of your machine gets wrongly""limited by BIOS, this should help")
 
int acpi_processor_ppc_has_changed (struct acpi_processor *pr, int event_flag)
 
int acpi_processor_get_bios_limit (int cpu, unsigned int *limit)
 
 EXPORT_SYMBOL (acpi_processor_get_bios_limit)
 
void acpi_processor_ppc_init (void)
 
void acpi_processor_ppc_exit (void)
 
void acpi_processor_load_module (struct acpi_processor *pr)
 
int acpi_processor_notify_smm (struct module *calling_module)
 
 EXPORT_SYMBOL (acpi_processor_notify_smm)
 
int acpi_processor_preregister_performance (struct acpi_processor_performance __percpu *performance)
 
 EXPORT_SYMBOL (acpi_processor_preregister_performance)
 
int acpi_processor_register_performance (struct acpi_processor_performance *performance, unsigned int cpu)
 
 EXPORT_SYMBOL (acpi_processor_register_performance)
 
void acpi_processor_unregister_performance (struct acpi_processor_performance *performance, unsigned int cpu)
 
 EXPORT_SYMBOL (acpi_processor_unregister_performance)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_PROCESSOR_COMPONENT

Definition at line 47 of file processor_perflib.c.

#define ACPI_PROCESSOR_CLASS   "processor"

Definition at line 45 of file processor_perflib.c.

#define ACPI_PROCESSOR_FILE_PERFORMANCE   "performance"

Definition at line 46 of file processor_perflib.c.

#define ACPI_PROCESSOR_NOTIFY_PERFORMANCE   0x80

Definition at line 152 of file processor_perflib.c.

#define PPC_IN_USE   2

Definition at line 74 of file processor_perflib.c.

#define PPC_REGISTERED   1

Definition at line 73 of file processor_perflib.c.

#define PREFIX   "ACPI: "

Definition at line 43 of file processor_perflib.c.

Function Documentation

ACPI_MODULE_NAME ( "processor_perflib"  )
int acpi_processor_get_bios_limit ( int  cpu,
unsigned int limit 
)

Definition at line 211 of file processor_perflib.c.

void acpi_processor_load_module ( struct acpi_processor pr)

Definition at line 248 of file processor_perflib.c.

int acpi_processor_notify_smm ( struct module calling_module)

Definition at line 506 of file processor_perflib.c.

void acpi_processor_ppc_exit ( void  )

Definition at line 234 of file processor_perflib.c.

int acpi_processor_ppc_has_changed ( struct acpi_processor pr,
int  event_flag 
)

Definition at line 180 of file processor_perflib.c.

void acpi_processor_ppc_init ( void  )

Definition at line 224 of file processor_perflib.c.

int acpi_processor_preregister_performance ( struct acpi_processor_performance __percpu performance)

Definition at line 632 of file processor_perflib.c.

int acpi_processor_register_performance ( struct acpi_processor_performance performance,
unsigned int  cpu 
)

Definition at line 786 of file processor_perflib.c.

void acpi_processor_unregister_performance ( struct acpi_processor_performance performance,
unsigned int  cpu 
)

Definition at line 824 of file processor_perflib.c.

EXPORT_SYMBOL ( acpi_processor_get_bios_limit  )
EXPORT_SYMBOL ( acpi_processor_notify_smm  )
module_param ( ignore_ppc  ,
int  ,
0644   
)
MODULE_PARM_DESC ( ignore_ppc  ,
"If the frequency of your machine gets wrongly""limited by  BIOS,
this should help"   
)