/* SPDX-License-Identifier: GPL-2.0 */ /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope 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. */ #ifndef __ISYS_DMA_GLOBAL_H_INCLUDED__ #define __ISYS_DMA_GLOBAL_H_INCLUDED__ #include <type_support.h> #define HIVE_ISYS2401_DMA_IBUF_DDR_CONN … #define HIVE_ISYS2401_DMA_IBUF_VMEM_CONN … #define _DMA_V2_ZERO_EXTEND … #define _DMA_V2_SIGN_EXTEND … #define _DMA_ZERO_EXTEND … #define _DMA_SIGN_EXTEND … /******************************************************** * * DMA Port. * * The DMA port definition for the input system * 2401 DMA is the duplication of the DMA port * definition for the CSS system DMA. It is duplicated * here just as the temporal step before the device library * is available. The device library is suppose to provide * the capability of reusing the control interface of the * same device prototypes. The refactor team will work on * this, right? * ********************************************************/ isys2401_dma_port_cfg_t; struct isys2401_dma_port_cfg_s { … }; /* end of DMA Port */ /************************************************ * * DMA Device. * * The DMA device definition for the input system * 2401 DMA is the duplicattion of the DMA device * definition for the CSS system DMA. It is duplicated * here just as the temporal step before the device library * is available. The device library is suppose to provide * the capability of reusing the control interface of the * same device prototypes. The refactor team will work on * this, right? * ************************************************/ isys2401_dma_connection; isys2401_dma_extension; isys2401_dma_cfg_t; struct isys2401_dma_cfg_s { … }; /* end of DMA Device */ /* isys2401_dma_channel limits per DMA ID */ extern const isys2401_dma_channel N_ISYS2401_DMA_CHANNEL_PROCS[N_ISYS2401_DMA_ID]; #endif /* __ISYS_DMA_GLOBAL_H_INCLUDED__ */