2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __ISYS_DMA_PUBLIC_H_INCLUDED__
16 #define __ISYS_DMA_PUBLIC_H_INCLUDED__
18 #ifdef USE_INPUT_SYSTEM_VERSION_2401
20 #include "system_types.h"
21 #include "type_support.h"
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);
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);
32 extern void isys2401_dma_set_max_burst_size(
33 const isys2401_dma_ID_t dma_id,
34 uint32_t max_burst_size);
36 #endif /* USE_INPUT_SYSTEM_VERSION_2401 */
38 #endif /* __ISYS_DMA_PUBLIC_H_INCLUDED__ */