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