Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T
0004  *
0005  * Copyright (C) 2008  Antoine Jacquet <royale@zerezo.com>
0006  * http://royale.zerezo.com/dtv5100/
0007  */
0008 
0009 #ifndef _DVB_USB_DTV5100_H_
0010 #define _DVB_USB_DTV5100_H_
0011 
0012 #define DVB_USB_LOG_PREFIX "dtv5100"
0013 #include "dvb-usb.h"
0014 
0015 #define DTV5100_USB_TIMEOUT 500
0016 
0017 #define DTV5100_DEMOD_ADDR  0x00
0018 #define DTV5100_DEMOD_WRITE 0xc0
0019 #define DTV5100_DEMOD_READ  0xc1
0020 
0021 #define DTV5100_TUNER_ADDR  0xc4
0022 #define DTV5100_TUNER_WRITE 0xc7
0023 #define DTV5100_TUNER_READ  0xc8
0024 
0025 #define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/"
0026 #define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T"
0027 
0028 static struct {
0029     u8 request;
0030     u8 value;
0031     u16 index;
0032 } dtv5100_init[] = {
0033     { 0x000000c5, 0x00000000, 0x00000001 },
0034     { 0x000000c5, 0x00000001, 0x00000001 },
0035     { }     /* Terminating entry */
0036 };
0037 
0038 #endif