linux/drivers/media/pci/ttpci/budget.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * budget.ko: driver for the SAA7146 based Budget DVB cards
 *            without analog video input or CI
 *
 * Compiled from various sources by Michael Hunold <[email protected]>
 *
 * Copyright (C) 2002 Ralph Metzler <[email protected]>
 *
 * Copyright (C) 1999-2002 Ralph  Metzler
 *                       & Marcus Metzler for convergence integrated media GmbH
 *
 * 26feb2004 Support for FS Activy Card (Grundig tuner) by
 *           Michael Dreher <[email protected]>,
 *           Oliver Endriss <[email protected]> and
 *           Andreas 'randy' Weinberger
 *
 * the project's page is at https://linuxtv.org
 */

#include "budget.h"
#include "stv0299.h"
#include "ves1x93.h"
#include "ves1820.h"
#include "l64781.h"
#include "tda8083.h"
#include "s5h1420.h"
#include "tda10086.h"
#include "tda826x.h"
#include "lnbp21.h"
#include "bsru6.h"
#include "bsbe1.h"
#include "tdhd1.h"
#include "stv6110x.h"
#include "stv090x.h"
#include "isl6423.h"
#include "lnbh24.h"


static int diseqc_method;
module_param(diseqc_method, int, 0444);
MODULE_PARM_DESC();

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

static void Set22K(struct budget *budget, int state)
{}

/*
 * Diseqc functions only for TT Budget card
 * taken from the Skyvision DVB driver by
 * Ralph Metzler <[email protected]>
 */

static void DiseqcSendBit(struct budget *budget, int data)
{}

static void DiseqcSendByte(struct budget *budget, int data)
{}

static int SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst)
{}

/*
 *   Routines for the Fujitsu Siemens Activy budget card
 *   22 kHz tone and DiSEqC are handled by the frontend.
 *   Voltage must be set here.
 *   GPIO 1: LNBP EN, GPIO 2: LNBP VSEL
 */
static int SetVoltage_Activy(struct budget *budget,
			     enum fe_sec_voltage voltage)
{}

static int siemens_budget_set_voltage(struct dvb_frontend *fe,
				      enum fe_sec_voltage voltage)
{}

static int budget_set_tone(struct dvb_frontend *fe,
			   enum fe_sec_tone_mode tone)
{}

static int budget_diseqc_send_master_cmd(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd)
{}

static int budget_diseqc_send_burst(struct dvb_frontend *fe,
				    enum fe_sec_mini_cmd minicmd)
{}

static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe)
{}

static struct ves1x93_config alps_bsrv2_config =;

static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe)
{}

static struct ves1820_config alps_tdbe2_config =;

static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe)
{}

static struct l64781_config grundig_29504_401_config =;

static struct l64781_config grundig_29504_401_config_activy =;

static u8 tuner_address_grundig_29504_401_activy =;

static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe)
{}

static struct tda8083_config grundig_29504_451_config =;

static int s5h1420_tuner_set_params(struct dvb_frontend *fe)
{}

static struct s5h1420_config s5h1420_config =;

static struct tda10086_config tda10086_config =;

static const struct stv0299_config alps_bsru6_config_activy =;

static const struct stv0299_config alps_bsbe1_config_activy =;

static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe, const struct firmware **fw, char *name)
{}


static int i2c_readreg(struct i2c_adapter *i2c, u8 adr, u8 reg)
{}

static u8 read_pwm(struct budget *budget)
{}

static struct stv090x_config tt1600_stv090x_config =;

static struct stv6110x_config tt1600_stv6110x_config =;

static struct isl6423_config tt1600_isl6423_config =;

static void frontend_init(struct budget *budget)
{}

static int budget_attach(struct saa7146_dev *dev, struct saa7146_pci_extension_data *info)
{}

static int budget_detach(struct saa7146_dev *dev)
{}

static struct saa7146_extension budget_extension;

MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();
MAKE_BUDGET_INFO();

static const struct pci_device_id pci_tbl[] =;

MODULE_DEVICE_TABLE(pci, pci_tbl);

static struct saa7146_extension budget_extension =;

static int __init budget_init(void)
{}

static void __exit budget_exit(void)
{}

module_init();
module_exit(budget_exit);

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