xref: /linux/drivers/media/usb/dvb-usb/gp8psk.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1  /* SPDX-License-Identifier: GPL-2.0-only */
2  /* DVB USB compliant Linux driver for the
3   *  - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module
4   *
5   * Copyright (C) 2006 Alan Nisota (alannisota@gmail.com)
6   * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com)
7   *
8   * Thanks to GENPIX for the sample code used to implement this module.
9   *
10   * This module is based off the vp7045 and vp702x modules
11   *
12   * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
13   */
14  #ifndef _DVB_USB_GP8PSK_H_
15  #define _DVB_USB_GP8PSK_H_
16  
17  #define DVB_USB_LOG_PREFIX "gp8psk"
18  #include "dvb-usb.h"
19  
20  extern int dvb_usb_gp8psk_debug;
21  #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args)
22  #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args)
23  #define deb_rc(args...)   dprintk(dvb_usb_gp8psk_debug,0x04,args)
24  
25  #define GET_USB_SPEED                     0x07
26  
27  #define RESET_FX2                         0x13
28  
29  #define FW_VERSION_READ                   0x0B
30  #define VENDOR_STRING_READ                0x0C
31  #define PRODUCT_STRING_READ               0x0D
32  #define FW_BCD_VERSION_READ               0x14
33  
34  #endif
35