/* SPDX-License-Identifier: GPL-2.0+ */ /* * Renesas SuperH DMA Engine support * * Copyright (C) 2009 Nobuhiro Iwamatsu <[email protected]> * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. * */ #ifndef __DMA_SHDMA_H #define __DMA_SHDMA_H #include <linux/sh_dma.h> #include <linux/shdma-base.h> #include <linux/dmaengine.h> #include <linux/interrupt.h> #include <linux/list.h> #define SH_DMAE_MAX_CHANNELS … #define SH_DMAE_TCR_MAX … struct device; struct sh_dmae_chan { … }; struct sh_dmae_device { … }; struct sh_dmae_regs { … }; struct sh_dmae_desc { … }; #define to_sh_chan(chan) … #define to_sh_desc(lh) … #define tx_to_sh_desc(tx) … #define to_sh_dev(chan) … #endif /* __DMA_SHDMA_H */