Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
acpiosxf.h File Reference
#include <acpi/platform/acenv.h>
#include <acpi/actypes.h>

Go to the source code of this file.

Data Structures

struct  acpi_signal_fatal_info
 

Macros

#define ACPI_NO_UNIT_LIMIT   ((u32) -1)
 
#define ACPI_MUTEX_SEM   1
 
#define ACPI_SIGNAL_FATAL   0
 
#define ACPI_SIGNAL_BREAKPOINT   1
 
#define REQUEST_FILE_ONLY   0
 
#define REQUEST_DIR_ONLY   1
 

Enumerations

enum  acpi_execute_type {
  OSL_GLOBAL_LOCK_HANDLER, OSL_NOTIFY_HANDLER, OSL_GPE_HANDLER, OSL_DEBUGGER_THREAD,
  OSL_EC_POLL_HANDLER, OSL_EC_BURST_HANDLER
}
 

Functions

acpi_status __initdata acpi_os_initialize (void)
 
acpi_status acpi_os_terminate (void)
 
acpi_physical_address acpi_os_get_root_pointer (void)
 
acpi_status acpi_os_predefined_override (const struct acpi_predefined_names *init_val, acpi_string *new_val)
 
acpi_status acpi_os_table_override (struct acpi_table_header *existing_table, struct acpi_table_header **new_table)
 
acpi_status acpi_os_physical_table_override (struct acpi_table_header *existing_table, acpi_physical_address *new_address, u32 *new_table_length)
 
acpi_status acpi_os_create_lock (acpi_spinlock *out_handle)
 
void acpi_os_delete_lock (acpi_spinlock handle)
 
acpi_cpu_flags acpi_os_acquire_lock (acpi_spinlock handle)
 
void acpi_os_release_lock (acpi_spinlock handle, acpi_cpu_flags flags)
 
acpi_status acpi_os_create_semaphore (u32 max_units, u32 initial_units, acpi_semaphore *out_handle)
 
acpi_status acpi_os_delete_semaphore (acpi_semaphore handle)
 
acpi_status acpi_os_wait_semaphore (acpi_semaphore handle, u32 units, u16 timeout)
 
acpi_status acpi_os_signal_semaphore (acpi_semaphore handle, u32 units)
 
voidacpi_os_allocate (acpi_size size)
 
void __iomemacpi_os_map_memory (acpi_physical_address where, acpi_size length)
 
void acpi_os_unmap_memory (void __iomem *logical_address, acpi_size size)
 
void early_acpi_os_unmap_memory (void __iomem *virt, acpi_size size)
 
acpi_status acpi_os_create_cache (char *cache_name, u16 object_size, u16 max_depth, acpi_cache_t **return_cache)
 
acpi_status acpi_os_delete_cache (acpi_cache_t *cache)
 
acpi_status acpi_os_purge_cache (acpi_cache_t *cache)
 
voidacpi_os_acquire_object (acpi_cache_t *cache)
 
acpi_status acpi_os_release_object (acpi_cache_t *cache, void *object)
 
acpi_status acpi_os_install_interrupt_handler (u32 gsi, acpi_osd_handler service_routine, void *context)
 
acpi_status acpi_os_remove_interrupt_handler (u32 gsi, acpi_osd_handler service_routine)
 
void acpi_os_gpe_count (u32 gpe_number)
 
void acpi_os_fixed_event_count (u32 fixed_event_number)
 
acpi_thread_id acpi_os_get_thread_id (void)
 
acpi_status acpi_os_execute (acpi_execute_type type, acpi_osd_exec_callback function, void *context)
 
acpi_status acpi_os_hotplug_execute (acpi_osd_exec_callback function, void *context)
 
void acpi_os_wait_events_complete (void)
 
void acpi_os_sleep (u64 milliseconds)
 
void acpi_os_stall (u32 microseconds)
 
acpi_status acpi_os_read_port (acpi_io_address address, u32 *value, u32 width)
 
acpi_status acpi_os_write_port (acpi_io_address address, u32 value, u32 width)
 
acpi_status acpi_os_read_memory (acpi_physical_address address, u64 *value, u32 width)
 
acpi_status acpi_os_write_memory (acpi_physical_address address, u64 value, u32 width)
 
acpi_status acpi_os_read_pci_configuration (struct acpi_pci_id *pci_id, u32 reg, u64 *value, u32 width)
 
acpi_status acpi_os_write_pci_configuration (struct acpi_pci_id *pci_id, u32 reg, u64 value, u32 width)
 
u64 acpi_os_get_timer (void)
 
acpi_status acpi_os_signal (u32 function, void *info)
 
void ACPI_INTERNAL_VAR_XFACE acpi_os_printf (const char *format,...)
 
void acpi_os_vprintf (const char *format, va_list args)
 
void acpi_os_redirect_output (void *destination)
 
voidacpi_os_open_directory (char *pathname, char *wildcard_spec, char requested_file_type)
 
characpi_os_get_next_filename (void *dir_handle)
 
void acpi_os_close_directory (void *dir_handle)
 

Variables

struct workqueue_structkacpi_hotplug_wq
 

Macro Definition Documentation

#define ACPI_MUTEX_SEM   1

Definition at line 65 of file acpiosxf.h.

#define ACPI_NO_UNIT_LIMIT   ((u32) -1)

Definition at line 64 of file acpiosxf.h.

#define ACPI_SIGNAL_BREAKPOINT   1

Definition at line 70 of file acpiosxf.h.

#define ACPI_SIGNAL_FATAL   0

Definition at line 69 of file acpiosxf.h.

#define REQUEST_DIR_ONLY   1

Definition at line 275 of file acpiosxf.h.

#define REQUEST_FILE_ONLY   0

Definition at line 274 of file acpiosxf.h.

Enumeration Type Documentation

Enumerator:
OSL_GLOBAL_LOCK_HANDLER 
OSL_NOTIFY_HANDLER 
OSL_GPE_HANDLER 
OSL_DEBUGGER_THREAD 
OSL_EC_POLL_HANDLER 
OSL_EC_BURST_HANDLER 

Definition at line 55 of file acpiosxf.h.

Function Documentation

acpi_cpu_flags acpi_os_acquire_lock ( acpi_spinlock  handle)

Definition at line 1432 of file osl.c.

void* acpi_os_acquire_object ( acpi_cache_t cache)
void* acpi_os_allocate ( acpi_size  size)
void acpi_os_close_directory ( void dir_handle)
acpi_status acpi_os_create_cache ( char cache_name,
u16  object_size,
u16  max_depth,
acpi_cache_t **  return_cache 
)

Definition at line 1466 of file osl.c.

acpi_status acpi_os_create_lock ( acpi_spinlock out_handle)
acpi_status acpi_os_create_semaphore ( u32  max_units,
u32  initial_units,
acpi_semaphore out_handle 
)
acpi_status acpi_os_delete_cache ( acpi_cache_t cache)

Definition at line 1506 of file osl.c.

void acpi_os_delete_lock ( acpi_spinlock  handle)

Definition at line 1421 of file osl.c.

acpi_status acpi_os_delete_semaphore ( acpi_semaphore  handle)
acpi_status acpi_os_execute ( acpi_execute_type  type,
acpi_osd_exec_callback  function,
void context 
)

Definition at line 977 of file osl.c.

void acpi_os_fixed_event_count ( u32  fixed_event_number)
char* acpi_os_get_next_filename ( void dir_handle)
acpi_physical_address acpi_os_get_root_pointer ( void  )

Definition at line 246 of file osl.c.

acpi_thread_id acpi_os_get_thread_id ( void  )
u64 acpi_os_get_timer ( void  )

Definition at line 657 of file osl.c.

void acpi_os_gpe_count ( u32  gpe_number)
acpi_status acpi_os_hotplug_execute ( acpi_osd_exec_callback  function,
void context 
)

Definition at line 984 of file osl.c.

acpi_status __initdata acpi_os_initialize ( void  )

Definition at line 1533 of file osl.c.

acpi_status acpi_os_install_interrupt_handler ( u32  gsi,
acpi_osd_handler  service_routine,
void context 
)

Definition at line 585 of file osl.c.

void __iomem* acpi_os_map_memory ( acpi_physical_address  where,
acpi_size  length 
)

Definition at line 360 of file osl.c.

void* acpi_os_open_directory ( char pathname,
char wildcard_spec,
char  requested_file_type 
)
acpi_status acpi_os_physical_table_override ( struct acpi_table_header existing_table,
acpi_physical_address *  new_address,
u32 new_table_length 
)

Definition at line 561 of file osl.c.

acpi_status acpi_os_predefined_override ( const struct acpi_predefined_names init_val,
acpi_string new_val 
)

Definition at line 521 of file osl.c.

void ACPI_INTERNAL_VAR_XFACE acpi_os_printf ( const char format,
  ... 
)

Definition at line 211 of file osl.c.

acpi_status acpi_os_purge_cache ( acpi_cache_t cache)

Definition at line 1487 of file osl.c.

acpi_status acpi_os_read_memory ( acpi_physical_address  address,
u64 value,
u32  width 
)

Definition at line 730 of file osl.c.

acpi_status acpi_os_read_pci_configuration ( struct acpi_pci_id pci_id,
u32  reg,
u64 value,
u32  width 
)

Definition at line 831 of file osl.c.

acpi_status acpi_os_read_port ( acpi_io_address  address,
u32 value,
u32  width 
)

Definition at line 674 of file osl.c.

void acpi_os_redirect_output ( void destination)
void acpi_os_release_lock ( acpi_spinlock  handle,
acpi_cpu_flags  flags 
)

Definition at line 1443 of file osl.c.

acpi_status acpi_os_release_object ( acpi_cache_t cache,
void object 
)

Definition at line 1526 of file osl.c.

acpi_status acpi_os_remove_interrupt_handler ( u32  gsi,
acpi_osd_handler  service_routine 
)

Definition at line 619 of file osl.c.

acpi_status acpi_os_signal ( u32  function,
void info 
)

Definition at line 1124 of file osl.c.

acpi_status acpi_os_signal_semaphore ( acpi_semaphore  handle,
u32  units 
)
void acpi_os_sleep ( u64  milliseconds)

Definition at line 634 of file osl.c.

void acpi_os_stall ( u32  microseconds)

Definition at line 639 of file osl.c.

acpi_status acpi_os_table_override ( struct acpi_table_header existing_table,
struct acpi_table_header **  new_table 
)

Definition at line 538 of file osl.c.

acpi_status acpi_os_terminate ( void  )

Definition at line 1556 of file osl.c.

void acpi_os_unmap_memory ( void __iomem logical_address,
acpi_size  size 
)

Definition at line 427 of file osl.c.

void acpi_os_vprintf ( const char format,
va_list  args 
)

Definition at line 219 of file osl.c.

void acpi_os_wait_events_complete ( void  )

Definition at line 990 of file osl.c.

acpi_status acpi_os_wait_semaphore ( acpi_semaphore  handle,
u32  units,
u16  timeout 
)
acpi_status acpi_os_write_memory ( acpi_physical_address  address,
u64  value,
u32  width 
)

Definition at line 789 of file osl.c.

acpi_status acpi_os_write_pci_configuration ( struct acpi_pci_id pci_id,
u32  reg,
u64  value,
u32  width 
)

Definition at line 863 of file osl.c.

acpi_status acpi_os_write_port ( acpi_io_address  address,
u32  value,
u32  width 
)

Definition at line 697 of file osl.c.

void early_acpi_os_unmap_memory ( void __iomem virt,
acpi_size  size 
)

Definition at line 450 of file osl.c.

Variable Documentation

struct workqueue_struct* kacpi_hotplug_wq

Definition at line 87 of file osl.c.