linux/drivers/media/dvb-frontends/au8522_common.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    Auvitek AU8522 QAM/8VSB demodulator driver

    Copyright (C) 2008 Steven Toth <[email protected]>
    Copyright (C) 2008 Devin Heitmueller <[email protected]>
    Copyright (C) 2005-2008 Auvitek International, Ltd.
    Copyright (C) 2012 Michael Krufky <[email protected]>


*/

#include <linux/i2c.h>
#include <media/dvb_frontend.h>
#include "au8522_priv.h"

static int debug;

#define dprintk(arg...)

/* Despite the name "hybrid_tuner", the framework works just as well for
   hybrid demodulators as well... */
static LIST_HEAD(hybrid_tuner_instance_list);
static DEFINE_MUTEX(au8522_list_mutex);

/* 16 bit registers, 8 bit values */
int au8522_writereg(struct au8522_state *state, u16 reg, u8 data)
{}
EXPORT_SYMBOL();

u8 au8522_readreg(struct au8522_state *state, u16 reg)
{}
EXPORT_SYMBOL();

int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable)
{}
EXPORT_SYMBOL();

int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable)
{}
EXPORT_SYMBOL();

/* Reset the demod hardware and reset all of the configuration registers
   to a default state. */
int au8522_get_state(struct au8522_state **state, struct i2c_adapter *i2c,
		     u8 client_address)
{}
EXPORT_SYMBOL();

void au8522_release_state(struct au8522_state *state)
{}
EXPORT_SYMBOL();

static int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
{}

/* led = 0 | off
 * led = 1 | signal ok
 * led = 2 | signal strong
 * led < 0 | only light led if leds are currently off
 */
int au8522_led_ctrl(struct au8522_state *state, int led)
{}
EXPORT_SYMBOL();

int au8522_init(struct dvb_frontend *fe)
{}
EXPORT_SYMBOL();

int au8522_sleep(struct dvb_frontend *fe)
{}
EXPORT_SYMBOL();

module_param(debug, int, 0644);
MODULE_PARM_DESC();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();