Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
bfin_cf_pcmcia.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/platform_device.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <pcmcia/ss.h>
#include <pcmcia/cisreg.h>
#include <asm/gpio.h>

Go to the source code of this file.

Data Structures

struct  bfin_cf_socket
 

Macros

#define SZ_1K   0x00000400
 
#define SZ_8K   0x00002000
 
#define SZ_2K   (2 * SZ_1K)
 
#define POLL_INTERVAL   (2 * HZ)
 
#define CF_ATASEL_ENA   0x20311802 /* Inverts RESET */
 
#define CF_ATASEL_DIS   0x20311800
 
#define bfin_cf_present(pfx)   (gpio_get_value(pfx))
 

Functions

 module_platform_driver (bfin_cf_driver)
 
 MODULE_AUTHOR ("Michael Hennerich <[email protected]>")
 
 MODULE_DESCRIPTION ("BFIN CF/PCMCIA Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define bfin_cf_present (   pfx)    (gpio_get_value(pfx))

Definition at line 53 of file bfin_cf_pcmcia.c.

#define CF_ATASEL_DIS   0x20311800

Definition at line 51 of file bfin_cf_pcmcia.c.

#define CF_ATASEL_ENA   0x20311802 /* Inverts RESET */

Definition at line 50 of file bfin_cf_pcmcia.c.

#define POLL_INTERVAL   (2 * HZ)

Definition at line 48 of file bfin_cf_pcmcia.c.

#define SZ_1K   0x00000400

Definition at line 44 of file bfin_cf_pcmcia.c.

#define SZ_2K   (2 * SZ_1K)

Definition at line 46 of file bfin_cf_pcmcia.c.

#define SZ_8K   0x00002000

Definition at line 45 of file bfin_cf_pcmcia.c.

Function Documentation

MODULE_AUTHOR ( "Michael Hennerich <[email protected]>"  )
MODULE_DESCRIPTION ( "BFIN CF/PCMCIA Driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( bfin_cf_driver  )