/linux/Documentation/usb/ |
H A D | gadget_configfs.rst | 81 A gadget also needs its serial number, manufacturer and product strings. 82 In order to have a place to store them, a strings subdirectory must be created 85 $ mkdir strings/0x409 87 Then the strings can be specified:: 89 $ echo <serial number> > strings/0x409/serialnumber 90 $ echo <manufacturer> > strings/0x409/manufacturer 91 $ echo <product> > strings/0x409/product 97 $ mkdir strings/0x409/xu.0 98 $ echo <string text> > strings/0x409/xu.0/s 101 string descriptors to associate those strings wit [all...] |
H A D | functionfs.rst | 11 strings (the user space program has to provide the same information 20 write descriptors and strings to that file. It does not need 21 to worry about endpoints, interfaces or strings numbers but 23 only one (endpoints and strings numbers starting from one and 30 When descriptors and strings are written "ep#" files appear
|
/linux/drivers/usb/gadget/legacy/ |
H A D | printer.c | 39 * device descriptor, either numbers or strings or both. These string 63 * DESCRIPTORS ... most are static, but strings and (full) configuration 90 /* static strings, in UTF-8 */ 91 static struct usb_string strings [] = { variable 100 .strings = strings, 166 ret = usb_string_ids_tab(cdev, strings); in printer_bind() 170 device_desc.iManufacturer = strings[USB_GADGET_MANUFACTURER_IDX].id; in printer_bind() 171 device_desc.iProduct = strings[USB_GADGET_PRODUCT_IDX].id; in printer_bind() 172 device_desc.iSerialNumber = strings[USB_GADGET_SERIAL_ID in printer_bind() [all...] |
/linux/Documentation/firmware-guide/acpi/apei/ |
H A D | output_format.rst | 15 <section flags strings> 23 <section flags strings># := 38 <proc error type strings>] 41 <proc flags strings>] 54 <processor error type strings># := 60 <proc flags strings># := 139 All <field strings> description with # has the following format:: 142 <field strings> 144 Where each string in <fields strings> corresponding to one set bit of 146 strings> descriptio [all...] |
/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 247 * @strings: Ethtool strings, or %NULL 257 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument 268 if (strings) { in efx_fill_test() 275 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test() 292 * @strings: Ethtool strings, or %NULL 302 u8 *strings, u64 *data) in efx_fill_loopback_test() argument 309 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 313 efx_fill_test(test_index++, strings, dat in efx_fill_loopback_test() 345 efx_ethtool_fill_self_tests(struct efx_nic * efx,struct efx_self_tests * tests,u8 * strings,u64 * data) efx_ethtool_fill_self_tests() argument 398 efx_describe_per_queue_stats(struct efx_nic * efx,u8 ** strings) efx_describe_per_queue_stats() argument 458 efx_ethtool_get_strings(struct net_device * net_dev,u32 string_set,u8 * strings) efx_ethtool_get_strings() argument [all...] |
H A D | ethtool_common.h | 26 u8 *strings, u64 *data); 29 u8 *strings);
|
/linux/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 390 static unsigned int count_strings(const char *strings, unsigned int len) in count_strings() argument 395 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 413 static char **split(char *strings, unsigned int len, unsigned int *num) in split() argument 417 /* Count the strings. */ in split() 418 *num = count_strings(strings, len); in split() 423 kfree(strings); in split() 426 memcpy(&ret[*num], strings, len); in split() 427 kfree(strings); in split() 429 strings in split() 439 char *strings, *path; xenbus_directory() local [all...] |
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 199 * @strings: Ethtool strings, or %NULL 209 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, in ef4_fill_test() argument 220 if (strings) { in ef4_fill_test() 227 snprintf(strings + test_index * ETH_GSTRING_LEN, in ef4_fill_test() 245 * @strings: Ethtool strings, or %NULL 255 u8 *strings, u64 *data) in ef4_fill_loopback_test() argument 262 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 266 ef4_fill_test(test_index++, strings, dat in ef4_fill_loopback_test() 298 ef4_ethtool_fill_self_tests(struct ef4_nic * efx,struct ef4_self_tests * tests,u8 * strings,u64 * data) ef4_ethtool_fill_self_tests() argument 356 ef4_describe_per_queue_stats(struct ef4_nic * efx,u8 ** strings) ef4_describe_per_queue_stats() argument 403 ef4_ethtool_get_strings(struct net_device * net_dev,u32 string_set,u8 * strings) ef4_ethtool_get_strings() argument [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_reloc_raw.c | 25 char strings[128]; in test_bad_local_id() member 33 .str_off = offsetof(struct test_btf, strings) - in test_bad_local_id() 35 .str_len = sizeof(raw_btf.strings), in test_bad_local_id() 44 .strings = "\0int\0 0\0foo\0" in test_bad_local_id()
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget | 51 What: /config/usb-gadget/gadget/configs/config/strings 56 strings for this configuration. 58 What: /config/usb-gadget/gadget/configs/config/strings/language 109 - 7: multiple unicode strings 114 What: /config/usb-gadget/gadget/strings 119 strings for this gadget. 121 What: /config/usb-gadget/gadget/strings/language
|
H A D | sysfs-platform-phy-rcar-gen3-usb2 | 9 Write the following strings to change the mode: 14 Read the file, then it shows the following strings:
|
/linux/Documentation/pcmcia/ |
H A D | devicetable.rst | 10 - product ID strings _and_ hashes of these strings 17 If you want to match product ID strings, you also need to pass the crc32 26 You can determine the hash of the product ID strings by catting the file
|
/linux/sound/core/ |
H A D | info_oss.c | 21 static DEFINE_MUTEX(strings); 32 guard(mutex)(&strings); in snd_oss_info_register() 53 guard(mutex)(&strings); in snd_sndstat_show_strings()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-fm-rx.rst | 36 name strings. Also from RDS specification, PS is usually a single 38 which can scroll strings sized as 8 x N characters. So, this control 47 ``V4L2_CID_RDS_RX_PS_NAME``. The encoding for Radio Text strings is 49 Radio Text strings depends on which RDS Block is being used to 51 also possible to find receivers which can scroll strings sized as 32
|
/linux/lib/tests/ |
H A D | string_helpers_kunit.c | 31 static const struct test_string strings[] = { variable 68 for (i = 0; i < ARRAY_SIZE(strings); i++) { in test_string_unescape() 69 const char *s = strings[i].in; in test_string_unescape() 70 int len = strlen(strings[i].in); in test_string_unescape() 77 if (flags & strings[i].flags) { in test_string_unescape() 78 s = strings[i].out; in test_string_unescape() 79 len = strlen(strings[i].out); in test_string_unescape() 436 /* Don't try strings that have no output */ in test_string_escape()
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm36274.txt | 4 The backlight boost provides the power to bias four parallel LED strings with 20 - led-sources : Indicates which LED strings will be enabled. 21 Values from 0-3, sources is 0 based so strings will be
|
H A D | leds-lm3532.txt | 55 - ti,led-mode : Defines if the LED strings are manually controlled or 56 if the LED strings are controlled by the ALS. 57 0x00 - LED strings are I2C controlled via full scale 59 0x01 - LED strings are ALS controlled
|
/linux/Documentation/devicetree/bindings/sifive/ |
H A D | sifive-blocks-ip-versioning.txt | 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 9 IP block-specific DT compatible strings are contained within the HDL, 26 match on these IP block-specific compatible strings.
|
/linux/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 144 } __attribute__ ((__packed__)) strings = { variable 147 .length = cpu_to_le32(sizeof(strings)), 262 if (write(ep0, &strings, sizeof(strings)) < 0) { in main() 263 perror("unable to write strings"); in main()
|
/linux/drivers/of/ |
H A D | unittest.c | 304 /* use strcmp() instead of strncmp() here to be absolutely sure strings match */ in of_unittest_printf_one() 715 const char *strings[4]; in of_unittest_property_string() local 751 rc = of_property_read_string_index(np, "string-property", 0, strings); in of_unittest_property_string() 752 unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i\n", rc); in of_unittest_property_string() 753 strings[0] = NULL; in of_unittest_property_string() 754 rc = of_property_read_string_index(np, "string-property", 1, strings); in of_unittest_property_string() 755 unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); in of_unittest_property_string() 756 rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); in of_unittest_property_string() 757 unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\n", rc); in of_unittest_property_string() 758 rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); in of_unittest_property_string() [all...] |
/linux/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 128 } __attribute__ ((__packed__)) strings = { variable 131 .length = htole32(sizeof(strings)), 273 if (write(ep0, &strings, sizeof(strings)) < 0) { in main() 274 perror("unable to write strings"); in main()
|
/linux/Documentation/devicetree/bindings/ |
H A D | .yamllint | 4 quoted-strings: 43 check-multi-line-strings: false
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | atmel-usb.txt | 11 - clock-names: Should contain three strings 38 - clock-names: Should contain two strings 65 - clock-names: Should contain two strings 96 - clock-names: Should contain two strings
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | omap-mcbsp.txt | 11 - reg-names: Array of strings associated with the address space 17 - interrupt-names: Array of strings associated with the interrupt numbers
|
/linux/Documentation/devicetree/bindings/hsi/ |
H A D | nokia-modem.txt | 12 - hsi-channel-names: Should contain the following strings 19 - gpio-names: Should contain the following strings
|