|
@@ -339,8 +339,8 @@ u32 au1xxx_dbdma_set_devwidth(u32 chanid, int bits);
|
|
|
u32 au1xxx_dbdma_ring_alloc(u32 chanid, int entries);
|
|
|
|
|
|
/* Put buffers on source/destination descriptors. */
|
|
|
-u32 _au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags);
|
|
|
-u32 _au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags);
|
|
|
+u32 au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags);
|
|
|
+u32 au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags);
|
|
|
|
|
|
/* Get a buffer from the destination descriptor. */
|
|
|
u32 au1xxx_dbdma_get_dest(u32 chanid, void **buf, int *nbytes);
|
|
@@ -363,25 +363,6 @@ void au1xxx_dbdma_suspend(void);
|
|
|
void au1xxx_dbdma_resume(void);
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
-/*
|
|
|
- * Some compatibilty macros -- needed to make changes to API
|
|
|
- * without breaking existing drivers.
|
|
|
- */
|
|
|
-#define au1xxx_dbdma_put_source(chanid, buf, nbytes) \
|
|
|
- _au1xxx_dbdma_put_source(chanid, buf, nbytes, DDMA_FLAGS_IE)
|
|
|
-#define au1xxx_dbdma_put_source_flags(chanid, buf, nbytes, flags) \
|
|
|
- _au1xxx_dbdma_put_source(chanid, buf, nbytes, flags)
|
|
|
-#define put_source_flags(chanid, buf, nbytes, flags) \
|
|
|
- au1xxx_dbdma_put_source_flags(chanid, buf, nbytes, flags)
|
|
|
-
|
|
|
-#define au1xxx_dbdma_put_dest(chanid, buf, nbytes) \
|
|
|
- _au1xxx_dbdma_put_dest(chanid, buf, nbytes, DDMA_FLAGS_IE)
|
|
|
-#define au1xxx_dbdma_put_dest_flags(chanid, buf, nbytes, flags) \
|
|
|
- _au1xxx_dbdma_put_dest(chanid, buf, nbytes, flags)
|
|
|
-#define put_dest_flags(chanid, buf, nbytes, flags) \
|
|
|
- au1xxx_dbdma_put_dest_flags(chanid, buf, nbytes, flags)
|
|
|
-
|
|
|
/*
|
|
|
* Flags for the put_source/put_dest functions.
|
|
|
*/
|