diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-30 08:09:38 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-31 17:26:27 +0100 |
commit | 1b93e3c6e5e57dff7a72e311649d6b6898315763 (patch) | |
tree | e66379f7c80849596e5eb03b46d963f1bc00a86a | |
parent | 25d892b4b84a38a500a2213f04ed98f8b5d0f091 (diff) |
include: usb: musb_dma: RDA support
-rw-r--r-- | include/usb/musb_dma.h | 27 |
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__ */ |