Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hwregs.c File Reference
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
#include "acevents.h"

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_HARDWARE
 

Functions

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)
 
acpi_status acpi_hw_clear_acpi_status (void)
 
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)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_HARDWARE

Definition at line 51 of file hwregs.c.

Function Documentation

acpi_status acpi_hw_clear_acpi_status ( void  )

Definition at line 263 of file hwregs.c.

struct acpi_bit_register_info* acpi_hw_get_bit_register_info ( u32  register_id)
read

Definition at line 306 of file hwregs.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_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_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.