blob: 55d8702383991464eb868262d724e1373218df75 [file] [log] [blame]
Shawn Guoa580b8c2011-02-27 00:47:42 +08001/*
2 * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef __MACH_MXS_DMA_H__
10#define __MACH_MXS_DMA_H__
11
Dong Aishengd3144df2011-07-13 11:40:54 +080012#include <linux/dmaengine.h>
13
Shawn Guoa580b8c2011-02-27 00:47:42 +080014struct mxs_dma_data {
15 int chan_irq;
16};
17
Shawn Guo8c920132012-05-10 06:23:26 +080018extern int mxs_dma_is_apbh(struct dma_chan *chan);
19extern int mxs_dma_is_apbx(struct dma_chan *chan);
Shawn Guoa580b8c2011-02-27 00:47:42 +080020#endif /* __MACH_MXS_DMA_H__ */