Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
achware.h File Reference

Go to the source code of this file.

Macros

#define ACPI_SST_INDICATOR_OFF   0
 
#define ACPI_SST_WORKING   1
 
#define ACPI_SST_WAKING   2
 
#define ACPI_SST_SLEEPING   3
 
#define ACPI_SST_SLEEP_CONTEXT   4
 

Functions

acpi_status acpi_hw_set_mode (u32 mode)
 
u32 acpi_hw_get_mode (void)
 
acpi_status acpi_hw_validate_register (struct acpi_generic_address *reg, u8 max_bit_width, u64 *address)
 
acpi_status acpi_hw_read (u32 *value, struct acpi_generic_address *reg)
 
acpi_status acpi_hw_write (u32 value, struct acpi_generic_address *reg)
 
struct acpi_bit_register_infoacpi_hw_get_bit_register_info (u32 register_id)
 
acpi_status acpi_hw_write_pm1_control (u32 pm1a_control, u32 pm1b_control)
 
acpi_status acpi_hw_register_read (u32 register_id, u32 *return_value)
 
acpi_status acpi_hw_register_write (u32 register_id, u32 value)
 
acpi_status acpi_hw_clear_acpi_status (void)
 
acpi_status acpi_hw_legacy_sleep (u8 sleep_state)
 
acpi_status acpi_hw_legacy_wake_prep (u8 sleep_state)
 
acpi_status acpi_hw_legacy_wake (u8 sleep_state)
 
void acpi_hw_execute_sleep_method (char *method_name, u32 integer_argument)
 
acpi_status acpi_hw_extended_sleep (u8 sleep_state)
 
acpi_status acpi_hw_extended_wake_prep (u8 sleep_state)
 
acpi_status acpi_hw_extended_wake (u8 sleep_state)
 
acpi_status acpi_hw_read_port (acpi_io_address address, u32 *value, u32 width)
 
acpi_status acpi_hw_write_port (acpi_io_address address, u32 value, u32 width)
 
u32 acpi_hw_get_gpe_register_bit (struct acpi_gpe_event_info *gpe_event_info)
 
acpi_status acpi_hw_low_set_gpe (struct acpi_gpe_event_info *gpe_event_info, u32 action)
 
acpi_status acpi_hw_disable_gpe_block (struct acpi_gpe_xrupt_info *gpe_xrupt_info, struct acpi_gpe_block_info *gpe_block, void *context)
 
acpi_status acpi_hw_clear_gpe (struct acpi_gpe_event_info *gpe_event_info)
 
acpi_status acpi_hw_clear_gpe_block (struct acpi_gpe_xrupt_info *gpe_xrupt_info, struct acpi_gpe_block_info *gpe_block, void *context)
 
acpi_status acpi_hw_get_gpe_status (struct acpi_gpe_event_info *gpe_event_info, acpi_event_status *event_status)
 
acpi_status acpi_hw_disable_all_gpes (void)
 
acpi_status acpi_hw_enable_all_runtime_gpes (void)
 
acpi_status acpi_hw_enable_all_wakeup_gpes (void)
 
acpi_status acpi_hw_enable_runtime_gpe_block (struct acpi_gpe_xrupt_info *gpe_xrupt_info, struct acpi_gpe_block_info *gpe_block, void *context)
 
acpi_status acpi_hw_derive_pci_id (struct acpi_pci_id *pci_id, acpi_handle root_pci_device, acpi_handle pci_region)
 

Macro Definition Documentation

#define ACPI_SST_INDICATOR_OFF   0

Definition at line 49 of file achware.h.

#define ACPI_SST_SLEEP_CONTEXT   4

Definition at line 53 of file achware.h.

#define ACPI_SST_SLEEPING   3

Definition at line 52 of file achware.h.

#define ACPI_SST_WAKING   2

Definition at line 51 of file achware.h.

#define ACPI_SST_WORKING   1

Definition at line 50 of file achware.h.

Function Documentation

acpi_status acpi_hw_clear_acpi_status ( void  )

Definition at line 263 of file hwregs.c.

acpi_status acpi_hw_clear_gpe ( struct acpi_gpe_event_info gpe_event_info)

Definition at line 159 of file hwgpe.c.

acpi_status acpi_hw_clear_gpe_block ( struct acpi_gpe_xrupt_info gpe_xrupt_info,
struct acpi_gpe_block_info gpe_block,
void context 
)

Definition at line 303 of file hwgpe.c.

acpi_status acpi_hw_derive_pci_id ( struct acpi_pci_id pci_id,
acpi_handle  root_pci_device,
acpi_handle  pci_region 
)

Definition at line 122 of file hwpci.c.

acpi_status acpi_hw_disable_all_gpes ( void  )

Definition at line 423 of file hwgpe.c.

acpi_status acpi_hw_disable_gpe_block ( struct acpi_gpe_xrupt_info gpe_xrupt_info,
struct acpi_gpe_block_info gpe_block,
void context 
)

Definition at line 266 of file hwgpe.c.

acpi_status acpi_hw_enable_all_runtime_gpes ( void  )

Definition at line 446 of file hwgpe.c.

acpi_status acpi_hw_enable_all_wakeup_gpes ( void  )

Definition at line 468 of file hwgpe.c.

acpi_status acpi_hw_enable_runtime_gpe_block ( struct acpi_gpe_xrupt_info gpe_xrupt_info,
struct acpi_gpe_block_info gpe_block,
void context 
)

Definition at line 341 of file hwgpe.c.

void acpi_hw_execute_sleep_method ( char method_name,
u32  integer_argument 
)

Definition at line 64 of file hwesleep.c.

acpi_status acpi_hw_extended_sleep ( u8  sleep_state)

Definition at line 102 of file hwesleep.c.

acpi_status acpi_hw_extended_wake ( u8  sleep_state)

Definition at line 212 of file hwesleep.c.

acpi_status acpi_hw_extended_wake_prep ( u8  sleep_state)

Definition at line 176 of file hwesleep.c.

struct acpi_bit_register_info* acpi_hw_get_bit_register_info ( u32  register_id)
read

Definition at line 306 of file hwregs.c.

u32 acpi_hw_get_gpe_register_bit ( struct acpi_gpe_event_info gpe_event_info)

Definition at line 71 of file hwgpe.c.

acpi_status acpi_hw_get_gpe_status ( struct acpi_gpe_event_info gpe_event_info,
acpi_event_status event_status 
)

Definition at line 200 of file hwgpe.c.

u32 acpi_hw_get_mode ( void  )

Definition at line 144 of file hwacpi.c.

acpi_status acpi_hw_legacy_sleep ( u8  sleep_state)

Definition at line 66 of file hwsleep.c.

acpi_status acpi_hw_legacy_wake ( u8  sleep_state)

Definition at line 286 of file hwsleep.c.

acpi_status acpi_hw_legacy_wake_prep ( u8  sleep_state)

Definition at line 219 of file hwsleep.c.

acpi_status acpi_hw_low_set_gpe ( struct acpi_gpe_event_info gpe_event_info,
u32  action 
)

Definition at line 91 of file hwgpe.c.

acpi_status acpi_hw_read ( u32 value,
struct acpi_generic_address reg 
)

Definition at line 157 of file hwregs.c.

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

Definition at line 221 of file hwvalid.c.

acpi_status acpi_hw_register_read ( u32  register_id,
u32 return_value 
)

Definition at line 369 of file hwregs.c.

acpi_status acpi_hw_register_write ( u32  register_id,
u32  value 
)

Definition at line 463 of file hwregs.c.

acpi_status acpi_hw_set_mode ( u32  mode)

Definition at line 63 of file hwacpi.c.

acpi_status acpi_hw_validate_register ( struct acpi_generic_address reg,
u8  max_bit_width,
u64 address 
)

Definition at line 85 of file hwregs.c.

acpi_status acpi_hw_write ( u32  value,
struct acpi_generic_address reg 
)

Definition at line 214 of file hwregs.c.

acpi_status acpi_hw_write_pm1_control ( u32  pm1a_control,
u32  pm1b_control 
)

Definition at line 336 of file hwregs.c.

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

Definition at line 285 of file hwvalid.c.