Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
t7l66xb.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tmio.h>
#include <linux/mfd/t7l66xb.h>

Go to the source code of this file.

Data Structures

struct  t7l66xb
 

Macros

#define SCR_REVID   0x08 /* b Revision ID */
 
#define SCR_IMR   0x42 /* b Interrupt Mask */
 
#define SCR_DEV_CTL   0xe0 /* b Device control */
 
#define SCR_ISR   0xe1 /* b Interrupt Status */
 
#define SCR_GPO_OC   0xf0 /* b GPO output control */
 
#define SCR_GPO_OS   0xf1 /* b GPO output enable */
 
#define SCR_GPI_S   0xf2 /* w GPI status */
 
#define SCR_APDC   0xf8 /* b Active pullup down ctrl */
 
#define SCR_DEV_CTL_USB   BIT(0) /* USB enable */
 
#define SCR_DEV_CTL_MMC   BIT(1) /* MMC enable */
 
#define t7l66xb_suspend   NULL
 
#define t7l66xb_resume   NULL
 

Enumerations

enum  { T7L66XB_CELL_NAND, T7L66XB_CELL_MMC }
 

Functions

 module_platform_driver (t7l66xb_platform_driver)
 
 MODULE_DESCRIPTION ("Toshiba T7L66XB core driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Ian Molton")
 
 MODULE_ALIAS ("platform:t7l66xb")
 

Macro Definition Documentation

#define SCR_APDC   0xf8 /* b Active pullup down ctrl */

Definition at line 62 of file t7l66xb.c.

#define SCR_DEV_CTL   0xe0 /* b Device control */

Definition at line 57 of file t7l66xb.c.

#define SCR_DEV_CTL_MMC   BIT(1) /* MMC enable */

Definition at line 65 of file t7l66xb.c.

#define SCR_DEV_CTL_USB   BIT(0) /* USB enable */

Definition at line 64 of file t7l66xb.c.

#define SCR_GPI_S   0xf2 /* w GPI status */

Definition at line 61 of file t7l66xb.c.

#define SCR_GPO_OC   0xf0 /* b GPO output control */

Definition at line 59 of file t7l66xb.c.

#define SCR_GPO_OS   0xf1 /* b GPO output enable */

Definition at line 60 of file t7l66xb.c.

#define SCR_IMR   0x42 /* b Interrupt Mask */

Definition at line 56 of file t7l66xb.c.

#define SCR_ISR   0xe1 /* b Interrupt Status */

Definition at line 58 of file t7l66xb.c.

#define SCR_REVID   0x08 /* b Revision ID */

Definition at line 55 of file t7l66xb.c.

#define t7l66xb_resume   NULL

Definition at line 309 of file t7l66xb.c.

#define t7l66xb_suspend   NULL

Definition at line 308 of file t7l66xb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
T7L66XB_CELL_NAND 
T7L66XB_CELL_MMC 

Definition at line 37 of file t7l66xb.c.

Function Documentation

MODULE_ALIAS ( "platform:t7l66xb"  )
MODULE_AUTHOR ( "Ian Molton"  )
MODULE_DESCRIPTION ( "Toshiba T7L66XB core driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( t7l66xb_platform_driver  )