linux/drivers/staging/media/atomisp/pci/input_formatter_subsystem_defs.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * 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 _if_subsystem_defs_h__
#define _if_subsystem_defs_h__

#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_0
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_1
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_2
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_3
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_4
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_5
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_6
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_7
#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_FSYNC_LUT_REG
#define HIVE_IFMT_GP_REGS_SRST_IDX
#define HIVE_IFMT_GP_REGS_SLV_REG_SRST_IDX

#define HIVE_IFMT_GP_REGS_CH_ID_FMT_TYPE_IDX

#define HIVE_IFMT_GP_REGS_INPUT_SWITCH_LUT_REG_BASE

/* order of the input bits for the ifmt irq controller */
#define HIVE_IFMT_IRQ_IFT_PRIM_BIT_ID
#define HIVE_IFMT_IRQ_IFT_PRIM_B_BIT_ID
#define HIVE_IFMT_IRQ_IFT_SEC_BIT_ID
#define HIVE_IFMT_IRQ_MEM_CPY_BIT_ID
#define HIVE_IFMT_IRQ_SIDEBAND_CHANGED_BIT_ID

/* order of the input bits for the ifmt Soft reset register */
#define HIVE_IFMT_GP_REGS_SRST_IFT_PRIM_BIT_IDX
#define HIVE_IFMT_GP_REGS_SRST_IFT_PRIM_B_BIT_IDX
#define HIVE_IFMT_GP_REGS_SRST_IFT_SEC_BIT_IDX
#define HIVE_IFMT_GP_REGS_SRST_MEM_CPY_BIT_IDX

/* order of the input bits for the ifmt Soft reset register */
#define HIVE_IFMT_GP_REGS_SLV_REG_SRST_IFT_PRIM_BIT_IDX
#define HIVE_IFMT_GP_REGS_SLV_REG_SRST_IFT_PRIM_B_BIT_IDX
#define HIVE_IFMT_GP_REGS_SLV_REG_SRST_IFT_SEC_BIT_IDX
#define HIVE_IFMT_GP_REGS_SLV_REG_SRST_MEM_CPY_BIT_IDX

#endif /* _if_subsystem_defs_h__ */