1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Abilis Systems Single DVB-T Receiver
4 * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
5 * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com>
6 */
7#ifndef _AS102_USB_DRV_H_
8#define _AS102_USB_DRV_H_
9
10#define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1
11#define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2
12
13/* define these values to match the supported devices */
14
15/* Abilis system: "TITAN" */
16#define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan"
17#define AS102_USB_DEVICE_VENDOR_ID 0x1BA6
18#define AS102_USB_DEVICE_PID_0001 0x0001
19
20/* PCTV Systems: PCTV picoStick (74e) */
21#define AS102_PCTV_74E "PCTV Systems picoStick (74e)"
22#define PCTV_74E_USB_VID 0x2013
23#define PCTV_74E_USB_PID 0x0246
24
25/* Elgato: EyeTV DTT Deluxe */
26#define AS102_ELGATO_EYETV_DTT_NAME "Elgato EyeTV DTT Deluxe"
27#define ELGATO_EYETV_DTT_USB_VID 0x0fd9
28#define ELGATO_EYETV_DTT_USB_PID 0x002c
29
30/* nBox: nBox DVB-T Dongle */
31#define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle"
32#define NBOX_DVBT_DONGLE_USB_VID 0x0b89
33#define NBOX_DVBT_DONGLE_USB_PID 0x0007
34
35/* Sky Italia: Digital Key (green led) */
36#define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)"
37#define SKY_IT_DIGITAL_KEY_USB_VID 0x2137
38#define SKY_IT_DIGITAL_KEY_USB_PID 0x0001
39
40void as102_urb_stream_irq(struct urb *urb);
41
42struct as10x_usb_token_cmd_t {
43 /* token cmd */
44 struct as10x_cmd_t c;
45 /* token response */
46 struct as10x_cmd_t r;
47};
48#endif
49

source code of linux/drivers/media/usb/as102/as102_usb_drv.h