linux/drivers/media/common/b2c2/flexcop-reg.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
 * flexcop-reg.h - register abstraction for FlexCopII, FlexCopIIb and FlexCopIII
 * see flexcop.c for copyright information
 */
#ifndef __FLEXCOP_REG_H__
#define __FLEXCOP_REG_H__

flexcop_revision_t;

flexcop_device_type_t;

flexcop_bus_t;

/* FlexCop IBI Registers */
#if defined(__LITTLE_ENDIAN)
#include "flexcop_ibi_value_le.h"
#else
#if defined(__BIG_ENDIAN)
#include "flexcop_ibi_value_be.h"
#else
#error no endian defined
#endif
#endif

#define fc_data_Tag_ID_DVB
#define fc_data_Tag_ID_ATSC
#define fc_data_Tag_ID_IDSB

#define fc_key_code_default
#define fc_key_code_even
#define fc_key_code_odd

extern flexcop_ibi_value ibi_zero;

flexcop_i2c_port_t;

flexcop_access_op_t;

flexcop_sram_dest_t;

flexcop_sram_dest_target_t;

flexcop_sram_type_t;

flexcop_wan_speed_t;

flexcop_dma_index_t;

flexcop_dma_addr_index_t;

/* names of the particular registers */
flexcop_ibi_register;

#define flexcop_set_ibi_value(reg,attr,val)

#endif