#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/workqueue.h>
Go to the source code of this file.
|
enum | { FM_SET_INTERRUPT_ENABLE = 0x008,
FM_CLEAR_INTERRUPT_ENABLE = 0x00c,
FM_INTERRUPT_STATUS = 0x014
} |
|
enum | {
SOCK_CONTROL = 0x004,
SOCK_PRESENT_STATE = 0x008,
SOCK_DMA_ADDRESS = 0x00c,
SOCK_DMA_CONTROL = 0x010,
SOCK_DMA_FIFO_INT_ENABLE_SET = 0x014,
SOCK_DMA_FIFO_INT_ENABLE_CLEAR = 0x018,
SOCK_DMA_FIFO_STATUS = 0x020,
SOCK_FIFO_CONTROL = 0x024,
SOCK_FIFO_PAGE_SIZE = 0x028,
SOCK_MMCSD_COMMAND = 0x104,
SOCK_MMCSD_ARG_LOW = 0x108,
SOCK_MMCSD_ARG_HIGH = 0x10c,
SOCK_MMCSD_CONFIG = 0x110,
SOCK_MMCSD_STATUS = 0x114,
SOCK_MMCSD_INT_ENABLE = 0x118,
SOCK_MMCSD_COMMAND_TO = 0x11c,
SOCK_MMCSD_DATA_TO = 0x120,
SOCK_MMCSD_DATA = 0x124,
SOCK_MMCSD_BLOCK_LEN = 0x128,
SOCK_MMCSD_NUM_BLOCKS = 0x12c,
SOCK_MMCSD_BUFFER_CONFIG = 0x130,
SOCK_MMCSD_SPI_CONFIG = 0x134,
SOCK_MMCSD_SDIO_MODE_CONFIG = 0x138,
SOCK_MMCSD_RESPONSE = 0x144,
SOCK_MMCSD_SDIO_SR = 0x164,
SOCK_MMCSD_SYSTEM_CONTROL = 0x168,
SOCK_MMCSD_SYSTEM_STATUS = 0x16c,
SOCK_MS_COMMAND = 0x184,
SOCK_MS_DATA = 0x188,
SOCK_MS_STATUS = 0x18c,
SOCK_MS_SYSTEM = 0x190,
SOCK_FIFO_ACCESS = 0x200
} |
|
#define TIFM_CTRL_FAST_CLK 0x00000100 |
#define TIFM_CTRL_LED 0x00000040 |
#define TIFM_CTRL_POWER_MASK 0x00000007 |
#define TIFM_DMA_EN 0x00000001 |
#define TIFM_DMA_RESET 0x00000002 |
#define TIFM_DMA_TSIZE 0x0000007f |
#define TIFM_DMA_TX 0x00008000 |
#define TIFM_FIFO_ENABLE 0x00000001 |
#define TIFM_FIFO_INT_SETALL 0x0000ffff |
#define TIFM_FIFO_INTMASK 0x00000005 |
#define TIFM_FIFO_MORE 0x00000008 |
#define TIFM_FIFO_READY 0x00000001 |
#define TIFM_SOCK_STATE_OCCUPIED 0x00000008 |
#define TIFM_SOCK_STATE_POWERED 0x00000080 |
- Enumerator:
FM_SET_INTERRUPT_ENABLE |
|
FM_CLEAR_INTERRUPT_ENABLE |
|
FM_INTERRUPT_STATUS |
|
Definition at line 22 of file tifm.h.
- Enumerator:
SOCK_CONTROL |
|
SOCK_PRESENT_STATE |
|
SOCK_DMA_ADDRESS |
|
SOCK_DMA_CONTROL |
|
SOCK_DMA_FIFO_INT_ENABLE_SET |
|
SOCK_DMA_FIFO_INT_ENABLE_CLEAR |
|
SOCK_DMA_FIFO_STATUS |
|
SOCK_FIFO_CONTROL |
|
SOCK_FIFO_PAGE_SIZE |
|
SOCK_MMCSD_COMMAND |
|
SOCK_MMCSD_ARG_LOW |
|
SOCK_MMCSD_ARG_HIGH |
|
SOCK_MMCSD_CONFIG |
|
SOCK_MMCSD_STATUS |
|
SOCK_MMCSD_INT_ENABLE |
|
SOCK_MMCSD_COMMAND_TO |
|
SOCK_MMCSD_DATA_TO |
|
SOCK_MMCSD_DATA |
|
SOCK_MMCSD_BLOCK_LEN |
|
SOCK_MMCSD_NUM_BLOCKS |
|
SOCK_MMCSD_BUFFER_CONFIG |
|
SOCK_MMCSD_SPI_CONFIG |
|
SOCK_MMCSD_SDIO_MODE_CONFIG |
|
SOCK_MMCSD_RESPONSE |
|
SOCK_MMCSD_SDIO_SR |
|
SOCK_MMCSD_SYSTEM_CONTROL |
|
SOCK_MMCSD_SYSTEM_STATUS |
|
SOCK_MS_COMMAND |
|
SOCK_MS_DATA |
|
SOCK_MS_STATUS |
|
SOCK_MS_SYSTEM |
|
SOCK_FIFO_ACCESS |
|
Definition at line 29 of file tifm.h.