|
Linux Kernel
3.7.1
|
#include <linux/delay.h>#include <linux/highmem.h>#include <linux/module.h>#include <linux/pci.h>#include <linux/ioport.h>#include <linux/scatterlist.h>#include <pcmcia/cistpl.h>#include <pcmcia/ds.h>#include <linux/io.h>#include <linux/mmc/host.h>Go to the source code of this file.
Data Structures | |
| struct | sdricoh_host |
Macros | |
| #define | DRIVER_NAME "sdricoh_cs" |
| #define | SDRICOH_PCI_REGION 0 |
| #define | SDRICOH_PCI_REGION_SIZE 0x1000 |
| #define | R104_VERSION 0x104 |
| #define | R200_CMD 0x200 |
| #define | R204_CMD_ARG 0x204 |
| #define | R208_DATAIO 0x208 |
| #define | R20C_RESP 0x20c |
| #define | R21C_STATUS 0x21c |
| #define | R2E0_INIT 0x2e0 |
| #define | R2E4_STATUS_RESP 0x2e4 |
| #define | R2F0_RESET 0x2f0 |
| #define | R224_MODE 0x224 |
| #define | R226_BLOCKSIZE 0x226 |
| #define | R228_POWER 0x228 |
| #define | R230_DATA 0x230 |
| #define | STATUS_CMD_FINISHED 0x00000001 |
| #define | STATUS_TRANSFER_FINISHED 0x00000004 |
| #define | STATUS_CARD_INSERTED 0x00000020 |
| #define | STATUS_CARD_LOCKED 0x00000080 |
| #define | STATUS_CMD_TIMEOUT 0x00400000 |
| #define | STATUS_READY_TO_READ 0x01000000 |
| #define | STATUS_READY_TO_WRITE 0x02000000 |
| #define | STATUS_BUSY 0x40000000 |
| #define | INIT_TIMEOUT 100 |
| #define | CMD_TIMEOUT 100000 |
| #define | TRANSFER_TIMEOUT 100000 |
| #define | BUSY_TIMEOUT 32767 |
| #define | sdricoh_pcmcia_suspend NULL |
| #define | sdricoh_pcmcia_resume NULL |
Functions | |
| MODULE_DEVICE_TABLE (pcmcia, pcmcia_ids) | |
| module_init (sdricoh_drv_init) | |
| module_exit (sdricoh_drv_exit) | |
| module_param (switchlocked, uint, 0444) | |
| MODULE_AUTHOR ("Sascha Sommer <[email protected]>") | |
| MODULE_DESCRIPTION ("Ricoh PCMCIA Secure Digital Interface driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_PARM_DESC (switchlocked,"Switch the cards locked status.""Use this when unlocked cards are shown readonly (default 0)") | |
| #define BUSY_TIMEOUT 32767 |
Definition at line 77 of file sdricoh_cs.c.
| #define CMD_TIMEOUT 100000 |
Definition at line 75 of file sdricoh_cs.c.
| #define DRIVER_NAME "sdricoh_cs" |
Definition at line 40 of file sdricoh_cs.c.
| #define INIT_TIMEOUT 100 |
Definition at line 74 of file sdricoh_cs.c.
| #define R104_VERSION 0x104 |
Definition at line 49 of file sdricoh_cs.c.
| #define R200_CMD 0x200 |
Definition at line 50 of file sdricoh_cs.c.
| #define R204_CMD_ARG 0x204 |
Definition at line 51 of file sdricoh_cs.c.
| #define R208_DATAIO 0x208 |
Definition at line 52 of file sdricoh_cs.c.
| #define R20C_RESP 0x20c |
Definition at line 53 of file sdricoh_cs.c.
| #define R21C_STATUS 0x21c |
Definition at line 54 of file sdricoh_cs.c.
| #define R224_MODE 0x224 |
Definition at line 58 of file sdricoh_cs.c.
| #define R226_BLOCKSIZE 0x226 |
Definition at line 59 of file sdricoh_cs.c.
| #define R228_POWER 0x228 |
Definition at line 60 of file sdricoh_cs.c.
| #define R230_DATA 0x230 |
Definition at line 61 of file sdricoh_cs.c.
| #define R2E0_INIT 0x2e0 |
Definition at line 55 of file sdricoh_cs.c.
| #define R2E4_STATUS_RESP 0x2e4 |
Definition at line 56 of file sdricoh_cs.c.
| #define R2F0_RESET 0x2f0 |
Definition at line 57 of file sdricoh_cs.c.
| #define SDRICOH_PCI_REGION 0 |
Definition at line 45 of file sdricoh_cs.c.
| #define SDRICOH_PCI_REGION_SIZE 0x1000 |
Definition at line 46 of file sdricoh_cs.c.
| #define sdricoh_pcmcia_resume NULL |
Definition at line 535 of file sdricoh_cs.c.
| #define sdricoh_pcmcia_suspend NULL |
Definition at line 534 of file sdricoh_cs.c.
| #define STATUS_BUSY 0x40000000 |
Definition at line 71 of file sdricoh_cs.c.
| #define STATUS_CARD_INSERTED 0x00000020 |
Definition at line 66 of file sdricoh_cs.c.
| #define STATUS_CARD_LOCKED 0x00000080 |
Definition at line 67 of file sdricoh_cs.c.
| #define STATUS_CMD_FINISHED 0x00000001 |
Definition at line 64 of file sdricoh_cs.c.
| #define STATUS_CMD_TIMEOUT 0x00400000 |
Definition at line 68 of file sdricoh_cs.c.
| #define STATUS_READY_TO_READ 0x01000000 |
Definition at line 69 of file sdricoh_cs.c.
| #define STATUS_READY_TO_WRITE 0x02000000 |
Definition at line 70 of file sdricoh_cs.c.
| #define STATUS_TRANSFER_FINISHED 0x00000004 |
Definition at line 65 of file sdricoh_cs.c.
| #define TRANSFER_TIMEOUT 100000 |
Definition at line 76 of file sdricoh_cs.c.
| MODULE_AUTHOR | ( | "Sascha Sommer <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | pcmcia | , |
| pcmcia_ids | |||
| ) |
| module_exit | ( | sdricoh_drv_exit | ) |
| module_init | ( | sdricoh_drv_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | switchlocked | , |
| uint | , | ||
| 0444 | |||
| ) |
1.8.2