|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/types.h>#include <linux/errno.h>#include <linux/major.h>#include <linux/sched.h>#include <linux/mutex.h>#include <linux/interrupt.h>#include <linux/poll.h>#include <linux/init.h>#include <linux/timer.h>#include <linux/spinlock.h>#include <asm/io.h>#include <dma.h>#include <pinmux.h>#include <hwregs/reg_rdwr.h>#include <hwregs/sser_defs.h>#include <hwregs/dma_defs.h>#include <hwregs/dma.h>#include <hwregs/intr_vect_defs.h>#include <hwregs/intr_vect.h>#include <hwregs/reg_map.h>#include <asm/sync_serial.h>Go to the source code of this file.
Data Structures | |
| struct | sync_port |
Macros | |
| #define | SYNC_SERIAL_MAJOR 125 |
| #define | IN_BUFFER_SIZE 12288 |
| #define | IN_DESCR_SIZE 256 |
| #define | NBR_IN_DESCR (IN_BUFFER_SIZE/IN_DESCR_SIZE) |
| #define | OUT_BUFFER_SIZE 1024*8 |
| #define | NBR_OUT_DESCR 8 |
| #define | DEFAULT_FRAME_RATE 0 |
| #define | DEFAULT_WORD_RATE 7 |
| #define | DEBUG(x) |
| #define | DEBUGREAD(x) |
| #define | DEBUGWRITE(x) |
| #define | DEBUGPOLL(x) |
| #define | DEBUGRXINT(x) |
| #define | DEBUGTXINT(x) |
| #define | DEBUGTRDMA(x) |
| #define | DEBUGOUTBUF(x) |
| #define | OUT_DMA_NBR 6 |
| #define | IN_DMA_NBR 7 |
| #define | PINMUX_SSER pinmux_sser |
| #define | SYNCSER_INST regi_sser |
| #define | SYNCSER_INTR_VECT SSER_INTR_VECT |
| #define | OUT_DMA_INST regi_dma6 |
| #define | IN_DMA_INST regi_dma7 |
| #define | DMA_OUT_INTR_VECT DMA6_INTR_VECT |
| #define | DMA_IN_INTR_VECT DMA7_INTR_VECT |
| #define | REQ_DMA_SYNCSER dma_sser |
| #define | NBR_PORTS ARRAY_SIZE(ports) |
Typedefs | |
| typedef struct sync_port | sync_port |
Functions | |
| module_init (etrax_sync_serial_init) | |
| #define DEBUG | ( | x | ) |
Definition at line 78 of file sync_serial.c.
| #define DEBUGOUTBUF | ( | x | ) |
Definition at line 85 of file sync_serial.c.
| #define DEBUGPOLL | ( | x | ) |
Definition at line 81 of file sync_serial.c.
| #define DEBUGREAD | ( | x | ) |
Definition at line 79 of file sync_serial.c.
| #define DEBUGRXINT | ( | x | ) |
Definition at line 82 of file sync_serial.c.
| #define DEBUGTRDMA | ( | x | ) |
Definition at line 84 of file sync_serial.c.
| #define DEBUGTXINT | ( | x | ) |
Definition at line 83 of file sync_serial.c.
| #define DEBUGWRITE | ( | x | ) |
Definition at line 80 of file sync_serial.c.
| #define DEFAULT_FRAME_RATE 0 |
Definition at line 72 of file sync_serial.c.
| #define DEFAULT_WORD_RATE 7 |
Definition at line 73 of file sync_serial.c.
| #define DMA_IN_INTR_VECT DMA7_INTR_VECT |
Definition at line 209 of file sync_serial.c.
| #define DMA_OUT_INTR_VECT DMA6_INTR_VECT |
Definition at line 208 of file sync_serial.c.
| #define IN_BUFFER_SIZE 12288 |
Definition at line 65 of file sync_serial.c.
| #define IN_DESCR_SIZE 256 |
Definition at line 66 of file sync_serial.c.
| #define IN_DMA_INST regi_dma7 |
Definition at line 207 of file sync_serial.c.
| #define IN_DMA_NBR 7 |
Definition at line 202 of file sync_serial.c.
| #define NBR_IN_DESCR (IN_BUFFER_SIZE/IN_DESCR_SIZE) |
Definition at line 67 of file sync_serial.c.
| #define NBR_OUT_DESCR 8 |
Definition at line 70 of file sync_serial.c.
| #define NBR_PORTS ARRAY_SIZE(ports) |
Definition at line 242 of file sync_serial.c.
| #define OUT_BUFFER_SIZE 1024*8 |
Definition at line 69 of file sync_serial.c.
| #define OUT_DMA_INST regi_dma6 |
Definition at line 206 of file sync_serial.c.
| #define OUT_DMA_NBR 6 |
Definition at line 201 of file sync_serial.c.
| #define PINMUX_SSER pinmux_sser |
Definition at line 203 of file sync_serial.c.
| #define REQ_DMA_SYNCSER dma_sser |
Definition at line 210 of file sync_serial.c.
| #define SYNC_SERIAL_MAJOR 125 |
Definition at line 61 of file sync_serial.c.
| #define SYNCSER_INST regi_sser |
Definition at line 204 of file sync_serial.c.
| #define SYNCSER_INTR_VECT SSER_INTR_VECT |
Definition at line 205 of file sync_serial.c.
| module_init | ( | etrax_sync_serial_init | ) |
1.8.2