linux/drivers/media/tuners/si2157.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Silicon Labs Si2146/2147/2148/2157/2158 silicon tuner driver
 *
 * Copyright (C) 2014 Antti Palosaari <[email protected]>
 */

#include "si2157_priv.h"

static const struct dvb_tuner_ops si2157_ops;

static int tuner_lock_debug;
module_param(tuner_lock_debug, int, 0644);
MODULE_PARM_DESC();

/* execute firmware command */
static int si2157_cmd_execute(struct i2c_client *client, struct si2157_cmd *cmd)
{}

static const struct si2157_tuner_info si2157_tuners[] =;

static int si2157_load_firmware(struct dvb_frontend *fe,
				const char *fw_name)
{}

static int si2157_find_and_load_firmware(struct dvb_frontend *fe)
{}

static int si2157_init(struct dvb_frontend *fe)
{}

static int si2157_sleep(struct dvb_frontend *fe)
{}

static int si2157_tune_wait(struct i2c_client *client, u8 is_digital)
{}

static int si2157_set_params(struct dvb_frontend *fe)
{}

static int si2157_set_analog_params(struct dvb_frontend *fe,
				    struct analog_parameters *params)
{}

static int si2157_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{}

static int si2157_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{}

static int si2157_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
{}

static int si2157_get_rf_strength(struct dvb_frontend *fe, u16 *rssi)
{}

static const struct dvb_tuner_ops si2157_ops =;

static void si2157_stat_work(struct work_struct *work)
{}

static int si2157_probe(struct i2c_client *client)
{}

static void si2157_remove(struct i2c_client *client)
{}

/*
 * The part_id used here will only be used on buggy devices that don't
 * accept firmware uploads. Non-buggy devices should just use "si2157" for
 * all SiLabs TER tuners, as the driver should auto-detect it.
 */
static const struct i2c_device_id si2157_id_table[] =;
MODULE_DEVICE_TABLE(i2c, si2157_id_table);

static struct i2c_driver si2157_driver =;

module_i2c_driver();

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