/linux/drivers/usb/gadget/ |
H A D | configfs.c | 1 // SPDX-License-Identifier: GPL-2.0 26 return -EINVAL; in check_user_usb_string() 28 stringtab_dev->language = num; in check_user_usb_string() 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() 134 str[ret - 1] = '\0'; in usb_string_copy() 144 to_gadget_info(item)->cdev.desc.__name); \ [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 27 * struct usb_os_string - represents OS String to be reported by a gadget 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() 80 descriptors = f->ss_descriptors; in function_descriptors() 85 descriptors = f->hs_descriptors; in function_descriptors() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget | 1 What: /config/usb-gadget 5 This group contains sub-groups corresponding to created 8 What: /config/usb-gadget/gadget 21 names are super-speed-plus, super-speed, 22 high-speed, full-speed, and low-speed. 30 idProduct product ID 31 idVendor vendor ID 34 What: /config/usb-gadget/gadget/configs 40 What: /config/usb-gadget/gadget/configs/config 51 What: /config/usb-gadget/gadget/configs/config/strings [all …]
|
/linux/drivers/hid/ |
H A D | hid-uclogic-params.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 26 /* Types of pen in-range reporting */ 28 /* Normal reports: zero - out of proximity, one - in proximity */ 30 /* Inverted reports: zero - in proximity, one - out of proximity */ 58 * The ID to be assigned to the report, if the second byte of the pen 61 __u8 id; member 67 * Must use declarative (descriptive) language, not imperative, to simplify 88 /* Report ID, if reports should be tweaked, zero if not */ [all …]
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * hub.c - virtual hub handling 26 #include <linux/dma-mapping.h> 38 * - We may need to indicate TT support 39 * - W 907 u16 id; ast_vhub_of_parse_dev_desc() local 986 u8 id; global() member [all...] |
/linux/Documentation/devicetree/bindings/usb/ |
H A D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id [all...] |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-script.txt | 1 perf-script(1) 5 ---- 6 perf-script - Read perf.data (created by perf record) and display trace output 9 -------- 12 'perf script' [<options>] record <script> [<record-options>] <command> 13 'perf script' [<options>] report <script> [script-args] 14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command> 15 'perf script' [<options>] <top-script> [script-args] 18 ----------- 26 You can also run a set of pre-canned scripts that aggregate and [all …]
|
/linux/Documentation/usb/ |
H A D | gadget_configfs.rst | 50 http://www.spinics.net/lists/linux-usb/msg76388.html) 55 $ mount none $CONFIGFS_HOME -t configfs 60 ----------------------- 76 Each gadget needs to have its vendor id <VID> and product id <PID> specified:: 83 for each language, e.g.:: 94 language's directory, with the string text being written to the "s" attribute 104 ------------------------------ 121 for each language, e.g.:: 134 ------------------------- 150 Each function provides its specific set of attributes, with either read-only [all …]
|
/linux/Documentation/admin-guide/ |
H A D | spkguide.txt | 16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A 25 http://linux-speakup.org/. Speakup is a set of patches to the standard 72 acntsa -- Accent SA 73 acntpc -- Accent PC 74 apollo -- Apollo 75 audptr -- Audapter 76 bns -- Braille 'n Speak 77 dectlk -- DecTalk Express (old and new, db9 serial only) 78 decext -- DecTalk (old) External 79 dtlk -- DoubleTalk PC [all …]
|
/linux/include/linux/usb/ |
H A D | gadget.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * We call the USB code inside a Linux-based peripheral device a "gadget" 6 * driver, except for the hardware-specific bus glue. One USB host can 11 * (C) Copyright 2002-2004 by David Brownell 34 * struct usb_request - describes one i/o request 40 * @sg: a scatterlist for SG-capable controllers. 44 * @stream_id: The stream id, when USB3.0 bulk streams are being used 57 * its buffer may be re-used. The function will always be called with 72 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, 79 * reside in a device-side FIFO when the request is reported as [all …]
|
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 14 * functions within any single configuration, and (b) Multi-configuration 40 * must delay completing the status stage for 0-length control transfers 59 * struct usb_os_desc_ext_prop - describes one "Extended Property" 79 * struct usb_os_desc - describes OS descriptors associated with one interface 80 * @ext_compat_id: 16 bytes of "Compatible ID" and "Subcompatible ID" 99 * struct usb_os_desc_table - describes OS descriptors associated with one 101 * @if_id: Interface id [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,smd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 18 Using the top-level SMD node is deprecated. Instead, the SMD edges are defined 29 "^smd-edge|rpm$": 30 $ref: /schemas/remoteproc/qcom,smd-edge.yaml# [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-cards.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 14 #define IVTV_CARD_PVR_350 1 /* encoder, decoder, tv-out */ 18 #define IVTV_CARD_MPG600 4 /* Kuroutoshikou ITVC16-STVLP/YUAN MPG600, encoder only */ 19 #define IVTV_CARD_MPG160 5 /* Kuroutoshikou ITVC15-STVLP/YUAN MPG160 20 cx23415 based, but does not have tv-out */ 21 #define IVTV_CARD_PG600 6 /* YUAN PG600/DIAMONDMM PVR-550 based on the CX Falcon 2 */ 22 #define IVTV_CARD_AVC2410 7 /* Adaptec AVC-2410 */ 23 #define IVTV_CARD_AVC2010 8 /* Adaptec AVD-2010 (No Tuner) */ [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Target based USB-Gadget 5 * BBB (USB Mass Storage Class Bulk-Only (BBB) and Transport protocol handling. 29 #define UAS_PRODUCT_ID 0xa4a5 /* Linux-USB File-backed Storage Gadget */ 52 .language = 0x0409, 107 usbg_us_strings[USB_GADGET_MANUFACTURER_IDX].id; in usb_target_bind() 108 usbg_device_desc.iProduct = usbg_us_strings[USB_GADGET_PRODUCT_IDX].id; in usb_target_bind() 110 usbg_us_strings[USB_GADGET_SERIAL_IDX].id; in usb_target_bind() 112 usbg_us_strings[USB_G_STR_CONFIG].id; in usb_target_bind() 149 mutex_lock(&tcm_opts->dep_lock); in usb_target_gadget_init() [all …]
|
H A D | gmidi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gmidi.c -- USB MIDI Gadget Driver 11 * Gadget Zero driver, Copyright (C) 2003-2004 David Brownell. 13 * USB MIDI driver, Copyright (C) 2002-2005 Clemens Ladisch. 31 /*-------------------------------------------------------------------------*/ 45 static char *id = SNDRV_DEFAULT_STR1; variable 46 module_param(id, charp, S_IRUGO); 47 MODULE_PARM_DESC(id, "ID string for the USB MIDI Gadget adapter."); 65 /* Thanks to Grey Innovation for donating this product ID. 67 * DO NOT REUSE THESE IDs with a protocol-incompatible driver!! Ever!! [all …]
|
H A D | ncm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * ncm.c -- NCM gadget driver 10 * Copyright (C) 2003-2005,2008 David Brownell 11 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 27 /*-------------------------------------------------------------------------*/ 29 /* DO NOT REUSE THESE IDs with a protocol-incompatible driver!! Ever!! 30 * Instead: allocate your own, using normal USB-IF procedures. 33 /* Thanks to NetChip Technologies for donating this product ID. 37 #define CDC_PRODUCT_NUM 0xa4a1 /* Linux-USB Ethernet Gadget */ 39 /*-------------------------------------------------------------------------*/ [all …]
|
H A D | printer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * printer.c -- Printer gadget driver 5 * Copyright (C) 2003-2005 David Brownell 27 /*-------------------------------------------------------------------------*/ 29 /* DO NOT REUSE THESE IDs with a protocol-incompatible driver!! Ever!! 30 * Instead: allocate your own, using normal USB-IF procedures. 33 /* Thanks to NetChip Technologies for donating this product ID. 36 #define PRINTER_PRODUCT_NUM 0xa4a8 /* Linux-USB Printer Gadget */ 40 * parameters are in UTF-8 (superset of ASCII's 7 bit characters). 60 /*-------------------------------------------------------------------------*/ [all …]
|
H A D | cdc2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * cdc2.c -- CDC Composite driver, with ECM and ACM support 20 /*-------------------------------------------------------------------------*/ 22 /* DO NOT REUSE THESE IDs with a protocol-incompatible driver!! Ever!! 23 * Instead: allocate your own, using normal USB-IF procedures. 26 /* Thanks to NetChip Technologies for donating this product ID. 36 /*-------------------------------------------------------------------------*/ 49 /* Vendor and product id can be overridden by module parameters. */ 70 .language = 0x0409, /* en-us */ 79 /*-------------------------------------------------------------------------*/ [all …]
|
H A D | mass_storage.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mass_storage.c -- Mass Storage USB Gadget 5 * Copyright (C) 2003-2008 Alan Stern 14 * appearing to the host as a disk drive or as a CD-ROM drive. In 17 * double-buffering for increased throughput. Last but not least, it 31 /*-------------------------------------------------------------------------*/ 37 * Thanks to NetChip Technologies for donating this product ID. 40 * Instead: allocate your own, using normal USB-IF procedures. 43 #define FSG_PRODUCT_ID 0xa4a5 /* Linux-USB File-backed Storage Gadget */ 47 /*-------------------------------------------------------------------------*/ [all …]
|
/linux/arch/alpha/kernel/ |
H A D | srm_env.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * srm_env.c - Access to SRM environment 6 * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 31 MODULE_AUTHOR("Jan-Benedict Glaw <jbglaw@lug-owl.de>"); 37 unsigned long id; member 58 { "language", ENV_LANGUAGE }, 66 unsigned long id = (unsigned long)m->private; in srm_env_proc_show() local 71 return -ENOMEM; in srm_env_proc_show() 73 ret = callback_getenv(id, page, PAGE_SIZE); in srm_env_proc_show() 79 ret = -EFAULT; in srm_env_proc_show() [all …]
|
/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 5 .. _media-ccs-driver: 11 <https://www.mipi.org/specifications/camera-command-set>`_ compliant 14 Also see :ref:`the CCS driver UAPI documentation <media-ccs-uapi>`. 17 --------------- 23 ccs/ccs-sensor-vvvv-mmmm-rrrr.fw (sensor) and 24 ccs/ccs-module-vvvv-mmmm-rrrr.fw (module). 28 ccs/smiapp-sensor-vv-mmmm-rr.fw (sensor) and 29 ccs/smiapp-module-vv-mmmm-rrrr.fw (module). 31 For SMIA (non-++) compliant devices the static data file name is [all …]
|
/linux/drivers/parport/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 24 <file:Documentation/admin-guide/parport.rst> and 25 <file:drivers/parport/BUGS-parport>. 28 to the parallel port see <http://www.torque.net/linux-pp.html> on 37 look at <file:Documentation/admin-guide/parport.rst>. 44 tristate "PC-style hardware" 48 You should say Y here if you have a PC-style parallel port. All 49 IBM PC compatible computers and some Alphas have PC-style 50 parallel ports. PA-RISC owners should only say Y here if they [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-core.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 106 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz pre post-div*/ in cx18_av_init() 127 /* enable sleep mode - register appears to be read only... */ in cx18_av_initialize() 167 * Disable Video Auto-config of the Analog Front End and Video PLL. in cx18_av_initialize() 171 * 0x102 (CXADEC_CHIP_CTRL), 0x104-0x106 (CXADEC_AFE_CTRL), in cx18_av_initialize() 172 * 0x108-0x109 (CXADEC_PLL_CTRL1), and 0x10c-0x10f (CXADEC_VID_PLL_FRAC) in cx18_av_initialize() [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | board-palmte.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-palmte.c 5 * Modified from board-generic.c 12 * palmtelinux-developpers@lists.sf.net 27 #include <linux/apm-emulation.h> 29 #include <linux/omap-dma.h> 30 #include <linux/platform_data/keypad-omap.h> 33 #include <asm/mach-types.h> 90 .name = "omap-keypad", 91 .id = -1, [all …]
|