18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* DVB USB compliant Linux driver for the 38c2ecf20Sopenharmony_ci * - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2006 Alan Nisota (alannisota@gmail.com) 68c2ecf20Sopenharmony_ci * Copyright (C) 2006,2007 Alan Nisota (alannisota@gmail.com) 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Thanks to GENPIX for the sample code used to implement this module. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * This module is based off the vp7045 and vp702x modules 118c2ecf20Sopenharmony_ci * 128c2ecf20Sopenharmony_ci * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 138c2ecf20Sopenharmony_ci */ 148c2ecf20Sopenharmony_ci#ifndef _DVB_USB_GP8PSK_H_ 158c2ecf20Sopenharmony_ci#define _DVB_USB_GP8PSK_H_ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#define DVB_USB_LOG_PREFIX "gp8psk" 188c2ecf20Sopenharmony_ci#include "dvb-usb.h" 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciextern int dvb_usb_gp8psk_debug; 218c2ecf20Sopenharmony_ci#define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args) 228c2ecf20Sopenharmony_ci#define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args) 238c2ecf20Sopenharmony_ci#define deb_rc(args...) dprintk(dvb_usb_gp8psk_debug,0x04,args) 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define GET_USB_SPEED 0x07 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#define RESET_FX2 0x13 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#define FW_VERSION_READ 0x0B 308c2ecf20Sopenharmony_ci#define VENDOR_STRING_READ 0x0C 318c2ecf20Sopenharmony_ci#define PRODUCT_STRING_READ 0x0D 328c2ecf20Sopenharmony_ci#define FW_BCD_VERSION_READ 0x14 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci#endif 35