Lines Matching +full:firmware +full:- +full:initialized
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* dvb-usb.h is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
7 * the headerfile, all dvb-usb-drivers have to include.
9 * TODO: clean-up the structures for unused fields and update the comments
16 #include <linux/firmware.h>
18 #include <media/rc-core.h>
25 #include "dvb-pll.h"
27 #include <media/dvb-usb-ids.h>
48 /* generic log methods - taken from usb.h */
50 #define DVB_USB_LOG_PREFIX "dvb-usb (please define a log prefix)"
61 * struct dvb_usb_device_description - name and its according USB IDs
64 * pre-firmware state
66 * post-firmware state
81 return (key->scancode >> 8) & 0xff; in rc5_custom()
86 return key->scancode & 0xff; in rc5_data()
91 return key->scancode & 0xffff; in rc5_scan()
99 * Properties of USB streaming - TODO this structure should be somewhere else
100 * describes the kind of USB transfer used for data-streaming.
123 * struct dvb_usb_adapter_properties - properties of a dvb-usb-adapter.
124 * A DVB-USB-Adapter is basically a dvb_adapter which is present on a USB-device.
127 * PID-filter.
130 * @streaming_ctrl: called to start and stop the MPEG2-TS streaming of the
132 * This callback will be called without data URBs being active - data URBs
137 * @frontend_attach: called to attach the possible frontends (fill fe-field
175 * struct dvb_rc_legacy - old properties of remote controller
176 * @rc_map_table: a hard-wired array of struct rc_map_table (NULL to disable
194 * struct dvb_rc properties of remote controller, using rc-core
218 * enum dvb_usb_mode - Specifies if it is using a legacy driver or a new one
219 * based on rc-core
220 * This is initialized/used only inside dvb-usb-remote.c.
229 * struct dvb_usb_device_properties - properties of a dvb-usb-device
230 * @usb_ctrl: which USB device-side controller is in use. Needed for firmware
232 * @firmware: name of the firmware file.
233 * @download_firmware: called to download the firmware when the usb_ctrl is
235 * @no_reconnect: device doesn't do a reconnect after downloading the firmware,
257 * is non-zero, one can use dvb_usb_generic_rw and dvb_usb_generic_write-
262 * the generic_bulk_ctrl_endpoint. When this is non-zero, this will be used
281 int (*download_firmware) (struct usb_device *, const struct firmware *);
282 const char *firmware; member
315 * struct usb_data_stream - generic object of an USB stream
321 * @urbs_initialized: number of URBs initialized.
348 * struct dvb_usb_adapter - a DVB adapter on a USB device
351 * @feedcount: number of requested feeds (used for streaming-activation)
367 * @fe_init: rerouted frontend-init (wakeup) function.
368 * @fe_sleep: rerouted frontend-sleep function.
412 * struct dvb_usb_device - object of a DVB USB device
426 * @i2c_mutex: mutex for i2c-transfers
430 * @rc_dev: rc device for the remote control (rc-core mode)
436 * @priv: private data of the actual driver (allocate by dvb-usb, size defined
492 /* commonly used firmware download types and function */
500 extern int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type);
501 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);