xref: /openbmc/linux/drivers/media/usb/dvb-usb/gp8psk.h (revision 09c434b8)
1 /* DVB USB compliant Linux driver for the
2  *  - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module
3  *
4  * Copyright (C) 2006 Alan Nisota (alannisota@gmail.com)
5  * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com)
6  *
7  * Thanks to GENPIX for the sample code used to implement this module.
8  *
9  * This module is based off the vp7045 and vp702x modules
10  *
11  *	This program is free software; you can redistribute it and/or modify it
12  *	under the terms of the GNU General Public License as published by the Free
13  *	Software Foundation, version 2.
14  *
15  * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
16  */
17 #ifndef _DVB_USB_GP8PSK_H_
18 #define _DVB_USB_GP8PSK_H_
19 
20 #define DVB_USB_LOG_PREFIX "gp8psk"
21 #include "dvb-usb.h"
22 
23 extern int dvb_usb_gp8psk_debug;
24 #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args)
25 #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args)
26 #define deb_rc(args...)   dprintk(dvb_usb_gp8psk_debug,0x04,args)
27 
28 #define GET_USB_SPEED                     0x07
29 
30 #define RESET_FX2                         0x13
31 
32 #define FW_VERSION_READ                   0x0B
33 #define VENDOR_STRING_READ                0x0C
34 #define PRODUCT_STRING_READ               0x0D
35 #define FW_BCD_VERSION_READ               0x14
36 
37 #endif
38