1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef __TIMED_CTRL_PUBLIC_H_INCLUDED__ 8 #define __TIMED_CTRL_PUBLIC_H_INCLUDED__ 9 10 #include "system_local.h" 11 12 /*! Write to a control register of TIMED_CTRL[ID] 13 14 \param ID[in] TIMED_CTRL identifier 15 \param reg_addr[in] register byte address 16 \param value[in] The data to be written 17 18 \return none, TIMED_CTRL[ID].ctrl[reg] = value 19 */ 20 STORAGE_CLASS_TIMED_CTRL_H void timed_ctrl_reg_store( 21 const timed_ctrl_ID_t ID, 22 const unsigned int reg_addr, 23 const hrt_data value); 24 25 void timed_ctrl_snd_commnd( 26 const timed_ctrl_ID_t ID, 27 hrt_data mask, 28 hrt_data condition, 29 hrt_data counter, 30 hrt_address addr, 31 hrt_data value); 32 33 void timed_ctrl_snd_sp_commnd( 34 const timed_ctrl_ID_t ID, 35 hrt_data mask, 36 hrt_data condition, 37 hrt_data counter, 38 const sp_ID_t SP_ID, 39 hrt_address offset, 40 hrt_data value); 41 42 void timed_ctrl_snd_gpio_commnd( 43 const timed_ctrl_ID_t ID, 44 hrt_data mask, 45 hrt_data condition, 46 hrt_data counter, 47 const gpio_ID_t GPIO_ID, 48 hrt_address offset, 49 hrt_data value); 50 51 #endif /* __TIMED_CTRL_PUBLIC_H_INCLUDED__ */ 52