Lines Matching +full:isoc +full:- +full:in
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices
27 #include <media/videobuf2-v4l2.h>
28 #include <media/videobuf2-vmalloc.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-ctrls.h>
31 #include <media/v4l2-fh.h>
32 #include <media/i2c/ir-kbd-i2c.h>
33 #include <media/rc-core.h>
36 #include "em28xx-reg.h"
171 /* number of buffers for isoc transfers */
179 * isoc transfers: number of packets for each buffer
195 /* time in msecs to wait for AC97 xfers to finish */
213 * struct em28xx_usb_bufs - Contains URB-related buffer data
215 * @max_pkt_size: max packet size of isoc transaction
216 * @num_packets: number of packets in each buffer
218 * @urb: urb for isoc/bulk transfers
219 * @buf: transfer buffers for isoc/bulk transfer
230 * struct em28xx_usb_ctl - Contains URB-related buffer data
232 * @analog_bufs: isoc/bulk transfer buffers for analog mode
233 * @digital_bufs: isoc/bulk transfer buffers for digital mode
247 * struct em28xx_fmt - Struct to enumberate video formats
260 * struct em28xx_buffer- buffer for storing one video frame
266 * @top_field: If non-zero, indicate that the buffer is the top field
268 * @vb_buf: pointer to vmalloc memory address in vb
272 * in interlaced mode, @pos is reset to zero at the start of each new
329 * enum em28xx_amux - describes the type of audio input used by em28xx
332 * Used only on em28xx dev->map field, in order to mark an entry
339 * Only for devices with AC97. Corresponds to AC97 mixer "Line In".
341 * Only for devices with AC97. It means that em28xx should use "Line In"
354 * The em28xx chip itself has only two audio inputs: tuner and line in.
368 EM28XX_AMUX_UNUSED = -1,
372 /* Some less-common mixer setups */
389 /* PCM IN Mixer - used by AC97_RECORD_SELECT register */
392 /* Bits 10-8 are used to indicate the PCM IN record select */
422 #define INPUT(nr) (&em28xx_boards[dev->model].input[nr])
639 // Sub-module data
646 int model; // index in the device_data struct
695 unsigned long hash; // eeprom hash - for boards with generic ID
696 unsigned long i2c_hash; // i2c devicelist hash -
705 // resources in use
712 // Isoc control struct
722 u8 analog_ep_isoc; // address of isoc endpoint for analog
724 u8 dvb_ep_isoc_ts2; // address of isoc endpoint for DVB TS2
726 u8 dvb_ep_isoc; // address of isoc endpoint for DVB
733 unsigned int *alt_max_pkt_size_isoc; // array of isoc wMaxPacketSize
734 unsigned int analog_xfer_bulk:1; // use bulk instead of isoc
736 int dvb_alt_isoc; // alternate setting for DVB isoc transfers
737 unsigned int dvb_max_pkt_size_isoc; // isoc max packet size of the
739 unsigned int dvb_max_pkt_size_isoc_ts2; // isoc max packet size of the
741 unsigned int dvb_xfer_bulk:1; // use bulk instead of isoc
789 /* Provided by em28xx-i2c.c */
795 /* Provided by em28xx-core.c */
835 /* Provided by em28xx-cards.c */
842 /* Provided by em28xx-camera.c */