#include <linux/blkdev.h>
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/scatterlist.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/types.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sdio.h>
#include <mach/atmel-mci.h>
#include <linux/atmel-mci.h>
#include <linux/atmel_pdc.h>
#include <asm/io.h>
#include <asm/unaligned.h>
#include <mach/cpu.h>
#include <mach/board.h>
#include "atmel-mci-regs.h"
Go to the source code of this file.
|
enum | { EVENT_CMD_RDY = 0,
EVENT_XFER_COMPLETE,
EVENT_NOTBUSY,
EVENT_DATA_ERROR
} |
|
enum | atmel_mci_state {
STATE_IDLE = 0,
STATE_SENDING_CMD,
STATE_DATA_XFER,
STATE_WAITING_NOTBUSY,
STATE_SENDING_STOP,
STATE_END_REQUEST
} |
|
enum | atmci_xfer_dir { XFER_RECEIVE = 0,
XFER_TRANSMIT
} |
|
enum | atmci_pdc_buf { PDC_FIRST_BUF = 0,
PDC_SECOND_BUF
} |
|
#define ATMCI_CARD_NEED_INIT 1 |
#define ATMCI_CARD_PRESENT 0 |
#define ATMCI_DMA_THRESHOLD 16 |
#define ATMCI_PM_OPS NULL |
#define ATMCI_SUSPENDED 3 |
- Enumerator:
EVENT_CMD_RDY |
|
EVENT_XFER_COMPLETE |
|
EVENT_NOTBUSY |
|
EVENT_DATA_ERROR |
|
Definition at line 50 of file atmel-mci.c.
- Enumerator:
PDC_FIRST_BUF |
|
PDC_SECOND_BUF |
|
Definition at line 71 of file atmel-mci.c.
- Enumerator:
XFER_RECEIVE |
|
XFER_TRANSMIT |
|
Definition at line 66 of file atmel-mci.c.
- Enumerator:
STATE_IDLE |
|
STATE_SENDING_CMD |
|
STATE_DATA_XFER |
|
STATE_WAITING_NOTBUSY |
|
STATE_SENDING_STOP |
|
STATE_END_REQUEST |
|
Definition at line 57 of file atmel-mci.c.
late_initcall |
( |
atmci_init |
| ) |
|
MODULE_AUTHOR |
( |
"Haavard Skinnemoen (Atmel)" |
| ) |
|
module_exit |
( |
atmci_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|