19d4fa1a1SMauro Carvalho Chehab /* 29d4fa1a1SMauro Carvalho Chehab * Support for Intel Camera Imaging ISP subsystem. 39d4fa1a1SMauro Carvalho Chehab * Copyright (c) 2015, Intel Corporation. 49d4fa1a1SMauro Carvalho Chehab * 59d4fa1a1SMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify it 69d4fa1a1SMauro Carvalho Chehab * under the terms and conditions of the GNU General Public License, 79d4fa1a1SMauro Carvalho Chehab * version 2, as published by the Free Software Foundation. 89d4fa1a1SMauro Carvalho Chehab * 99d4fa1a1SMauro Carvalho Chehab * This program is distributed in the hope it will be useful, but WITHOUT 109d4fa1a1SMauro Carvalho Chehab * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 119d4fa1a1SMauro Carvalho Chehab * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 129d4fa1a1SMauro Carvalho Chehab * more details. 139d4fa1a1SMauro Carvalho Chehab */ 149d4fa1a1SMauro Carvalho Chehab 159d4fa1a1SMauro Carvalho Chehab #ifndef __TIMED_CTRL_PUBLIC_H_INCLUDED__ 169d4fa1a1SMauro Carvalho Chehab #define __TIMED_CTRL_PUBLIC_H_INCLUDED__ 179d4fa1a1SMauro Carvalho Chehab 18f90e73ceSMauro Carvalho Chehab #include "system_local.h" 199d4fa1a1SMauro Carvalho Chehab 209d4fa1a1SMauro Carvalho Chehab /*! Write to a control register of TIMED_CTRL[ID] 219d4fa1a1SMauro Carvalho Chehab 229d4fa1a1SMauro Carvalho Chehab \param ID[in] TIMED_CTRL identifier 239d4fa1a1SMauro Carvalho Chehab \param reg_addr[in] register byte address 249d4fa1a1SMauro Carvalho Chehab \param value[in] The data to be written 259d4fa1a1SMauro Carvalho Chehab 269d4fa1a1SMauro Carvalho Chehab \return none, TIMED_CTRL[ID].ctrl[reg] = value 279d4fa1a1SMauro Carvalho Chehab */ 289d4fa1a1SMauro Carvalho Chehab STORAGE_CLASS_TIMED_CTRL_H void timed_ctrl_reg_store( 299d4fa1a1SMauro Carvalho Chehab const timed_ctrl_ID_t ID, 309d4fa1a1SMauro Carvalho Chehab const unsigned int reg_addr, 319d4fa1a1SMauro Carvalho Chehab const hrt_data value); 329d4fa1a1SMauro Carvalho Chehab 339d4fa1a1SMauro Carvalho Chehab void timed_ctrl_snd_commnd( 349d4fa1a1SMauro Carvalho Chehab const timed_ctrl_ID_t ID, 359d4fa1a1SMauro Carvalho Chehab hrt_data mask, 369d4fa1a1SMauro Carvalho Chehab hrt_data condition, 379d4fa1a1SMauro Carvalho Chehab hrt_data counter, 389d4fa1a1SMauro Carvalho Chehab hrt_address addr, 399d4fa1a1SMauro Carvalho Chehab hrt_data value); 409d4fa1a1SMauro Carvalho Chehab 419d4fa1a1SMauro Carvalho Chehab void timed_ctrl_snd_sp_commnd( 429d4fa1a1SMauro Carvalho Chehab const timed_ctrl_ID_t ID, 439d4fa1a1SMauro Carvalho Chehab hrt_data mask, 449d4fa1a1SMauro Carvalho Chehab hrt_data condition, 459d4fa1a1SMauro Carvalho Chehab hrt_data counter, 469d4fa1a1SMauro Carvalho Chehab const sp_ID_t SP_ID, 479d4fa1a1SMauro Carvalho Chehab hrt_address offset, 489d4fa1a1SMauro Carvalho Chehab hrt_data value); 499d4fa1a1SMauro Carvalho Chehab 509d4fa1a1SMauro Carvalho Chehab void timed_ctrl_snd_gpio_commnd( 519d4fa1a1SMauro Carvalho Chehab const timed_ctrl_ID_t ID, 529d4fa1a1SMauro Carvalho Chehab hrt_data mask, 539d4fa1a1SMauro Carvalho Chehab hrt_data condition, 549d4fa1a1SMauro Carvalho Chehab hrt_data counter, 559d4fa1a1SMauro Carvalho Chehab const gpio_ID_t GPIO_ID, 569d4fa1a1SMauro Carvalho Chehab hrt_address offset, 579d4fa1a1SMauro Carvalho Chehab hrt_data value); 589d4fa1a1SMauro Carvalho Chehab 599d4fa1a1SMauro Carvalho Chehab #endif /* __TIMED_CTRL_PUBLIC_H_INCLUDED__ */ 60