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>
49 /* generic log methods - taken from usb.h */
51 #define DVB_USB_LOG_PREFIX "dvb-usb (please define a log prefix)"
62 * struct dvb_usb_device_description - name and its according USB IDs
65 * pre-firmware state
67 * post-firmware state
82 return (key->scancode >> 8) & 0xff; in rc5_custom()
87 return key->scancode & 0xff; in rc5_data()
92 return key->scancode & 0xffff; in rc5_scan()
100 * Properties of USB streaming - TODO this structure should be somewhere else
101 * describes the kind of USB transfer used for data-streaming.
124 * struct dvb_usb_adapter_fe_properties - properties of a dvb-usb-adapter.
125 * A DVB-USB-Adapter is basically a dvb_adapter which is present on a USB-device.
128 * PID-filter.
131 * @streaming_ctrl: called to start and stop the MPEG2-TS streaming of the
133 * This callback will be called without data URBs being active - data URBs
138 * @frontend_attach: called to attach the possible frontends (fill fe-field
177 * struct dvb_rc_legacy - old properties of remote controller
178 * @rc_map_table: a hard-wired array of struct rc_map_table (NULL to disable
196 * struct dvb_rc - properties of remote controller, using rc-core
222 * enum dvb_usb_mode - Specifies if it is using a legacy driver or a new one
223 * based on rc-core
224 * This is initialized/used only inside dvb-usb-remote.c.
228 * @DVB_RC_CORE: rc-core driver
236 * struct dvb_usb_device_properties - properties of a dvb-usb-device
238 * @usb_ctrl: which USB device-side controller is in use. Needed for firmware
240 * @firmware: name of the firmware file.
241 * @download_firmware: called to download the firmware when the usb_ctrl is
243 * @no_reconnect: device doesn't do a reconnect after downloading the firmware,
267 * is non-zero, one can use dvb_usb_generic_rw and dvb_usb_generic_write-
272 * the generic_bulk_ctrl_endpoint. When this is non-zero, this will be used
290 int (*download_firmware) (struct usb_device *, const struct firmware *);
291 const char *firmware; member
324 * struct usb_data_stream - generic object of an USB stream
335 * @urbs_initialized: number of URBs initialized.
363 * struct dvb_usb_fe_adapter - a DVB adapter on a USB device
365 * @fe_init: rerouted frontend-init (wakeup) function.
366 * @fe_sleep: rerouted frontend-sleep function.
388 * struct dvb_usb_adapter - a DVB adapter on a USB device
394 * @feedcount: number of requested feeds (used for streaming-activation)
403 * @num_frontends_initialized: number of initialized frontends
432 * struct dvb_usb_device - object of a DVB USB device
446 * @i2c_mutex: mutex for i2c-transfers
450 * @num_adapters_initialized: number of initialized adapters
453 * @rc_dev: rc device for the remote control (rc-core mode)
460 * @priv: private data of the actual driver (allocate by dvb-usb, size defined
517 /* commonly used firmware download types and function */
525 extern int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type);
526 extern int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, int *pos);