| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* Linux driver for devices based on the DiBcom DiB0700 USB bridge |
|---|
| 2 | | - * |
|---|
| 3 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 4 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 5 | | - * Software Foundation, version 2. |
|---|
| 6 | 3 | * |
|---|
| 7 | 4 | * Copyright (C) 2005-6 DiBcom, SA |
|---|
| 8 | 5 | */ |
|---|
| .. | .. |
|---|
| 55 | 52 | struct i2c_client *i2c_client_tuner; |
|---|
| 56 | 53 | }; |
|---|
| 57 | 54 | |
|---|
| 58 | | -extern int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion, |
|---|
| 59 | | - u32 *romversion, u32 *ramversion, u32 *fwtype); |
|---|
| 60 | | -extern int dib0700_set_gpio(struct dvb_usb_device *, enum dib07x0_gpios gpio, u8 gpio_dir, u8 gpio_val); |
|---|
| 61 | | -extern int dib0700_ctrl_clock(struct dvb_usb_device *d, u32 clk_MHz, u8 clock_out_gp3); |
|---|
| 62 | | -extern int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen); |
|---|
| 63 | | -extern int dib0700_download_firmware(struct usb_device *udev, const struct firmware *fw); |
|---|
| 64 | | -extern int dib0700_rc_setup(struct dvb_usb_device *d, struct usb_interface *intf); |
|---|
| 65 | | -extern int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff); |
|---|
| 66 | | -extern struct i2c_algorithm dib0700_i2c_algo; |
|---|
| 67 | | -extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, |
|---|
| 68 | | - struct dvb_usb_device_description **desc, int *cold); |
|---|
| 69 | | -extern int dib0700_change_protocol(struct rc_dev *dev, u64 *rc_proto); |
|---|
| 70 | | -extern int dib0700_set_i2c_speed(struct dvb_usb_device *d, u16 scl_kHz); |
|---|
| 55 | +int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion, |
|---|
| 56 | + u32 *romversion, u32 *ramversion, u32 *fwtype); |
|---|
| 57 | +int dib0700_set_gpio(struct dvb_usb_device *d, enum dib07x0_gpios gpio, |
|---|
| 58 | + u8 gpio_dir, u8 gpio_val); |
|---|
| 59 | +int dib0700_ctrl_clock(struct dvb_usb_device *d, u32 clk_MHz, u8 clock_out_gp3); |
|---|
| 60 | +int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, |
|---|
| 61 | + u8 rxlen); |
|---|
| 62 | +int dib0700_download_firmware(struct usb_device *d, |
|---|
| 63 | + const struct firmware *fw); |
|---|
| 64 | +int dib0700_rc_setup(struct dvb_usb_device *d, struct usb_interface *intf); |
|---|
| 65 | +int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff); |
|---|
| 66 | +int dib0700_identify_state(struct usb_device *d, |
|---|
| 67 | + const struct dvb_usb_device_properties *props, |
|---|
| 68 | + const struct dvb_usb_device_description **desc, |
|---|
| 69 | + int *cold); |
|---|
| 70 | +int dib0700_change_protocol(struct rc_dev *dev, u64 *rc_proto); |
|---|
| 71 | +int dib0700_set_i2c_speed(struct dvb_usb_device *d, u16 scl_kHz); |
|---|
| 71 | 72 | |
|---|
| 73 | +extern struct i2c_algorithm dib0700_i2c_algo; |
|---|
| 72 | 74 | extern int dib0700_device_count; |
|---|
| 73 | 75 | extern int dvb_usb_dib0700_ir_proto; |
|---|
| 74 | 76 | extern struct dvb_usb_device_properties dib0700_devices[]; |
|---|