Path: blob/master/drivers/media/dvb/ttusb-dec/ttusbdecfe.h
15115 views
/*1* TTUSB DEC Driver2*3* Copyright (C) 2003-2004 Alex Woods <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18*19*/2021#ifndef TTUSBDECFE_H22#define TTUSBDECFE_H2324#include <linux/dvb/frontend.h>2526struct ttusbdecfe_config27{28int (*send_command)(struct dvb_frontend* fe, const u8 command,29int param_length, const u8 params[],30int *result_length, u8 cmd_result[]);31};3233extern struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* config);3435extern struct dvb_frontend* ttusbdecfe_dvbt_attach(const struct ttusbdecfe_config* config);3637#endif // TTUSBDECFE_H383940