Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
lpc_ich.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/acpi.h>
#include <linux/pci.h>
#include <linux/mfd/core.h>
#include <linux/mfd/lpc_ich.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define ACPIBASE   0x40
 
#define ACPIBASE_GPE_OFF   0x28
 
#define ACPIBASE_GPE_END   0x2f
 
#define ACPIBASE_SMI_OFF   0x30
 
#define ACPIBASE_SMI_END   0x33
 
#define ACPIBASE_TCO_OFF   0x60
 
#define ACPIBASE_TCO_END   0x7f
 
#define ACPICTRL   0x44
 
#define ACPIBASE_GCS_OFF   0x3410
 
#define ACPIBASE_GCS_END   0x3414
 
#define GPIOBASE   0x48
 
#define GPIOCTRL   0x4C
 
#define RCBABASE   0xf0
 
#define wdt_io_res(i)   wdt_res(0, i)
 
#define wdt_mem_res(i)   wdt_res(ICH_RES_MEM_OFF, i)
 
#define wdt_res(b, i)   (&wdt_ich_res[(b) + (i)])
 

Enumerations

enum  lpc_cells { LPC_WDT = 0, LPC_GPIO }
 
enum  lpc_chipsets {
  LPC_ICH = 0, LPC_ICH0, LPC_ICH2, LPC_ICH2M,
  LPC_ICH3, LPC_ICH3M, LPC_ICH4, LPC_ICH4M,
  LPC_CICH, LPC_ICH5, LPC_6300ESB, LPC_ICH6,
  LPC_ICH6M, LPC_ICH6W, LPC_631XESB, LPC_ICH7,
  LPC_ICH7DH, LPC_ICH7M, LPC_ICH7MDH, LPC_NM10,
  LPC_ICH8, LPC_ICH8DH, LPC_ICH8DO, LPC_ICH8M,
  LPC_ICH8ME, LPC_ICH9, LPC_ICH9R, LPC_ICH9DH,
  LPC_ICH9DO, LPC_ICH9M, LPC_ICH9ME, LPC_ICH10,
  LPC_ICH10R, LPC_ICH10D, LPC_ICH10DO, LPC_PCH,
  LPC_PCHM, LPC_P55, LPC_PM55, LPC_H55,
  LPC_QM57, LPC_H57, LPC_HM55, LPC_Q57,
  LPC_HM57, LPC_PCHMSFF, LPC_QS57, LPC_3400,
  LPC_3420, LPC_3450, LPC_EP80579, LPC_CPT,
  LPC_CPTD, LPC_CPTM, LPC_PBG, LPC_DH89XXCC,
  LPC_PPT, LPC_LPT, LPC_LPT_LP
}
 

Functions

 MODULE_DEVICE_TABLE (pci, lpc_ich_ids)
 
 module_init (lpc_ich_init)
 
 module_exit (lpc_ich_exit)
 
 MODULE_AUTHOR ("Aaron Sierra <[email protected]>")
 
 MODULE_DESCRIPTION ("LPC interface for Intel ICH")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct lpc_ich_info
lpc_chipset_info[] 
__devinitdata
 

Macro Definition Documentation

#define ACPIBASE   0x40

Definition at line 66 of file lpc_ich.c.

#define ACPIBASE_GCS_END   0x3414

Definition at line 76 of file lpc_ich.c.

#define ACPIBASE_GCS_OFF   0x3410

Definition at line 75 of file lpc_ich.c.

#define ACPIBASE_GPE_END   0x2f

Definition at line 68 of file lpc_ich.c.

#define ACPIBASE_GPE_OFF   0x28

Definition at line 67 of file lpc_ich.c.

#define ACPIBASE_SMI_END   0x33

Definition at line 70 of file lpc_ich.c.

#define ACPIBASE_SMI_OFF   0x30

Definition at line 69 of file lpc_ich.c.

#define ACPIBASE_TCO_END   0x7f

Definition at line 72 of file lpc_ich.c.

#define ACPIBASE_TCO_OFF   0x60

Definition at line 71 of file lpc_ich.c.

#define ACPICTRL   0x44

Definition at line 73 of file lpc_ich.c.

#define GPIOBASE   0x48

Definition at line 78 of file lpc_ich.c.

#define GPIOCTRL   0x4C

Definition at line 79 of file lpc_ich.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 55 of file lpc_ich.c.

#define RCBABASE   0xf0

Definition at line 81 of file lpc_ich.c.

#define wdt_io_res (   i)    wdt_res(0, i)

Definition at line 83 of file lpc_ich.c.

#define wdt_mem_res (   i)    wdt_res(ICH_RES_MEM_OFF, i)

Definition at line 84 of file lpc_ich.c.

#define wdt_res (   b,
  i 
)    (&wdt_ich_res[(b) + (i)])

Definition at line 85 of file lpc_ich.c.

Enumeration Type Documentation

enum lpc_cells
Enumerator:
LPC_WDT 
LPC_GPIO 

Definition at line 116 of file lpc_ich.c.

Enumerator:
LPC_ICH 
LPC_ICH0 
LPC_ICH2 
LPC_ICH2M 
LPC_ICH3 
LPC_ICH3M 
LPC_ICH4 
LPC_ICH4M 
LPC_CICH 
LPC_ICH5 
LPC_6300ESB 
LPC_ICH6 
LPC_ICH6M 
LPC_ICH6W 
LPC_631XESB 
LPC_ICH7 
LPC_ICH7DH 
LPC_ICH7M 
LPC_ICH7MDH 
LPC_NM10 
LPC_ICH8 
LPC_ICH8DH 
LPC_ICH8DO 
LPC_ICH8M 
LPC_ICH8ME 
LPC_ICH9 
LPC_ICH9R 
LPC_ICH9DH 
LPC_ICH9DO 
LPC_ICH9M 
LPC_ICH9ME 
LPC_ICH10 
LPC_ICH10R 
LPC_ICH10D 
LPC_ICH10DO 
LPC_PCH 
LPC_PCHM 
LPC_P55 
LPC_PM55 
LPC_H55 
LPC_QM57 
LPC_H57 
LPC_HM55 
LPC_Q57 
LPC_HM57 
LPC_PCHMSFF 
LPC_QS57 
LPC_3400 
LPC_3420 
LPC_3450 
LPC_EP80579 
LPC_CPT 
LPC_CPTD 
LPC_CPTM 
LPC_PBG 
LPC_DH89XXCC 
LPC_PPT 
LPC_LPT 
LPC_LPT_LP 

Definition at line 137 of file lpc_ich.c.

Function Documentation

MODULE_AUTHOR ( "Aaron Sierra <[email protected]>"  )
MODULE_DESCRIPTION ( "LPC interface for Intel ICH"  )
MODULE_DEVICE_TABLE ( pci  ,
lpc_ich_ids   
)
module_exit ( lpc_ich_exit  )
module_init ( lpc_ich_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct lpc_ich_info lpc_chipset_info [] __devinitdata

Definition at line 199 of file lpc_ich.c.