#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <lantiq_soc.h>
#include <xway_dma.h>
Go to the source code of this file.
Definition at line 49 of file dma.c.
Definition at line 42 of file dma.c.
Definition at line 44 of file dma.c.
#define DMA_CLK_DIV4 BIT(6) /* polling clock divider */ |
Definition at line 48 of file dma.c.
Definition at line 40 of file dma.c.
#define DMA_ETOP_ENDIANESS (0xf << 8) /* endianess swap etop channels */ |
Definition at line 51 of file dma.c.
#define DMA_IRQ_ACK 0x7e /* IRQ status register */ |
Definition at line 46 of file dma.c.
#define DMA_MAX_CHANNEL 20 /* the soc has 20 channels */ |
Definition at line 50 of file dma.c.
Definition at line 43 of file dma.c.
#define DMA_POLL BIT(31) /* turn on channel polling */ |
Definition at line 47 of file dma.c.
Definition at line 45 of file dma.c.
Definition at line 41 of file dma.c.
#define DMA_WEIGHT (BIT(17) | BIT(16)) /* default channel wheight */ |
Definition at line 52 of file dma.c.
#define LTQ_DMA_CCTRL 0x1C |
Definition at line 31 of file dma.c.
#define LTQ_DMA_CDBA 0x20 |
Definition at line 32 of file dma.c.
#define LTQ_DMA_CDLEN 0x24 |
Definition at line 33 of file dma.c.
Definition at line 35 of file dma.c.
Definition at line 34 of file dma.c.
#define LTQ_DMA_CPOLL 0x14 |
Definition at line 29 of file dma.c.
Definition at line 30 of file dma.c.
#define LTQ_DMA_CTRL 0x10 |
Definition at line 28 of file dma.c.
#define LTQ_DMA_IRNEN 0xf4 |
Definition at line 38 of file dma.c.
#define LTQ_DMA_PCTRL 0x44 |
Definition at line 37 of file dma.c.
Definition at line 36 of file dma.c.
#define ltq_dma_r32 |
( |
|
x | ) |
ltq_r32(ltq_dma_membase + (x)) |
Definition at line 54 of file dma.c.
#define ltq_dma_w32 |
( |
|
x, |
|
|
|
y |
|
) |
| ltq_w32(x, ltq_dma_membase + (y)) |
Definition at line 55 of file dma.c.
#define ltq_dma_w32_mask |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Value:
Definition at line 56 of file dma.c.
Definition at line 86 of file dma.c.
Definition at line 74 of file dma.c.
Definition at line 62 of file dma.c.
Definition at line 98 of file dma.c.
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
dma_match |
|
|
) |
| |