gp8psk.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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 ([email protected])
  6. * Copyright (C) 2006,2007 Alan Nisota ([email protected])
  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. #define DVB_USB_LOG_PREFIX "gp8psk"
  17. #include "dvb-usb.h"
  18. extern int dvb_usb_gp8psk_debug;
  19. #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args)
  20. #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args)
  21. #define deb_rc(args...) dprintk(dvb_usb_gp8psk_debug,0x04,args)
  22. #define GET_USB_SPEED 0x07
  23. #define RESET_FX2 0x13
  24. #define FW_VERSION_READ 0x0B
  25. #define VENDOR_STRING_READ 0x0C
  26. #define PRODUCT_STRING_READ 0x0D
  27. #define FW_BCD_VERSION_READ 0x14
  28. #endif