Thomas Gleixner | c942fdd | 2019-05-27 08:55:06 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Antoine Jacquet | 8466028 | 2008-08-11 13:12:19 -0300 | [diff] [blame] | 2 | /* |
| 3 | * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T |
| 4 | * |
| 5 | * Copyright (C) 2008 Antoine Jacquet <royale@zerezo.com> |
| 6 | * http://royale.zerezo.com/dtv5100/ |
Antoine Jacquet | 8466028 | 2008-08-11 13:12:19 -0300 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef _DVB_USB_DTV5100_H_ |
| 10 | #define _DVB_USB_DTV5100_H_ |
| 11 | |
| 12 | #define DVB_USB_LOG_PREFIX "dtv5100" |
| 13 | #include "dvb-usb.h" |
| 14 | |
| 15 | #define DTV5100_USB_TIMEOUT 500 |
Antoine Jacquet | 60688d5 | 2008-08-11 19:21:33 -0300 | [diff] [blame] | 16 | |
| 17 | #define DTV5100_DEMOD_ADDR 0x00 |
| 18 | #define DTV5100_DEMOD_WRITE 0xc0 |
| 19 | #define DTV5100_DEMOD_READ 0xc1 |
| 20 | |
| 21 | #define DTV5100_TUNER_ADDR 0xc4 |
| 22 | #define DTV5100_TUNER_WRITE 0xc7 |
| 23 | #define DTV5100_TUNER_READ 0xc8 |
Antoine Jacquet | 8466028 | 2008-08-11 13:12:19 -0300 | [diff] [blame] | 24 | |
| 25 | #define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/" |
| 26 | #define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T" |
| 27 | |
| 28 | static struct { |
| 29 | u8 request; |
| 30 | u8 value; |
| 31 | u16 index; |
| 32 | } dtv5100_init[] = { |
| 33 | { 0x000000c5, 0x00000000, 0x00000001 }, |
| 34 | { 0x000000c5, 0x00000001, 0x00000001 }, |
Antoine Jacquet | 8466028 | 2008-08-11 13:12:19 -0300 | [diff] [blame] | 35 | { } /* Terminating entry */ |
| 36 | }; |
| 37 | |
Antoine Jacquet | 8466028 | 2008-08-11 13:12:19 -0300 | [diff] [blame] | 38 | #endif |