Path: blob/master/arch/arm/mach-mxs/include/mach/dma.h
10820 views
/*1* Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.2*3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU General Public License version 2 as5* published by the Free Software Foundation.6*/78#ifndef __MACH_MXS_DMA_H__9#define __MACH_MXS_DMA_H__1011struct mxs_dma_data {12int chan_irq;13};1415static inline int mxs_dma_is_apbh(struct dma_chan *chan)16{17return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbh");18}1920static inline int mxs_dma_is_apbx(struct dma_chan *chan)21{22return !strcmp(dev_name(chan->device->dev), "mxs-dma-apbx");23}2425#endif /* __MACH_MXS_DMA_H__ */262728