aboutsummaryrefslogtreecommitdiff
path: root/include/usb/musb_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb/musb_dma.h')
-rw-r--r--include/usb/musb_dma.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/usb/musb_dma.h b/include/usb/musb_dma.h
new file mode 100644
index 0000000000..4d61df2249
--- /dev/null
+++ b/include/usb/musb_dma.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2009 Wind River Systems, Inc.
+ * Tom Rix <Tom.Rix@windriver.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+#ifndef __MUSB_DMA_H__
+#define __MUSB_DMA_H__
+
+
+int configure_dma_channel(u32 epnum, u16 packet_sz, u8 mode,
+ u32 dma_addr, u32 len, int tx);
+int wait_dma_xfer_done(void);
+#endif /* __MUSB_DMA_H__ */