|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/cpufreq.h>#include <linux/slab.h>#include <linux/acpi.h>#include <linux/dmi.h>#include <linux/moduleparam.h>#include <linux/sched.h>#include <linux/pm_qos.h>#include <linux/clockchips.h>#include <linux/cpuidle.h>#include <linux/irqflags.h>#include <asm/io.h>#include <asm/uaccess.h>#include <acpi/acpi_bus.h>#include <acpi/processor.h>#include <asm/processor.h>Go to the source code of this file.
Macros | |
| #define | PREFIX "ACPI: " |
| #define | ACPI_PROCESSOR_CLASS "processor" |
| #define | _COMPONENT ACPI_PROCESSOR_COMPONENT |
| #define | PM_TIMER_TICK_NS (1000000000ULL/PM_TIMER_FREQUENCY) |
| #define | C2_OVERHEAD 1 /* 1us */ |
| #define | C3_OVERHEAD 1 /* 1us */ |
| #define | PM_TIMER_TICKS_TO_US(p) (((p) * 1000)/(PM_TIMER_FREQUENCY/1000)) |
Functions | |
| ACPI_MODULE_NAME ("processor_idle") | |
| module_param (max_cstate, uint, 0000) | |
| module_param (nocst, uint, 0000) | |
| module_param (bm_check_disable, uint, 0000) | |
| module_param (latency_factor, uint, 0644) | |
| int | acpi_processor_suspend (struct device *dev) |
| int | acpi_processor_resume (struct device *dev) |
| int | acpi_processor_hotplug (struct acpi_processor *pr) |
| int | acpi_processor_cst_has_changed (struct acpi_processor *pr) |
| int __cpuinit | acpi_processor_power_init (struct acpi_processor *pr) |
| int | acpi_processor_power_exit (struct acpi_processor *pr) |
Variables | |
| struct cpuidle_driver | acpi_idle_driver |
| #define _COMPONENT ACPI_PROCESSOR_COMPONENT |
Definition at line 65 of file processor_idle.c.
| #define ACPI_PROCESSOR_CLASS "processor" |
Definition at line 64 of file processor_idle.c.
| #define C2_OVERHEAD 1 /* 1us */ |
Definition at line 68 of file processor_idle.c.
| #define C3_OVERHEAD 1 /* 1us */ |
Definition at line 69 of file processor_idle.c.
| #define PM_TIMER_TICK_NS (1000000000ULL/PM_TIMER_FREQUENCY) |
Definition at line 67 of file processor_idle.c.
| #define PM_TIMER_TICKS_TO_US | ( | p | ) | (((p) * 1000)/(PM_TIMER_FREQUENCY/1000)) |
Definition at line 70 of file processor_idle.c.
| #define PREFIX "ACPI: " |
Definition at line 62 of file processor_idle.c.
| ACPI_MODULE_NAME | ( | "processor_idle" | ) |
| int acpi_processor_cst_has_changed | ( | struct acpi_processor * | pr | ) |
Definition at line 1163 of file processor_idle.c.
| int acpi_processor_hotplug | ( | struct acpi_processor * | pr | ) |
Definition at line 1132 of file processor_idle.c.
| int acpi_processor_power_exit | ( | struct acpi_processor * | pr | ) |
Definition at line 1298 of file processor_idle.c.
| int __cpuinit acpi_processor_power_init | ( | struct acpi_processor * | pr | ) |
Definition at line 1226 of file processor_idle.c.
Definition at line 248 of file processor_idle.c.
Definition at line 242 of file processor_idle.c.
| module_param | ( | max_cstate | , |
| uint | , | ||
| 0000 | |||
| ) |
| module_param | ( | nocst | , |
| uint | , | ||
| 0000 | |||
| ) |
| module_param | ( | bm_check_disable | , |
| uint | , | ||
| 0000 | |||
| ) |
| module_param | ( | latency_factor | , |
| uint | , | ||
| 0644 | |||
| ) |
| struct cpuidle_driver acpi_idle_driver |
Definition at line 987 of file processor_idle.c.
1.8.2