/* * 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 _IA_CSS_DEVICE_ACCESS_H #define _IA_CSS_DEVICE_ACCESS_H /* @file * File containing internal functions for the CSS-API to access the CSS device. */ #include /* for uint*, size_t */ #include /* for hrt_address */ #include /* for ia_css_hw_access_env */ void ia_css_device_access_init(const struct ia_css_hw_access_env *env); uint8_t ia_css_device_load_uint8(const hrt_address addr); uint16_t ia_css_device_load_uint16(const hrt_address addr); uint32_t ia_css_device_load_uint32(const hrt_address addr); uint64_t ia_css_device_load_uint64(const hrt_address addr); void ia_css_device_store_uint8(const hrt_address addr, const uint8_t data); void ia_css_device_store_uint16(const hrt_address addr, const uint16_t data); void ia_css_device_store_uint32(const hrt_address addr, const uint32_t data); void ia_css_device_store_uint64(const hrt_address addr, const uint64_t data); void ia_css_device_load(const hrt_address addr, void *data, const size_t size); void ia_css_device_store(const hrt_address addr, const void *data, const size_t size); #endif /* _IA_CSS_DEVICE_ACCESS_H */