| /kernel/linux/linux-6.6/drivers/usb/gadget/ |
| D | usbstring.c | 1 // SPDX-License-Identifier: LGPL-2.1+ 19 * usb_gadget_get_string - fill out a string descriptor 20 * @table: of c strings encoded using UTF-8 21 * @id: string id, from low byte of wValue in get string descriptor 22 * @buf: at least 256 bytes, must be 16-bit aligned 24 * Finds the UTF-8 string matching the ID, and converts it into a 25 * string descriptor in utf16-le. 30 * using this routine after choosing which set of UTF-8 strings to use. 31 * Note that US-ASCII is a strict subset of UTF-8; any string bytes with 32 * the eighth bit set will be multibyte UTF-8 characters, not ISO-8859/1 [all …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/ |
| D | usbstring.c | 1 // SPDX-License-Identifier: LGPL-2.1+ 19 * usb_gadget_get_string - fill out a string descriptor 20 * @table: of c strings encoded using UTF-8 21 * @id: string id, from low byte of wValue in get string descriptor 22 * @buf: at least 256 bytes, must be 16-bit aligned 24 * Finds the UTF-8 string matching the ID, and converts it into a 25 * string descriptor in utf16-le. 30 * using this routine after choosing which set of UTF-8 strings to use. 31 * Note that US-ASCII is a strict subset of UTF-8; any string bytes with 32 * the eighth bit set will be multibyte UTF-8 characters, not ISO-8859/1 [all …]
|
| 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 24 * struct usb_os_string - represents OS String to be reported by a gadget 43 * with the relevant device-wide data. 49 return (struct usb_gadget_strings **)uc->stash; in get_containers_gs() 53 * function_descriptors() - get function descriptors for speed 72 descriptors = f->ssp_descriptors; in function_descriptors() 77 descriptors = f->ss_descriptors; in function_descriptors() 82 descriptors = f->hs_descriptors; in function_descriptors() [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| 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 22 /* Types of pen in-range reporting */ 24 /* Normal reports: zero - out of proximity, one - in proximity */ 26 /* Inverted reports: zero - in proximity, one - out of proximity */ 32 /* Convert a pen in-range reporting type to a string */ 39 * Must use declarative (descriptive) language, not imperative, to simplify 55 /* Report ID, if reports should be tweaked, zero if not */ 56 unsigned int id; member [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 46 aspeed,vhub-generic-endpoints: [all …]
|
| D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 46 aspeed,vhub-generic-endpoints: [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
| 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 25 #include <linux/dma-mapping.h> 37 * - We may need to indicate TT support 38 * - We may need a device qualifier descriptor 40 * - Make vid/did overridable 41 * - make it look like usb1 if usb1 mode forced 144 * These strings converted to UTF-16 must be smaller than 149 .id = AST_VHUB_STR_SERIAL, [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
| 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 31 #include <linux/dma-mapping.h> 43 * - We may need to indicate TT support 44 * - We may need a device qualifier descriptor 46 * - Make vid/did overridable 47 * - make it look like usb1 if usb1 mode forced 138 * These strings converted to UTF-16 must be smaller than 143 .id = AST_VHUB_STR_SERIAL, [all …]
|
| /kernel/linux/linux-6.6/tools/perf/Documentation/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/Documentation/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/usb/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/usb/ |
| D | functionfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 29 /* Descriptor of an non-audio endpoint */ 93 * |-----+-----------+--------------+--------------------------------------| 98 * | | fs_count | LE32 | number of full-speed descriptors | 99 * | | hs_count | LE32 | number of high-speed descriptors | 100 * | | ss_count | LE32 | number of super-speed descriptors | 102 * | | fs_descrs | Descriptor[] | list of full-speed descriptors | 103 * | | hs_descrs | Descriptor[] | list of high-speed descriptors | 104 * | | ss_descrs | Descriptor[] | list of super-speed descriptors | 109 * rejected with -ENOSYS. [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/usb/ |
| D | functionfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 29 /* Descriptor of an non-audio endpoint */ 93 * |-----+-----------+--------------+--------------------------------------| 98 * | | fs_count | LE32 | number of full-speed descriptors | 99 * | | hs_count | LE32 | number of high-speed descriptors | 100 * | | ss_count | LE32 | number of super-speed descriptors | 102 * | | fs_descrs | Descriptor[] | list of full-speed descriptors | 103 * | | hs_descrs | Descriptor[] | list of high-speed descriptors | 104 * | | ss_descrs | Descriptor[] | list of super-speed descriptors | 109 * rejected with -ENOSYS. [all …]
|
| /kernel/linux/linux-5.10/Documentation/usb/ |
| 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 ------------------------------ 111 for each language, e.g.:: 124 ------------------------- 140 Each function provides its specific set of attributes, with either read-only 141 or read-write access. Where applicable they need to be written to as [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| 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 35 * struct usb_request - describes one i/o request 41 * @sg: a scatterlist for SG-capable controllers. 45 * @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 …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/legacy/ |
| 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 …]
|