Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
acpi.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/irq.h>
#include <linux/acpi.h>
#include <linux/efi.h>
#include <linux/mmzone.h>
#include <linux/nodemask.h>
#include <linux/slab.h>
#include <acpi/processor.h>
#include <asm/io.h>
#include <asm/iosapic.h>
#include <asm/machvec.h>
#include <asm/page.h>
#include <asm/numa.h>
#include <asm/sal.h>
#include <asm/cyclone.h>
#include <asm/xen/hypervisor.h>

Go to the source code of this file.

Macros

#define BAD_MADT_ENTRY(entry, end)
 
#define PREFIX   "ACPI: "
 
#define ACPI_MAX_PLATFORM_INTERRUPTS   256
 

Functions

int acpi_request_vector (u32 int_type)
 
char *__init __acpi_map_table (unsigned long phys_addr, unsigned long size)
 
void __init __acpi_unmap_table (char *map, unsigned long size)
 
unsigned int get_cpei_target_cpu (void)
 
int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity)
 
void acpi_unregister_gsi (u32 gsi)
 
int __init early_acpi_boot_init (void)
 
int __init acpi_boot_init (void)
 
int acpi_gsi_to_irq (u32 gsi, unsigned int *irq)
 
int acpi_isa_irq_to_gsi (unsigned isa_irq, u32 *gsi)
 
int __ref acpi_register_ioapic (acpi_handle handle, u64 phys_addr, u32 gsi_base)
 
 EXPORT_SYMBOL (acpi_register_ioapic)
 
int acpi_unregister_ioapic (acpi_handle handle, u32 gsi_base)
 
 EXPORT_SYMBOL (acpi_unregister_ioapic)
 
int acpi_suspend_lowlevel (void)
 

Variables

u32 acpi_rsdt_forced
 
unsigned int acpi_cpei_override
 
unsigned int acpi_cpei_phys_cpuid
 
unsigned long acpi_wakeup_address = 0
 
int platform_intr_list [ACPI_MAX_PLATFORM_INTERRUPTS]
 
enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_IOSAPIC
 

Macro Definition Documentation

#define ACPI_MAX_PLATFORM_INTERRUPTS   256

Definition at line 143 of file acpi.c.

#define BAD_MADT_ENTRY (   entry,
  end 
)
Value:
( \
(!entry) || (unsigned long)entry + sizeof(*entry) > end || \
((struct acpi_subtable_header *)entry)->length < sizeof(*entry))

Definition at line 58 of file acpi.c.

#define PREFIX   "ACPI: "

Definition at line 62 of file acpi.c.

Function Documentation

char* __init __acpi_map_table ( unsigned long  phys_addr,
unsigned long  size 
)

Definition at line 169 of file acpi.c.

void __init __acpi_unmap_table ( char map,
unsigned long  size 
)

Definition at line 174 of file acpi.c.

int __init acpi_boot_init ( void  )

Definition at line 703 of file acpi.c.

int acpi_gsi_to_irq ( u32  gsi,
unsigned int irq 
)

Definition at line 781 of file acpi.c.

int acpi_isa_irq_to_gsi ( unsigned  isa_irq,
u32 gsi 
)

Definition at line 796 of file acpi.c.

int acpi_register_gsi ( struct device dev,
u32  gsi,
int  triggering,
int  polarity 
)

Definition at line 620 of file acpi.c.

int __ref acpi_register_ioapic ( acpi_handle  handle,
u64  phys_addr,
u32  gsi_base 
)

Definition at line 1020 of file acpi.c.

int acpi_request_vector ( u32  int_type)

Definition at line 156 of file acpi.c.

int acpi_suspend_lowlevel ( void  )

Definition at line 1048 of file acpi.c.

void acpi_unregister_gsi ( u32  gsi)

Definition at line 637 of file acpi.c.

int acpi_unregister_ioapic ( acpi_handle  handle,
u32  gsi_base 
)

Definition at line 1036 of file acpi.c.

int __init early_acpi_boot_init ( void  )

Definition at line 667 of file acpi.c.

EXPORT_SYMBOL ( acpi_register_ioapic  )
EXPORT_SYMBOL ( acpi_unregister_ioapic  )
unsigned int get_cpei_target_cpu ( void  )

Definition at line 333 of file acpi.c.

Variable Documentation

unsigned int acpi_cpei_override

Definition at line 65 of file acpi.c.

unsigned int acpi_cpei_phys_cpuid

Definition at line 66 of file acpi.c.

enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_IOSAPIC

Definition at line 150 of file acpi.c.

u32 acpi_rsdt_forced

Definition at line 64 of file acpi.c.

unsigned long acpi_wakeup_address = 0

Definition at line 68 of file acpi.c.

int platform_intr_list[ACPI_MAX_PLATFORM_INTERRUPTS]
Initial value:
= {
}

Definition at line 146 of file acpi.c.