linuxOS_D21X/source/linux-5.10/drivers/dma/artinchip-dma.h
2024-11-29 16:13:46 +08:00

17 lines
435 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Definitions for the ArtInChip DDMA
*
* Copyright (C) 2023 ArtInChip Technology Co., Ltd.
* Authors: matteo <duanmt@artinchip.com>
*/
#ifndef __ARTINCHIP_DMA_H
#define __ARTINCHIP_DMA_H
struct dma_chan *aic_ddma_request_chan(struct device *dev, u32 port);
int aic_ddma_transfer(struct dma_chan *chan);
void aic_ddma_release_chan(struct dma_chan *chan);
#endif /* __ARTINCHIP_DMA_H */