/Linux-v5.4/Documentation/usb/ |
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 110 Each configuration also needs its strings, so a subdirectory must be created 113 $ mkdir configs/c.1/strings/0x409 117 $ echo <configuration> > configs/c.1/strings/0x409/configuration [all …]
|
D | functionfs.rst | 8 strings (the user space program has to provide the same information 17 write descriptors and strings to that file. It does not need 18 to worry about endpoints, interfaces or strings numbers but 20 only one (endpoints and strings numbers starting from one and 25 When descriptors and strings are written "ep#" files appear
|
/Linux-v5.4/drivers/usb/gadget/legacy/ |
D | printer.c | 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_IDX].id; in printer_bind() 216 .strings = dev_strings,
|
/Linux-v5.4/sound/core/ |
D | info_oss.c | 21 static DEFINE_MUTEX(strings); 32 mutex_lock(&strings); in snd_oss_info_register() 41 mutex_unlock(&strings); in snd_oss_info_register() 46 mutex_unlock(&strings); in snd_oss_info_register() 57 mutex_lock(&strings); in snd_sndstat_show_strings() 68 mutex_unlock(&strings); in snd_sndstat_show_strings()
|
/Linux-v5.4/Documentation/firmware-guide/acpi/apei/ |
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> description.
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 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() 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, data, in ef4_fill_loopback_test() 271 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 275 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 298 u8 *strings, u64 *data) in ef4_ethtool_fill_self_tests() argument 304 ef4_fill_test(n++, strings, data, &tests->phy_alive, in ef4_ethtool_fill_self_tests() [all …]
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | ethtool.c | 227 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument 238 if (strings) { in efx_fill_test() 245 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test() 273 u8 *strings, u64 *data) in efx_fill_loopback_test() argument 280 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 284 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 289 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 293 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 316 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument 322 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests() [all …]
|
/Linux-v5.4/tools/lib/traceevent/plugins/ |
D | plugin_kvm.c | 225 struct str_values *strings; member 227 { .isa = 1, .strings = vmx_exit_reasons }, 228 { .isa = 2, .strings = svm_exit_reasons }, 234 struct str_values *strings = NULL; in find_exit_reason() local 237 for (i = 0; isa_exit_reasons[i].strings; ++i) in find_exit_reason() 239 strings = isa_exit_reasons[i].strings; in find_exit_reason() 242 if (!strings) in find_exit_reason() 244 for (i = 0; strings[i].val >= 0; i++) in find_exit_reason() 245 if (strings[i].val == val) in find_exit_reason() 248 return strings[i].str; in find_exit_reason()
|
/Linux-v5.4/drivers/xen/xenbus/ |
D | xenbus_xs.c | 373 static unsigned int count_strings(const char *strings, unsigned int len) in count_strings() argument 378 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 396 static char **split(char *strings, unsigned int len, unsigned int *num) in split() argument 401 *num = count_strings(strings, len); in split() 406 kfree(strings); in split() 409 memcpy(&ret[*num], strings, len); in split() 410 kfree(strings); in split() 412 strings = (char *)&ret[*num]; in split() 413 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split() 422 char *strings, *path; in xenbus_directory() local [all …]
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | configfs-usb-gadget | 43 What: /config/usb-gadget/gadget/configs/config/strings 48 strings for this configuration. 50 What: /config/usb-gadget/gadget/configs/config/strings/language 95 7: multiple unicode strings 99 What: /config/usb-gadget/gadget/strings 104 strings for this gadget. 106 What: /config/usb-gadget/gadget/strings/language
|
D | sysfs-platform-phy-rcar-gen3-usb2 | 9 Write the following strings to change the mode: 13 Read the file, then it shows the following strings:
|
/Linux-v5.4/drivers/of/ |
D | unittest.c | 598 const char *strings[4]; in of_unittest_property_string() local 634 rc = of_property_read_string_index(np, "string-property", 0, strings); in of_unittest_property_string() 635 …unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string() 636 strings[0] = NULL; in of_unittest_property_string() 637 rc = of_property_read_string_index(np, "string-property", 1, strings); in of_unittest_property_string() 638 …unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n",… in of_unittest_property_string() 639 rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); in of_unittest_property_string() 640 …unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\… in of_unittest_property_string() 641 rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); in of_unittest_property_string() 642 …unittest(rc == 0 && !strcmp(strings[0], "second"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string() [all …]
|
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 347 u8 *strings; in dpaa_get_strings() local 350 strings = data; in dpaa_get_strings() 358 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 359 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 363 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 364 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 370 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 371 strings += ETH_GSTRING_LEN; in dpaa_get_strings() 375 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings() 376 strings += ETH_GSTRING_LEN; in dpaa_get_strings() [all …]
|
/Linux-v5.4/Documentation/pcmcia/ |
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-v5.4/lib/ |
D | test-string_helpers.c | 40 static const struct test_string strings[] __initconst = { variable 75 for (i = 0; i < ARRAY_SIZE(strings); i++) { in test_string_unescape() 76 const char *s = strings[i].in; in test_string_unescape() 77 int len = strlen(strings[i].in); in test_string_unescape() 84 if (flags & strings[i].flags) { in test_string_unescape() 85 s = strings[i].out; in test_string_unescape() 86 len = strlen(strings[i].out); in test_string_unescape()
|
/Linux-v5.4/Documentation/devicetree/bindings/leds/backlight/ |
D | pm8941-wled.txt | 26 - qcom,num-strings: #; number of led strings attached; value from 1 to 3 41 qcom,num-strings = <2>;
|
/Linux-v5.4/Documentation/devicetree/bindings/leds/ |
D | leds-lm3692x.txt | 7 LED strings it supports. The LM36922 supports two strings while the LM36923 8 supports three strings.
|
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
|
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-v5.4/Documentation/media/uapi/v4l/ |
D | ext-ctrls-fm-rx.rst | 43 name strings. Also from RDS specification, PS is usually a single 45 which can scroll strings sized as 8 x N characters. So, this control 54 ``V4L2_CID_RDS_RX_PS_NAME``. The encoding for Radio Text strings is 56 Radio Text strings depends on which RDS Block is being used to 58 also possible to find receivers which can scroll strings sized as 32
|
/Linux-v5.4/Documentation/devicetree/bindings/clock/ |
D | brcm,iproc-clocks.txt | 29 An ordered list of strings defining the names of the clocks 69 An ordered list of strings defining the names of the ASIU clocks 89 PLL and leaf clock compatible strings for Cygnus are: 142 PLL and leaf clock compatible strings for Hurricane 2 are: 156 PLL and leaf clock compatible strings for Northstar and Northstar Plus are: 186 PLL and leaf clock compatible strings for Northstar 2 are: 234 PLL and leaf clock compatible strings for BCM63138 are: 239 PLL and leaf clock compatible strings for Stingray are:
|
/Linux-v5.4/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 126 } __attribute__ ((__packed__)) strings = { variable 129 .length = htole32(sizeof(strings)), 244 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
|
/Linux-v5.4/Documentation/devicetree/bindings/sifive/ |
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-v5.4/sound/soc/generic/ |
D | simple-card-utils.c | 440 const char **strings, *control_name; in asoc_simple_parse_pin_switches() local 455 strings = devm_kcalloc(dev, nb_controls_max, in asoc_simple_parse_pin_switches() 456 sizeof(*strings), GFP_KERNEL); in asoc_simple_parse_pin_switches() 457 if (!strings) in asoc_simple_parse_pin_switches() 461 strings, nb_controls_max); in asoc_simple_parse_pin_switches() 474 "%s Switch", strings[i]); in asoc_simple_parse_pin_switches() 483 controls[i].private_value = (unsigned long)strings[i]; in asoc_simple_parse_pin_switches()
|
/Linux-v5.4/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 128 } __attribute__ ((__packed__)) strings = { variable 131 .length = htole32(sizeof(strings)), 273 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
|