// SPDX-License-Identifier: GPL-2.0 /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2010 - 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. */ #include "system_global.h" #include "assert_support.h" #include "platform_support.h" #include "ia_css_isys.h" #include "bitop_support.h" #include "isys_dma_rmgr.h" static isys_dma_rsrc_t isys_dma_rsrc[N_ISYS2401_DMA_ID]; void ia_css_isys_dma_channel_rmgr_init(void) { … } void ia_css_isys_dma_channel_rmgr_uninit(void) { … } bool ia_css_isys_dma_channel_rmgr_acquire( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) { … } void ia_css_isys_dma_channel_rmgr_release( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) { … }