Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/cpufreq.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>
Go to the source code of this file.
Data Structures | |
struct | throttling_tstate |
Macros | |
#define | PREFIX "ACPI: " |
#define | ACPI_PROCESSOR_CLASS "processor" |
#define | _COMPONENT ACPI_PROCESSOR_COMPONENT |
#define | THROTTLING_PRECHANGE (1) |
#define | THROTTLING_POSTCHANGE (2) |
Functions | |
ACPI_MODULE_NAME ("processor_throttling") | |
module_param (ignore_tpc, int, 0644) | |
MODULE_PARM_DESC (ignore_tpc,"Disable broken BIOS _TPC throttling support") | |
int | acpi_processor_set_throttling (struct acpi_processor *pr, int state, bool force) |
void | acpi_processor_throttling_init (void) |
int | acpi_processor_tstate_has_changed (struct acpi_processor *pr) |
void | acpi_processor_reevaluate_tstate (struct acpi_processor *pr, unsigned long action) |
int | acpi_processor_get_throttling_info (struct acpi_processor *pr) |
#define _COMPONENT ACPI_PROCESSOR_COMPONENT |
Definition at line 46 of file processor_throttling.c.
#define ACPI_PROCESSOR_CLASS "processor" |
Definition at line 45 of file processor_throttling.c.
#define PREFIX "ACPI: " |
Definition at line 43 of file processor_throttling.c.
#define THROTTLING_POSTCHANGE (2) |
Definition at line 63 of file processor_throttling.c.
#define THROTTLING_PRECHANGE (1) |
Definition at line 62 of file processor_throttling.c.
ACPI_MODULE_NAME | ( | "processor_throttling" | ) |
int acpi_processor_get_throttling_info | ( | struct acpi_processor * | pr | ) |
Definition at line 1187 of file processor_throttling.c.
void acpi_processor_reevaluate_tstate | ( | struct acpi_processor * | pr, |
unsigned long | action | ||
) |
Definition at line 377 of file processor_throttling.c.
int acpi_processor_set_throttling | ( | struct acpi_processor * | pr, |
int | state, | ||
bool | force | ||
) |
Definition at line 1065 of file processor_throttling.c.
Definition at line 212 of file processor_throttling.c.
int acpi_processor_tstate_has_changed | ( | struct acpi_processor * | pr | ) |
Definition at line 312 of file processor_throttling.c.
module_param | ( | ignore_tpc | , |
int | , | ||
0644 | |||
) |