Home
last modified time | relevance | path

Searched +full:language +full:- +full:id (Results 1 – 25 of 136) sorted by relevance

123456

/linux-6.12.1/drivers/usb/gadget/
Dusbstring.c1 // 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 …]
Dconfigfs.c1 // 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 …]
Dcomposite.c1 // 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-6.12.1/Documentation/ABI/testing/
Dconfigfs-usb-gadget1 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-6.12.1/Documentation/devicetree/bindings/usb/
Daspeed,usb-vhub.yaml1 # 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 …]
Dusb251xb.yaml1 # 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-6.12.1/drivers/hid/
Dhid-uclogic-params.h1 /* 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-6.12.1/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c1 // 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 …]
/linux-6.12.1/tools/perf/Documentation/
Dperf-script.txt1 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-6.12.1/Documentation/usb/
Dgadget_configfs.rst50 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-6.12.1/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd.yaml1 # 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-6.12.1/Documentation/admin-guide/
Dspkguide.txt16 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-6.12.1/include/linux/usb/
Dgadget.h1 // 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 …]
Dcomposite.h1 // 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-6.12.1/drivers/media/pci/ivtv/
Divtv-cards.h1 /* 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-6.12.1/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c1 // 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 …]
Dgmidi.c1 // 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 …]
Dncm.c1 // 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 …]
Dprinter.c1 // 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 …]
/linux-6.12.1/arch/m68k/atari/
Dnvram.c1 // SPDX-License-Identifier: GPL-2.0+
3 * CMOS/NV-RAM driver for Atari. Adapted from drivers/char/nvram.c.
4 * Copyright (C) 1997 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
26 * purpose memory in the NVRAM - that is to say, they all add the
32 * rtc_lock held. Due to the index-port/data-port design of the RTC, we
105 return -EIO; in atari_nvram_read()
107 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_read()
112 return p - buf; in atari_nvram_read()
123 return -EIO; in atari_nvram_write()
125 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_write()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,smd-edge.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
14 some sort - or in SMD language an "edge". The name of the edges are not
24 const: smd-edge
29 - qcom,smd-channels
36 - qcom,smd-channels
55 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/
Dccs.rst1 .. 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-6.12.1/arch/alpha/kernel/
Dsrm_env.c1 // 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-6.12.1/drivers/parport/
DKconfig1 # 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-6.12.1/drivers/media/pci/cx18/
Dcx18-av-core.c1 // 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 …]

123456