18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Abilis Systems Single DVB-T Receiver 48c2ecf20Sopenharmony_ci * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com> 58c2ecf20Sopenharmony_ci * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#ifndef _AS102_USB_DRV_H_ 88c2ecf20Sopenharmony_ci#define _AS102_USB_DRV_H_ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1 118c2ecf20Sopenharmony_ci#define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* define these values to match the supported devices */ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci/* Abilis system: "TITAN" */ 168c2ecf20Sopenharmony_ci#define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan" 178c2ecf20Sopenharmony_ci#define AS102_USB_DEVICE_VENDOR_ID 0x1BA6 188c2ecf20Sopenharmony_ci#define AS102_USB_DEVICE_PID_0001 0x0001 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci/* PCTV Systems: PCTV picoStick (74e) */ 218c2ecf20Sopenharmony_ci#define AS102_PCTV_74E "PCTV Systems picoStick (74e)" 228c2ecf20Sopenharmony_ci#define PCTV_74E_USB_VID 0x2013 238c2ecf20Sopenharmony_ci#define PCTV_74E_USB_PID 0x0246 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci/* Elgato: EyeTV DTT Deluxe */ 268c2ecf20Sopenharmony_ci#define AS102_ELGATO_EYETV_DTT_NAME "Elgato EyeTV DTT Deluxe" 278c2ecf20Sopenharmony_ci#define ELGATO_EYETV_DTT_USB_VID 0x0fd9 288c2ecf20Sopenharmony_ci#define ELGATO_EYETV_DTT_USB_PID 0x002c 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci/* nBox: nBox DVB-T Dongle */ 318c2ecf20Sopenharmony_ci#define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle" 328c2ecf20Sopenharmony_ci#define NBOX_DVBT_DONGLE_USB_VID 0x0b89 338c2ecf20Sopenharmony_ci#define NBOX_DVBT_DONGLE_USB_PID 0x0007 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci/* Sky Italia: Digital Key (green led) */ 368c2ecf20Sopenharmony_ci#define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)" 378c2ecf20Sopenharmony_ci#define SKY_IT_DIGITAL_KEY_USB_VID 0x2137 388c2ecf20Sopenharmony_ci#define SKY_IT_DIGITAL_KEY_USB_PID 0x0001 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_civoid as102_urb_stream_irq(struct urb *urb); 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_cistruct as10x_usb_token_cmd_t { 438c2ecf20Sopenharmony_ci /* token cmd */ 448c2ecf20Sopenharmony_ci struct as10x_cmd_t c; 458c2ecf20Sopenharmony_ci /* token response */ 468c2ecf20Sopenharmony_ci struct as10x_cmd_t r; 478c2ecf20Sopenharmony_ci}; 488c2ecf20Sopenharmony_ci#endif 49