Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xxs1500_ss.c File Reference
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/resource.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <pcmcia/ss.h>
#include <pcmcia/cistpl.h>
#include <asm/irq.h>
#include <asm/mach-au1x00/au1000.h>

Go to the source code of this file.

Data Structures

struct  xxs1500_pcmcia_sock
 

Macros

#define MEM_MAP_SIZE   0x400000
 
#define IO_MAP_SIZE   0x1000
 
#define GPIO_CDA   0
 
#define GPIO_CDB   1
 
#define GPIO_CARDIRQ   4
 
#define GPIO_RESET   204
 
#define GPIO_OUTEN   205
 
#define GPIO_VSL   208
 
#define GPIO_VSH   209
 
#define GPIO_BATTDEAD   210
 
#define GPIO_BATTWARN   211
 
#define GPIO_POWER   214
 
#define to_xxs_socket(x)   container_of(x, struct xxs1500_pcmcia_sock, socket)
 

Functions

 module_platform_driver (xxs1500_pcmcia_socket_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("PCMCIA Socket Services for MyCable XXS1500 systems")
 
 MODULE_AUTHOR ("Manuel Lauss")
 

Macro Definition Documentation

#define GPIO_BATTDEAD   210

Definition at line 49 of file xxs1500_ss.c.

#define GPIO_BATTWARN   211

Definition at line 50 of file xxs1500_ss.c.

#define GPIO_CARDIRQ   4

Definition at line 44 of file xxs1500_ss.c.

#define GPIO_CDA   0

Definition at line 42 of file xxs1500_ss.c.

#define GPIO_CDB   1

Definition at line 43 of file xxs1500_ss.c.

#define GPIO_OUTEN   205

Definition at line 46 of file xxs1500_ss.c.

#define GPIO_POWER   214

Definition at line 51 of file xxs1500_ss.c.

#define GPIO_RESET   204

Definition at line 45 of file xxs1500_ss.c.

#define GPIO_VSH   209

Definition at line 48 of file xxs1500_ss.c.

#define GPIO_VSL   208

Definition at line 47 of file xxs1500_ss.c.

#define IO_MAP_SIZE   0x1000

Definition at line 27 of file xxs1500_ss.c.

#define MEM_MAP_SIZE   0x400000

Definition at line 26 of file xxs1500_ss.c.

#define to_xxs_socket (   x)    container_of(x, struct xxs1500_pcmcia_sock, socket)

Definition at line 65 of file xxs1500_ss.c.

Function Documentation

MODULE_AUTHOR ( "Manuel Lauss"  )
MODULE_DESCRIPTION ( "PCMCIA Socket Services for MyCable XXS1500 systems"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( xxs1500_pcmcia_socket_driver  )