Home
last modified time | relevance | path

Searched +full:isoc +full:- +full:in (Results 1 – 25 of 110) sorted by relevance

12345

/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c1 // SPDX-License-Identifier: GPL-2.0
2 /* usb-urb.c 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.
8 * BULK and ISOC USB data transfers in a generic way.
9 * Can be used for DVB-only and also, that's the plan, for
21 struct usb_data_stream *stream = urb->context; in usb_urb_complete()
22 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete()
26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
28 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
[all …]
H A Dmxl111sf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2010-2014 Michael Krufky (mkrufky@linuxtv.org)
5 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
17 #include <media/media-entity.h>
81 /* use usb alt setting 1 for EP4 ISOC transfer (dvb-t),
82 EP5 BULK transfer (atsc-mh),
84 use usb alt setting 2 for EP4 BULK transfer (dvb-t),
85 EP5 ISOC transfer (atsc-mh),
86 EP6 ISOC transfer (atsc/qam),
118 /* needed for hardware i2c functions in mxl111sf-i2c.c:
[all …]
/linux/drivers/media/usb/em28xx/
H A Dem28xx.h1 /* 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"
[all …]
H A Dem28xx-cards.c1 // SPDX-License-Identifier: GPL-2.0+
3 // em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
21 #include <media/drv-intf/msp3400.h>
23 #include <dt-bindings/media/tvp5150.h>
26 #include <media/v4l2-common.h>
31 static int tuner = -1;
44 static unsigned int card[] = {[0 ... (EM28XX_MAXBOARDS - 1)] = -1U };
48 static int usb_xfer_mode = -1;
51 "USB transfer mode for frame data (-1 = auto, 0 = prefer isoc, 1 = prefer bulk)");
53 /* Bitmask marking allocated devices from 0 to EM28XX_MAXBOARDS - 1 */
[all …]
H A Dem28xx-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 // em28xx-core.c - driver for Empia EM2800/EM2820/2840 USB video capture devices
21 #include <media/v4l2-common.h>
37 MODULE_PARM_DESC(core_debug, "enable debug messages [core and isoc]");
41 dev_printk(KERN_DEBUG, &dev->intf->dev, \
51 dev_printk(KERN_DEBUG, &dev->intf->dev, \
58 dev_printk(KERN_DEBUG, &dev->intf->dev, \
70 struct usb_device *udev = interface_to_usbdev(dev->intf); in em28xx_read_reg_req_len()
73 if (dev->disconnected) in em28xx_read_reg_req_len()
74 return -ENODEV; in em28xx_read_reg_req_len()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Dusb-urb.c1 // SPDX-License-Identifier: GPL-2.0
2 /* usb-urb.c 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.
8 * BULK and ISOC USB data transfers in a generic way.
9 * Can be used for DVB-only and also, that's the plan, for
12 #include "dvb-usb-common.h"
17 struct usb_data_stream *stream = urb->context; in usb_urb_complete()
18 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete()
23 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
[all …]
/linux/drivers/media/usb/au0828/
H A Dau0828.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include <linux/i2c-algo-bit.h>
18 #include <media/videobuf2-v4l2.h>
19 #include <media/videobuf2-vmalloc.h>
20 #include <media/v4l2-device.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-fh.h>
23 #include <media/media-device.h>
24 #include <media/media-dev-allocator.h>
34 #include "au0828-reg.h"
[all …]
/linux/drivers/media/usb/gspca/
H A Dbenq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2009 Jean-Francois Moine (http://moinejf.free.fr)
14 MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>");
32 /* -- write a register -- */
36 struct usb_device *dev = gspca_dev->dev; in reg_w()
39 if (gspca_dev->usb_err < 0) in reg_w()
51 gspca_dev->usb_err = ret; in reg_w()
59 gspca_dev->cam.cam_mode = vga_mode; in sd_config()
60 gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); in sd_config()
61 gspca_dev->cam.no_urb_create = 1; in sd_config()
[all …]
H A Dgspca.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <media/v4l2-common.h>
10 #include <media/v4l2-ctrls.h>
11 #include <media/v4l2-device.h>
12 #include <media/videobuf2-v4l2.h>
13 #include <media/videobuf2-vmalloc.h>
32 v4l2_dbg(level, gspca_debug, &(gspca_dev)->v4l2_dev, \
36 v4l2_err(&(gspca_dev)->v4l2_dev, fmt, ##__VA_ARGS__)
49 /* device information - set at probe time */
58 u8 bulk_nurbs; /* number of URBs in bulk mode
[all …]
/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "xhci-mtk.h"
18 /* table 5-5. High-speed Isoc Transaction Limits in usb_20 spec */
28 * max number of microframes for split transfer, assume extra-cs budget is 0
29 * for fs isoc in : 1 ss + 1 idle + 6 cs (roundup(1023/188))
32 /* offset from SS for fs/ls isoc/intr ep (ss + idle) */
55 return "Can't schedule Start-Split in Y6"; in sch_error_string()
57 return "Can't find a suitable Start-Split location"; in sch_error_string()
59 return "The last Complete-Split is greater than 7"; in sch_error_string()
78 struct usb_endpoint_descriptor *epd = &ep->desc; in decode_ep()
[all …]
H A Dxhci-mem.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/dma-mapping.h>
19 #include "xhci-trace.h"
20 #include "xhci-debugfs.h"
36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
42 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc()
43 if (!seg->trbs) { in xhci_segment_alloc()
49 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
51 if (!seg->bounce_buf) { in xhci_segment_alloc()
52 dma_pool_free(xhci->segment_pool, seg->trbs, dma); in xhci_segment_alloc()
[all …]
/linux/sound/firewire/oxfw/
H A Doxfw-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * oxfw_stream.c - a part of driver for OXFW970/971 based devices
29 * See Table 5.7 – Sampling frequency for Multi-bit Audio
30 * in AV/C Stream Format Information Specification 1.1 (Apr 2005, 1394TA)
45 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate()
50 if (oxfw->has_output) in set_rate()
51 err = avc_general_set_sig_fmt(oxfw->uni in set_rate()
[all...]
H A Doxfw.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * oxfw.c - a part of driver for OXFW970/971 based devices
37 MODULE_ALIAS("snd-firewire-speakers");
38 MODULE_ALIAS("snd-scs1x");
50 "Onyx-i", in detect_loud_models()
57 err = fw_csr_string(unit->director in detect_loud_models()
[all...]
/linux/sound/firewire/bebob/
H A Dbebob_stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bebob_stream.c - a part of driver for BeBoB based devices
5 * Copyright (c) 2013-2014 Takashi Sakamoto
18 * to start transmitting stream. An example is 'M-Audio Firewire 410'.
36 * in Additional AVC commands (Nov 2003, BridgeCo)
59 return -EINVAL; in get_formation_index()
70 err = avc_general_get_sig_fmt(bebob->uni in snd_bebob_stream_get_rate()
[all...]
/linux/drivers/media/usb/pwc/
H A Dpwc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* (C) 1999-2003 Nemosoft Unv.
3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
6 driver and thus may have bugs that are not present in the original version.
8 The decompression routines have been implemented by reverse-engineering the
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-ioctl.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-fh.h>
[all …]
/linux/drivers/usb/dwc2/
H A Dgadget.c1 // SPDX-License-Identifier: GPL-2.0
11 * S3C USB2.0 High-speed / OtG driver
19 #include <linux/dma-mapping.h>
65 return hsotg->eps_in[ep_index]; in index_to_ep()
67 return hsotg->eps_out[ep_index]; in index_to_ep()
74 * using_dma - return the DMA status of the driver.
80 * that needs it, but the AMBA DMA implementation in the hardware can
94 return hsotg->params.g_dma; in using_dma()
98 * using_desc_dma - return the descriptor DMA status of the driver.
105 return hsotg->params.g_dma_desc; in using_desc_dma()
[all …]
H A Dhcd_ddma.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * hcd_ddma.c - DesignWare HS OTG Controller descriptor DMA routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
15 #include <linux/dma-mapping.h>
28 return frame & (FRLISTEN_64_SIZE - 1); in dwc2_frame_list_idx()
35 MAX_DMA_DESC_NUM_GENERIC) - 1); in dwc2_desclist_idx_inc()
40 return (idx - inc) & in dwc2_desclist_idx_dec()
42 MAX_DMA_DESC_NUM_GENERIC) - 1); in dwc2_desclist_idx_dec()
47 return (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_max_desc_num()
48 qh->dev_speed == USB_SPEED_HIGH) ? in dwc2_max_desc_num()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Datmel-usb.txt6 - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers
7 used in host mode.
8 - reg: Address and length of the register set for the device
9 - interrupts: Should contain ohci interrupt
10 - clocks: Should reference the peripheral, host and system clocks
11 - clock-names: Should contain three strings
15 - num-ports: Number of ports.
16 - atmel,vbus-gpio: If present, specifies a gpio that needs to be
18 - atmel,oc-gpio: If present, specifies a gpio that needs to be
22 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
[all …]
/linux/sound/firewire/
H A Damdtp-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams
4 * with Common Isochronous Packet (IEC 61883-1) headers
12 #include <linux/firewire-constants.h>
17 #include "amdtp-stream.h"
27 #include "amdtp-stream-trac
[all...]
/linux/drivers/usb/cdns3/
H A Dcdnsp-debug.h1 /* SPDX-License-Identifier: GPL-2.0 */
61 return "Stopped - Length Invalid"; in cdnsp_trb_comp_code_string()
63 return "Stopped - Short Packet"; in cdnsp_trb_comp_code_string()
97 return "No-Op"; in cdnsp_trb_type_string()
119 return "No-Op Command"; in cdnsp_trb_type_string()
145 return "ISOC"; in cdnsp_ring_type_string()
180 int ep_id = TRB_TO_EP_INDEX(field3) - 1; in cdnsp_decode_trb()
206 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
332 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
342 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
[all …]
H A Dcdnsp-mem.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/dma-mapping.h>
18 #include "cdnsp-gadget.h"
19 #include "cdnsp-trace.h"
42 seg->trbs = dma_pool_zalloc(pdev->segment_pool, flags, &dma); in cdnsp_segment_alloc()
43 if (!seg->trbs) { in cdnsp_segment_alloc()
49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc()
50 if (!seg->bounce_buf) in cdnsp_segment_alloc()
57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc()
59 seg->dma = dma; in cdnsp_segment_alloc()
[all …]
/linux/drivers/usb/gadget/function/
H A Df_sourcesink.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_sourcesink.c - USB peripheral source/sink configuration driver
5 * Copyright (C) 2003-2008 David Brownell
25 * This just sinks bulk packets OUT to the peripheral and sources them IN
29 * In terms of control messaging, this supports all the standard requests
30 * plus two that support control-OUT tests. If the optional "autoresume"
32 * test harness from USB-IF.
58 /*-------------------------------------------------------------------------*/
271 /* function-specific strings: */
279 .language = 0x0409, /* en-us */
[all …]
H A Duvc_video.c1 // SPDX-License-Identifier: GPL-2.0+
3 * uvc_video.c -- USB Video Class Gadget driver
5 * Copyright (C) 2009-2010
17 #include <media/v4l2-dev.h>
24 /* --------------------------------------------------------------------------
33 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_video_encode_header()
34 struct timespec64 ts = ns_to_timespec64(buf->buf.vb2_buf.timestamp); in uvc_video_encode_header()
37 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header()
39 if (video->queue.flags & UVC_QUEUE_DROP_INCOMPLETE) in uvc_video_encode_header()
42 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()
[all …]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * USBHS-DEV device controller driver header file
14 #include <linux/dma-direction.h>
22 * struct cdns2_ep0_regs - endpoint 0 related registers.
24 * @txbc: transmit (IN) 0 endpoint byte count register.
45 /* EP0CS - bitmasks. */
50 /* IN 0 endpoint busy bit. */
54 /* Send STALL in the data stage phase. */
59 /* EP0FIFO - bitmasks. */
70 * struct cdns2_epx_base - base endpoint registers.
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
33 struct usb_device *udev = sd->gspca_dev.dev; in stv06xx_write_bridge()
[all …]

12345