#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/syscore_ops.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1xxx_dbdma.h>
Go to the source code of this file.
|
void * | au1xxx_ddma_get_nextptr_virt (au1x_ddma_desc_t *dp) |
|
| EXPORT_SYMBOL (au1xxx_ddma_get_nextptr_virt) |
|
u32 | au1xxx_ddma_add_device (dbdev_tab_t *dev) |
|
| EXPORT_SYMBOL (au1xxx_ddma_add_device) |
|
void | au1xxx_ddma_del_device (u32 devid) |
|
| EXPORT_SYMBOL (au1xxx_ddma_del_device) |
|
u32 | au1xxx_dbdma_chan_alloc (u32 srcid, u32 destid, void(*callback)(int, void *), void *callparam) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_chan_alloc) |
|
u32 | au1xxx_dbdma_set_devwidth (u32 chanid, int bits) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_set_devwidth) |
|
u32 | au1xxx_dbdma_ring_alloc (u32 chanid, int entries) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_ring_alloc) |
|
u32 | au1xxx_dbdma_put_source (u32 chanid, dma_addr_t buf, int nbytes, u32 flags) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_put_source) |
|
u32 | au1xxx_dbdma_put_dest (u32 chanid, dma_addr_t buf, int nbytes, u32 flags) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_put_dest) |
|
u32 | au1xxx_dbdma_get_dest (u32 chanid, void **buf, int *nbytes) |
|
| EXPORT_SYMBOL_GPL (au1xxx_dbdma_get_dest) |
|
void | au1xxx_dbdma_stop (u32 chanid) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_stop) |
|
void | au1xxx_dbdma_start (u32 chanid) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_start) |
|
void | au1xxx_dbdma_reset (u32 chanid) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_reset) |
|
u32 | au1xxx_get_dma_residue (u32 chanid) |
|
| EXPORT_SYMBOL_GPL (au1xxx_get_dma_residue) |
|
void | au1xxx_dbdma_chan_free (u32 chanid) |
|
| EXPORT_SYMBOL (au1xxx_dbdma_chan_free) |
|
void | au1xxx_dbdma_dump (u32 chanid) |
|
u32 | au1xxx_dbdma_put_dscr (u32 chanid, au1x_ddma_desc_t *dscr) |
|
| subsys_initcall (alchemy_dbdma_init) |
|
#define ALIGN_ADDR |
( |
|
x, |
|
|
|
a |
|
) |
| ((((u32)(x)) + (a-1)) & ~(a-1)) |
#define DBDEV_TAB_SIZE 64 |
void au1xxx_dbdma_chan_free |
( |
u32 |
chanid | ) |
|
void au1xxx_dbdma_dump |
( |
u32 |
chanid | ) |
|
u32 au1xxx_dbdma_get_dest |
( |
u32 |
chanid, |
|
|
void ** |
buf, |
|
|
int * |
nbytes |
|
) |
| |
void au1xxx_dbdma_reset |
( |
u32 |
chanid | ) |
|
u32 au1xxx_dbdma_ring_alloc |
( |
u32 |
chanid, |
|
|
int |
entries |
|
) |
| |
u32 au1xxx_dbdma_set_devwidth |
( |
u32 |
chanid, |
|
|
int |
bits |
|
) |
| |
void au1xxx_dbdma_start |
( |
u32 |
chanid | ) |
|
void au1xxx_dbdma_stop |
( |
u32 |
chanid | ) |
|
void au1xxx_ddma_del_device |
( |
u32 |
devid | ) |
|
u32 au1xxx_get_dma_residue |
( |
u32 |
chanid | ) |
|
subsys_initcall |
( |
alchemy_dbdma_init |
| ) |
|