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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
    Driver for ST STV0299 demodulator

    Copyright (C) 2001-2002 Convergence Integrated Media GmbH
	<[email protected]>,
	<[email protected]>,
	<[email protected]>


    Philips SU1278/SH

    Copyright (C) 2002 by Peter Schildmann <[email protected]>


    LG TDQF-S001F

    Copyright (C) 2002 Felix Domke <[email protected]>
		     & Andreas Oberritter <[email protected]>


    Support for Samsung TBMU24112IMB used on Technisat SkyStar2 rev. 2.6B

    Copyright (C) 2003 Vadim Catana <[email protected]>:

    Support for Philips SU1278 on Technotrend hardware

    Copyright (C) 2004 Andrew de Quincey <[email protected]>


*/

#ifndef STV0299_H
#define STV0299_H

#include <linux/dvb/frontend.h>
#include <media/dvb_frontend.h>

#define STV0299_LOCKOUTPUT_0
#define STV0299_LOCKOUTPUT_1
#define STV0299_LOCKOUTPUT_CF
#define STV0299_LOCKOUTPUT_LK

#define STV0299_VOLT13_OP0
#define STV0299_VOLT13_OP1

struct stv0299_config
{};

#if IS_REACHABLE(CONFIG_DVB_STV0299)
extern struct dvb_frontend *stv0299_attach(const struct stv0299_config *config,
					   struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *stv0299_attach(const struct stv0299_config *config,
					   struct i2c_adapter *i2c)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}
#endif // CONFIG_DVB_STV0299

static inline int stv0299_writereg(struct dvb_frontend *fe, u8 reg, u8 val) {}

#endif // STV0299_H