linux/drivers/media/dvb-frontends/sp2_priv.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * CIMaX SP2/HF CI driver
 *
 * Copyright (C) 2014 Olli Salonen <[email protected]>
 */

#ifndef SP2_PRIV_H
#define SP2_PRIV_H

#include "sp2.h"
#include <media/dvb_frontend.h>

/* state struct */
struct sp2 {};

#define SP2_CI_ATTR_ACS
#define SP2_CI_IO_ACS
#define SP2_CI_WR
#define SP2_CI_RD

/* Module control register (0x00 module A, 0x09 module B) bits */
#define SP2_MOD_CTL_DET
#define SP2_MOD_CTL_AUTO
#define SP2_MOD_CTL_ACS0
#define SP2_MOD_CTL_ACS1
#define SP2_MOD_CTL_HAD
#define SP2_MOD_CTL_TSIEN
#define SP2_MOD_CTL_TSOEN
#define SP2_MOD_CTL_RST

#endif