/linux-6.14.4/drivers/media/usb/dvb-usb-v2/ |
D | usb_urb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* usb-urb.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher ([email protected]) 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 …]
|
D | mxl111sf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2014 Michael Krufky ([email protected]) 5 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 13 #include "mxl111sf-reg.h" 14 #include "mxl111sf-phy.h" 15 #include "mxl111sf-i2c.h" 16 #include "mxl111sf-gpio.h" 18 #include "mxl111sf-demod.h" 19 #include "mxl111sf-tuner.h" 26 MODULE_PARM_DESC(debug, "set debugging level (1=info, 2=xfer, 4=i2c, 8=reg, 16=adv (or-able))."); [all …]
|
D | mxl111sf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2010-2014 Michael Krufky ([email protected]) 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 …]
|
D | dvb_usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2004-6 Patrick Boettcher <[email protected]> 14 #include <media/rc-core.h> 15 #include <media/media-device.h> 21 #include <media/dvb-usb-ids.h> 24 * device file: /dev/dvb/adapter[0-1]/frontend[0-2] 26 * |-- device 27 * | |-- adapter0 28 * | | |-- frontend0 29 * | | |-- frontend1 [all …]
|
/linux-6.14.4/drivers/media/usb/em28xx/ |
D | em28xx.h | 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" [all …]
|
D | em28xx-cards.c | 1 // 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 …]
|
/linux-6.14.4/drivers/media/usb/dvb-usb/ |
D | usb-urb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* usb-urb.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher ([email protected]) 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-6.14.4/drivers/media/usb/au0828/ |
D | au0828.h | 1 /* 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-6.14.4/drivers/media/usb/gspca/ |
D | benq.c | 1 // 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 …]
|
D | gspca.h | 1 /* 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-6.14.4/drivers/usb/host/ |
D | xhci-mtk-sch.c | 1 // 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 …]
|
/linux-6.14.4/drivers/media/usb/cx231xx/ |
D | cx231xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 cx231xx.h - driver for Conexant Cx23100/101/102 USB video capture devices 21 #include <media/drv-intf/cx2341x.h> 23 #include <media/videobuf2-vmalloc.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-fh.h> 27 #include <media/rc-core.h> 28 #include <media/i2c/ir-kbd-i2c.h> 30 #include "cx231xx-reg.h" [all …]
|
/linux-6.14.4/sound/firewire/oxfw/ |
D | oxfw-stream.c | 1 // 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->unit, rate, in set_rate() 66 if (s == &oxfw->tx_stream) { in set_stream_format() 67 formats = oxfw->tx_stream_formats; in set_stream_format() 70 formats = oxfw->rx_stream_formats; in set_stream_format() [all …]
|
/linux-6.14.4/sound/firewire/bebob/ |
D | bebob_stream.c | 1 // 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->unit, &tx_rate, in snd_bebob_stream_get_rate() 72 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() 78 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate() 80 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() [all …]
|
/linux-6.14.4/drivers/media/usb/pwc/ |
D | pwc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* (C) 1999-2003 Nemosoft Unv. 3 (C) 2004-2006 Luc Saillard ([email protected]) 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-6.14.4/drivers/usb/dwc2/ |
D | gadget.c | 1 // 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 …]
|
D | hcd_ddma.c | 1 // 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-6.14.4/Documentation/devicetree/bindings/usb/ |
D | atmel-usb.txt | 6 - 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-6.14.4/sound/firewire/ |
D | amdtp-stream.c | 1 // 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-trace.h" 83 * amdtp_stream_init - initialize an AMDTP stream structure 87 * @flags: the details of the streaming protocol consist of cip_flags enumeration-constants. 88 * @fmt: the value of fmt field in CIP header 89 * @process_ctx_payloads: callback handler to process payloads of isoc context [all …]
|
/linux-6.14.4/drivers/usb/cdns3/ |
D | cdnsp-debug.h | 1 /* 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() 341 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb() [all …]
|
D | cdnsp-mem.c | 1 // 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-6.14.4/drivers/media/usb/stk1160/ |
D | stk1160-video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * <elezegarcia--a.t--gmail.com> 10 * <rmthomas--a.t--sciolus.org> 30 case -ENOENT: in print_err_status() 33 case -ECONNRESET: in print_err_status() 36 case -ENOSR: in print_err_status() 39 case -EPIPE: in print_err_status() 42 case -EOVERFLOW: in print_err_status() 45 case -EPROTO: in print_err_status() 46 errmsg = "Bit-stuff error (bad cable?)"; in print_err_status() [all …]
|
/linux-6.14.4/drivers/usb/core/ |
D | config.c | 1 // SPDX-License-Identifier: GPL-2.0 32 if (h->bDescriptorType == dt1 || h->bDescriptorType == dt2) in find_next_descriptor() 34 buffer += h->bLength; in find_next_descriptor() 35 size -= h->bLength; in find_next_descriptor() 43 return buffer - buffer0; in find_next_descriptor() 53 * The SuperSpeedPlus Isoc endpoint companion descriptor immediately in usb_parse_ssp_isoc_endpoint_companion() 57 if (desc->bDescriptorType != USB_DT_SSP_ISOC_ENDPOINT_COMP || in usb_parse_ssp_isoc_endpoint_companion() 59 dev_notice(ddev, "Invalid SuperSpeedPlus isoc endpoint companion" in usb_parse_ssp_isoc_endpoint_companion() 61 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ssp_isoc_endpoint_companion() 64 memcpy(&ep->ssp_isoc_ep_comp, desc, USB_DT_SSP_ISOC_EP_COMP_SIZE); in usb_parse_ssp_isoc_endpoint_companion() [all …]
|
/linux-6.14.4/drivers/usb/dwc3/ |
D | debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * debug.h - DesignWare USB3 DRD Controller Debug Header 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 17 * dwc3_gadget_ep_cmd_string - returns endpoint command string 48 * dwc3_gadget_generic_cmd_string - returns generic command string 83 * dwc3_gadget_link_string - returns link name 124 * dwc3_gadget_hs_link_string - returns highspeed and below link name 153 * dwc3_trb_type_string - returns TRB type as a string 170 return "isoc-first"; in dwc3_trb_type_string() 172 return "isoc"; in dwc3_trb_type_string() [all …]
|
/linux-6.14.4/drivers/bluetooth/ |
D | btusb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2005-2008 Marcel Holtmann <[email protected]> 80 /* Apple-specific (Broadcom) devices */ 117 /* ALPS Modules with non-standard id */ 121 /* Ericsson with non-standard id */ 124 /* Canyon CN-BTU1 with HID interfaces */ 138 /* Foxconn - Hon Hai */ 142 /* Lite-On Technology - Broadcom based */ 150 /* ASUSTek Computer - Broadcom based */ 154 /* Belkin F8065bf - Broadcom based */ [all …]
|