#ifndef _DIB0700_H_
#define _DIB0700_H_
#define DVB_USB_LOG_PREFIX …
#include "dvb-usb.h"
#include "dib07x0.h"
extern int dvb_usb_dib0700_debug;
#define deb_info(args...) …
#define deb_fw(args...) …
#define deb_fwdata(args...) …
#define deb_data(args...) …
#define REQUEST_SET_USB_XFER_LEN …
#define REQUEST_I2C_READ …
#define REQUEST_I2C_WRITE …
#define REQUEST_POLL_RC …
#define REQUEST_JUMPRAM …
#define REQUEST_SET_CLOCK …
#define REQUEST_SET_GPIO …
#define REQUEST_ENABLE_VIDEO …
#define REQUEST_SET_I2C_PARAM …
#define REQUEST_SET_RC …
#define REQUEST_NEW_I2C_READ …
#define REQUEST_NEW_I2C_WRITE …
#define REQUEST_GET_VERSION …
struct dib0700_state { … };
int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion,
u32 *romversion, u32 *ramversion, u32 *fwtype);
int dib0700_set_gpio(struct dvb_usb_device *d, enum dib07x0_gpios gpio,
u8 gpio_dir, u8 gpio_val);
int dib0700_ctrl_clock(struct dvb_usb_device *d, u32 clk_MHz, u8 clock_out_gp3);
int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx,
u8 rxlen);
int dib0700_download_firmware(struct usb_device *d,
const struct firmware *fw);
int dib0700_rc_setup(struct dvb_usb_device *d, struct usb_interface *intf);
int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff);
int dib0700_identify_state(struct usb_device *d,
const struct dvb_usb_device_properties *props,
const struct dvb_usb_device_description **desc,
int *cold);
int dib0700_change_protocol(struct rc_dev *dev, u64 *rc_proto);
int dib0700_set_i2c_speed(struct dvb_usb_device *d, u16 scl_kHz);
extern struct i2c_algorithm dib0700_i2c_algo;
extern int dib0700_device_count;
extern struct dvb_usb_device_properties dib0700_devices[];
extern struct usb_device_id dib0700_usb_id_table[];
#endif