Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / media / usb / dvb-usb / dtv5100.h
blobdb61fc381b177c1f4834f562bcb801ec0fe9fd36
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T
5 * Copyright (C) 2008 Antoine Jacquet <royale@zerezo.com>
6 * http://royale.zerezo.com/dtv5100/
7 */
9 #ifndef _DVB_USB_DTV5100_H_
10 #define _DVB_USB_DTV5100_H_
12 #define DVB_USB_LOG_PREFIX "dtv5100"
13 #include "dvb-usb.h"
15 #define DTV5100_USB_TIMEOUT 500
17 #define DTV5100_DEMOD_ADDR 0x00
18 #define DTV5100_DEMOD_WRITE 0xc0
19 #define DTV5100_DEMOD_READ 0xc1
21 #define DTV5100_TUNER_ADDR 0xc4
22 #define DTV5100_TUNER_WRITE 0xc7
23 #define DTV5100_TUNER_READ 0xc8
25 #define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/"
26 #define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T"
28 static struct {
29 u8 request;
30 u8 value;
31 u16 index;
32 } dtv5100_init[] = {
33 { 0x000000c5, 0x00000000, 0x00000001 },
34 { 0x000000c5, 0x00000001, 0x00000001 },
35 { } /* Terminating entry */
38 #endif