/linux/drivers/usb/gadget/legacy/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 23 # Gadget drivers are hardware-neutral, or "platform independent", 32 # gadget configuration. In the device model, each option contains 44 Gadget Zero is a two-configuration device. It either sinks and [all …]
|
/linux/Documentation/usb/ |
H A D | mass-storage.rst | 9 appearing to the host as a disk or a CD-ROM drive. It supports 12 to read-only, and gadget can indicate that it is removable and/or 13 CD-ROM (the latter implies read-only access). 15 Its requirements are modest; only a bulk-in and a bulk-out endpoint 17 Support is included for full-speed, high-speed and SuperSpeed 20 Note that the driver is slightly non-portable in that it assumes 21 a single memory/DMA buffer will be usable for bulk-in and bulk-out 29 (which is no longer included in Linux). It will talk only briefly 30 about how to use MSF within composite gadgets. 38 - file=filename[,filename...] [all …]
|
H A D | gadget_multi.rst | 2 Multifunction Composite Gadget 8 The Multifunction Composite Gadget (or g_multi) is a composite gadget 9 that makes extensive use of the composite framework to provide 12 In its standard configuration it provides a single USB configuration 18 have two configurations -- one with RNDIS and another with CDC ECM[3]. 20 Please note that if you use non-standard configuration (that is enable 26 To make use of the gadget one needs to make it work on host side -- 31 ------------------ 33 Since the gadget uses standard composite framework and appears as such 38 This is also true for two configuration set-up with RNDIS [all …]
|
H A D | functionfs.rst | 8 From kernel point of view it is just a composite function with some 12 that kernel level composite functions provide when they are added to 15 This in particular means that the composite initialisation functions 16 may not be in init section (ie. may not use the __init tag). 25 them as needed also handling situation when numbers differ in 28 For more information about FunctionFS descriptors see :doc:`functionfs-desc` 40 What I also want to mention is that the FunctionFS is designed in such 41 a way that it is possible to mount it several times so in the end 51 $ mkdir /dev/ffs-mtp && mount -t functionfs mtp /dev/ffs-mtp 52 $ ( cd /dev/ffs-mtp && mtp-daemon ) & [all …]
|
/linux/drivers/clk/rockchip/ |
H A D | clk-rk3368.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/rk3368-cru.h> 200 /* cluster_b: aclkm in clksel0, rest in clksel1 */ 210 /* cluster_l: aclkm in clksel2, rest in clksel3 */ 276 * Clock-Architecture Diagram 2 320 COMPOSITE(0, "aclk_cci_pre", mux_pll_src_cpll_gpll_usb_npll_p, CLK_IGNORE_UNUSED, 356 COMPOSITE(0, "fclk_mcu_src", mux_pll_src_cpll_gpll_p, CLK_IGNORE_UNUSED, 360 * stclk_mcu is listed as child of fclk_mcu_src in diagram 5, 361 * but stclk_mcu has an additional own divider in diagram 2 [all …]
|
H A D | clk-rk3399.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Author: Xing Zheng <zhengxing@rock-chips.com> 7 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/rk3399-cru.h> 337 /* cluster_l: aclkm in clksel0, rest in clksel1 */ 347 /* cluster_b: aclkm in clksel2, rest in clksel3 */ 402 * CRU Clock-Architecture 425 COMPOSITE(ACLK_USB3, "aclk_usb3", mux_pll_src_cpll_gpll_npll_p, 0, 444 COMPOSITE(SCLK_USB3OTG0_SUSPEND, "clk_usb3otg0_suspend", mux_pll_p, 0, 448 COMPOSITE(SCLK_USB3OTG1_SUSPEND, "clk_usb3otg1_suspend", mux_pll_p, 0, [all …]
|
H A D | clk-rk3288.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/rk3288-cru.h> 284 * Clock-Architecture Diagram 1 360 COMPOSITE(0, "i2s_src", mux_pll_src_cpll_gpll_p, 0, 411 * Clock-Architecture Diagram 2 414 COMPOSITE(0, "aclk_vepu", mux_pll_src_cpll_gpll_usb480m_p, 0, 417 COMPOSITE(0, "aclk_vdpu", mux_pll_src_cpll_gpll_usb480m_p, 0, 431 COMPOSITE(0, "aclk_vio0", mux_pll_src_cpll_gpll_usb480m_p, CLK_IGNORE_UNUSED, 434 COMPOSITE(0, "aclk_vio1", mux_pll_src_cpll_gpll_usb480m_p, CLK_IGNORE_UNUSED, [all …]
|
/linux/drivers/usb/gadget/ |
H A D | configfs.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/usb/composite.h> 26 return -EINVAL; in check_user_usb_string() 28 stringtab_dev->language = num; in check_user_usb_string() 50 struct usb_composite_driver composite; member 86 return container_of(cfg->c.cdev, struct gadget_info, cdev); in cfg_to_gadget_info() 121 return -EOVERFLOW; in usb_string_copy() 123 return -EINVAL; in usb_string_copy() 130 return -ENOMEM; in usb_string_copy() 133 if (str[ret - 1] == '\n') in usb_string_copy() [all …]
|
H A D | composite.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * composite.c - infrastructure for Composite USB Gadgets 5 * Copyright (C) 2006-2008 David Brownell 19 #include <linux/usb/composite.h> 27 * struct usb_os_string - represents OS String to be reported by a gadget 43 * The code in this file is utility code, used to build a gadget driver 46 * with the relevant device-wide data. 52 return (struct usb_gadget_strings **)uc->stash; in get_containers_gs() 56 * function_descriptors() - get function descriptors for speed 75 descriptors = f->ssp_descriptors; in function_descriptors() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 25 you can't connect a "to-the-host" connector to a peripheral. 27 Linux can run in the host, or in the peripheral. In both cases 30 or are integrated with the CPU in a microcontroller. The more [all …]
|
/linux/include/linux/usb/ |
H A D | composite.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * composite.h -- framework for usb gadgets which are composite devices 5 * Copyright (C) 2006-2008 David Brownell 13 * making it easier to build (a) Composite devices, supporting multiple 14 * functions within any single configuration, and (b) Multi-configuration 19 * link and mass storage functions is a composite device. Those functions 20 * might alternatively be packaged in individual configurations, but in 21 * the composite model the host can use both functions at the same time. 39 * NOTE: USB_GADGET_DELAYED_STATUS must not be used in UDC drivers: they 40 * must delay completing the status stage for 0-length control transfers [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | ti,mux-clock.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/clock/ti/ti,mux-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tero Kristo <kristo@kernel.org> 13 This clock assumes a register-mapped multiplexer with multiple inpt clock 17 By default the "clocks" property lists the parents in the same order 22 Results in programming the register as follows: 31 "index-starts-at-one" modified the scheme as follows: 39 the number of bits to shift the control field in the register can be [all …]
|
/linux/include/media/i2c/ |
H A D | upd64083.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines 11 /* There are two bits of information that the driver needs in order 15 The first two operating modes expect a composite signal on the Y input, 18 Normally YCS_MODE is used for tuner and composite inputs, and the 19 YCNR mode is used for S-Video inputs. 21 The external Y-ADC is selected when the composite input comes from a 23 the input is a S-Video signal, then the internal Y-ADC input should 33 /* Note: the following two modes cannot be used in combination with the 34 external Y-ADC. */ [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | zoran.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 website: http://mjpeg.sourceforge.net/driver-zoran/ 12 -------------------------- 15 ------------------------ 28 Drivers to use: videodev, i2c-core, i2c-algo-bit, 31 Inputs/outputs: Composite and S-video 45 Drivers to use: videodev, i2c-core, i2c-algo-bit, 49 Six physical inputs. 1-6 are composite, 50 1-2, 3-4, 5-6 doubles as S-video, 51 1-3 triples as component. [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-routing.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Audio/video-routing-related ivtv functions. 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-i2c.h" 11 #include "ivtv-cards.h" 12 #include "ivtv-gpio.h" 13 #include "ivtv-routing.h" 15 #include <media/drv-intf/msp3400.h> [all …]
|
/linux/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2013-2015 Ideas on Board 6 * Copyright (C) 2013-2015 Xilinx, Inc. 20 #include <media/media-entity.h> 21 #include <media/v4l2-dev.h> 22 #include <media/videobuf2-v4l2.h> 29 * struct xvip_pipeline - Xilinx Video IP pipeline structure 34 * @num_dmas: number of DMA engines in the pipeline 59 * struct xvip_dma - Video DMA channel 60 * @list: list entry in a composite device dmas list [all …]
|
/linux/drivers/video/fbdev/ |
H A D | fm2fb.c | 2 * linux/drivers/video/fm2fb.c -- BSC FrameMaster II/Rainbow II frame buffer 5 * Copyright (C) 1998 Steffen A. Mork (linux-dev@morknet.de) 13 * License. See the file COPYING in the main directory of this archive for 35 * - PAL/NTSC 36 * - interlaced/non interlaced 37 * - composite sync/sync/sync over green 40 * - 768x576 (PAL) 41 * - 768x480 (NTSC) 44 * fixed line width. In case of maximal resolution the frame 49 * not assembled with memory for the alpha channel. In this [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 25 as multiple configurations, multiple interfaces, composite devices, 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric [all …]
|
/linux/Documentation/devicetree/bindings/display/connector/ |
H A D | analog-tv-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/analog-tv-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 15 - composite-video-connector 16 - svideo-connector 20 sdtv-standards: 24 defined in include/dt-bindings/display/sdtv-standards.h. 32 - compatible [all …]
|
/linux/drivers/media/pci/zoran/ |
H A D | zoran_card.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * This part handles card-specific data and detection 18 #include <linux/i2c-algo-bit.h> 25 #include <media/v4l2-common.h> 38 static int card[BUZ_MAX] = { [0 ... (BUZ_MAX - 1)] = -1 }; 44 static unsigned int default_input; /* default 0 = Composite, 1 = S-Video */ 47 "Default input (0=Composite, 1=S-Video, 2=Internal)"); 58 /* /dev/videoN, -1 for autodetect */ 59 static int video_nr[BUZ_MAX] = { [0 ... (BUZ_MAX - 1)] = -1 }; 61 MODULE_PARM_DESC(video_nr, "Video device number (-1=Auto)"); [all …]
|
/linux/scripts/ |
H A D | make_fit.py | 2 # SPDX-License-Identifier: GPL-2.0+ 11 make_fit.py -A arm64 -n 'Linux-6.6' -O linux 12 -o arch/arm64/boot/image.fit -k /tmp/kern/arch/arm64/boot/image.itk 13 @arch/arm64/boot/dts/dtbs-list -E -c gzip 16 either specified individually or listed in a file (with an '@' prefix). 18 Use -E to generate an external FIT (where the data is placed after the 22 Use -c to compress the data, using bzip2, gzip, lz4, lzma, lzo and 25 Use -D to decompose "composite" DTBs into their base components and 31 as U-Boot, Linuxboot, Tianocore, etc. 47 # Tool extension and the name of the command-line tools [all …]
|
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-cx2584x-v4l.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 cx2584x, in kernels 2.6.16 or newer. 15 #include "pvrusb2-cx2584x-v4l.h" 18 #include "pvrusb2-hdw-internal.h" 19 #include "pvrusb2-debug.h" 20 #include <media/drv-intf/cx25840.h> 22 #include <media/v4l2-common.h> 41 [PVR2_CVAL_INPUT_RADIO] = { /* Treat the same as composite */ 67 /* line-in is used for radio and composite. A GPIO is 138 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_cx25840_subdev_update() [all …]
|
/linux/drivers/media/usb/go7007/ |
H A D | go7007-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 22 #include "go7007-priv.h" 29 /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */ 36 * Pipes on EZ-USB interface: 37 * 0 snd - Control 38 * 0 rcv - Control 39 * 2 snd - Download firmware (control) 40 * 4 rcv - Read Interrupt (interrupt) 41 * 6 rcv - Read Video (bulk) [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_busy.c | 2 * SPDX-License-Identifier: MIT 4 * Copyright © 2014-2016 Intel Corporation 7 #include <linux/dma-fence-array.h> 31 * last_read - hence we always set both read and write busy for in __busy_write_id() 54 * 1. A composite fence (dma_fence_array) constructed of i915 requests in __busy_set_if_active() 55 * created during a parallel submission. In this case we deconstruct the in __busy_set_if_active() 56 * composite fence into individual i915 requests and check the status of in __busy_set_if_active() 63 struct dma_fence **child = array->fences; in __busy_set_if_active() 64 unsigned int nchild = array->num_fences; in __busy_set_if_active() 72 ¤t_fence->flags)) { in __busy_set_if_active() [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | tvp5150.txt | 4 (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV 5 with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats. 9 - compatible: Value must be "ti,tvp5150". 10 - reg: I2C slave address. 14 - pdn-gpios: Phandle for the GPIO connected to the PDN pin, if any. 15 - reset-gpios: Phandle for the GPIO connected to the RESETB pin, if any. 18 and output port, in accordance with the video interface bindings defined in 19 Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes 23 -------------------------------------- 26 Y-OUT src 2 [all …]
|