1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14 
15 #ifndef __ISYS_DMA_PUBLIC_H_INCLUDED__
16 #define __ISYS_DMA_PUBLIC_H_INCLUDED__
17 
18 #ifdef USE_INPUT_SYSTEM_VERSION_2401
19 
20 #include "system_local.h"
21 #include "type_support.h"
22 
23 STORAGE_CLASS_ISYS2401_DMA_H void isys2401_dma_reg_store(
24     const isys2401_dma_ID_t dma_id,
25     const unsigned int	reg,
26     const hrt_data		value);
27 
28 STORAGE_CLASS_ISYS2401_DMA_H hrt_data isys2401_dma_reg_load(
29     const isys2401_dma_ID_t dma_id,
30     const unsigned int	reg);
31 
32 void isys2401_dma_set_max_burst_size(
33     const isys2401_dma_ID_t dma_id,
34     uint32_t		max_burst_size);
35 
36 #endif /* USE_INPUT_SYSTEM_VERSION_2401 */
37 
38 #endif /* __ISYS_DMA_PUBLIC_H_INCLUDED__ */
39