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

Go to the source code of this file.

Data Structures

struct  sfi_table_header
 
struct  sfi_table_simple
 
struct  sfi_mem_entry
 
struct  sfi_cpu_table_entry
 
struct  sfi_cstate_table_entry
 
struct  sfi_apic_table_entry
 
struct  sfi_freq_table_entry
 
struct  sfi_wake_table_entry
 
struct  sfi_timer_table_entry
 
struct  sfi_rtc_table_entry
 
struct  sfi_device_table_entry
 
struct  sfi_gpio_table_entry
 

Macros

#define SFI_SIG_SYST   "SYST"
 
#define SFI_SIG_FREQ   "FREQ"
 
#define SFI_SIG_IDLE   "IDLE"
 
#define SFI_SIG_CPUS   "CPUS"
 
#define SFI_SIG_MTMR   "MTMR"
 
#define SFI_SIG_MRTC   "MRTC"
 
#define SFI_SIG_MMAP   "MMAP"
 
#define SFI_SIG_APIC   "APIC"
 
#define SFI_SIG_XSDT   "XSDT"
 
#define SFI_SIG_WAKE   "WAKE"
 
#define SFI_SIG_DEVS   "DEVS"
 
#define SFI_SIG_GPIO   "GPIO"
 
#define SFI_SIGNATURE_SIZE   4
 
#define SFI_OEM_ID_SIZE   6
 
#define SFI_OEM_TABLE_ID_SIZE   8
 
#define SFI_NAME_LEN   16
 
#define SFI_SYST_SEARCH_BEGIN   0x000E0000
 
#define SFI_SYST_SEARCH_END   0x000FFFFF
 
#define SFI_GET_NUM_ENTRIES(ptable, entry_type)
 
#define SFI_DEV_TYPE_SPI   0
 
#define SFI_DEV_TYPE_I2C   1
 
#define SFI_DEV_TYPE_UART   2
 
#define SFI_DEV_TYPE_HSI   3
 
#define SFI_DEV_TYPE_IPC   4
 
#define sfi_disabled   0
 

Typedefs

typedef int(* sfi_table_handler )(struct sfi_table_header *table)
 

Variables

struct sfi_table_header __packed
 

Macro Definition Documentation

#define SFI_DEV_TYPE_HSI   3

Definition at line 154 of file sfi.h.

#define SFI_DEV_TYPE_I2C   1

Definition at line 152 of file sfi.h.

#define SFI_DEV_TYPE_IPC   4

Definition at line 155 of file sfi.h.

#define SFI_DEV_TYPE_SPI   0

Definition at line 151 of file sfi.h.

#define SFI_DEV_TYPE_UART   2

Definition at line 153 of file sfi.h.

#define sfi_disabled   0

Definition at line 195 of file sfi.h.

#define SFI_GET_NUM_ENTRIES (   ptable,
  entry_type 
)
Value:
((ptable->header.len - sizeof(struct sfi_table_header)) / \
(sizeof(entry_type)))

Definition at line 85 of file sfi.h.

#define SFI_NAME_LEN   16

Definition at line 80 of file sfi.h.

#define SFI_OEM_ID_SIZE   6

Definition at line 77 of file sfi.h.

#define SFI_OEM_TABLE_ID_SIZE   8

Definition at line 78 of file sfi.h.

#define SFI_SIG_APIC   "APIC"

Definition at line 70 of file sfi.h.

#define SFI_SIG_CPUS   "CPUS"

Definition at line 66 of file sfi.h.

#define SFI_SIG_DEVS   "DEVS"

Definition at line 73 of file sfi.h.

#define SFI_SIG_FREQ   "FREQ"

Definition at line 64 of file sfi.h.

#define SFI_SIG_GPIO   "GPIO"

Definition at line 74 of file sfi.h.

#define SFI_SIG_IDLE   "IDLE"

Definition at line 65 of file sfi.h.

#define SFI_SIG_MMAP   "MMAP"

Definition at line 69 of file sfi.h.

#define SFI_SIG_MRTC   "MRTC"

Definition at line 68 of file sfi.h.

#define SFI_SIG_MTMR   "MTMR"

Definition at line 67 of file sfi.h.

#define SFI_SIG_SYST   "SYST"

Definition at line 63 of file sfi.h.

#define SFI_SIG_WAKE   "WAKE"

Definition at line 72 of file sfi.h.

#define SFI_SIG_XSDT   "XSDT"

Definition at line 71 of file sfi.h.

#define SFI_SIGNATURE_SIZE   4

Definition at line 76 of file sfi.h.

#define SFI_SYST_SEARCH_BEGIN   0x000E0000

Definition at line 82 of file sfi.h.

#define SFI_SYST_SEARCH_END   0x000FFFFF

Definition at line 83 of file sfi.h.

Typedef Documentation

typedef int(* sfi_table_handler)(struct sfi_table_header *table)

Definition at line 170 of file sfi.h.

Variable Documentation