Path: blob/master/drivers/media/dvb/dvb-usb/dtv5100.h
15112 views
/*1* DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T2*3* Copyright (C) 2008 Antoine Jacquet <[email protected]>4* http://royale.zerezo.com/dtv5100/5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2 of the License, or9* (at your option) any later version.10*11* This program is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14* GNU General Public License for more details.15*16* You should have received a copy of the GNU General Public License17* along with this program; if not, write to the Free Software18* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA19*/2021#ifndef _DVB_USB_DTV5100_H_22#define _DVB_USB_DTV5100_H_2324#define DVB_USB_LOG_PREFIX "dtv5100"25#include "dvb-usb.h"2627#define DTV5100_USB_TIMEOUT 5002829#define DTV5100_DEMOD_ADDR 0x0030#define DTV5100_DEMOD_WRITE 0xc031#define DTV5100_DEMOD_READ 0xc13233#define DTV5100_TUNER_ADDR 0xc434#define DTV5100_TUNER_WRITE 0xc735#define DTV5100_TUNER_READ 0xc83637#define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/"38#define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T"3940static struct {41u8 request;42u8 value;43u16 index;44} dtv5100_init[] = {45{ 0x000000c5, 0x00000000, 0x00000001 },46{ 0x000000c5, 0x00000001, 0x00000001 },47{ } /* Terminating entry */48};4950#endif515253