Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/Linux-v4.19/Documentation/usb/
Dgadget_configfs.txt81 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 …]
Dfunctionfs.txt6 strings (the user space program has to provide the same information
15 write descriptors and strings to that file. It does not need
16 to worry about endpoints, interfaces or strings numbers but
18 only one (endpoints and strings numbers starting from one and
23 When descriptors and strings are written "ep#" files appear
/Linux-v4.19/drivers/usb/gadget/legacy/
Dprinter.c91 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-v4.19/sound/core/
Dinfo_oss.c36 static DEFINE_MUTEX(strings);
47 mutex_lock(&strings); in snd_oss_info_register()
56 mutex_unlock(&strings); in snd_oss_info_register()
61 mutex_unlock(&strings); in snd_oss_info_register()
72 mutex_lock(&strings); in snd_sndstat_show_strings()
83 mutex_unlock(&strings); in snd_sndstat_show_strings()
/Linux-v4.19/Documentation/acpi/apei/
Doutput_format.txt12 <section flags strings>
20 <section flags strings># :=
35 <proc error type strings>]
38 <proc flags strings>]
51 <processor error type strings># :=
57 <proc flags strings># :=
136 All <field strings> description with # has the following format:
139 <field strings>
141 Where each string in <fields strings> corresponding to one set bit of
143 strings> description.
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dethtool.c212 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, in ef4_fill_test() argument
223 if (strings) { in ef4_fill_test()
230 snprintf(strings + test_index * ETH_GSTRING_LEN, in ef4_fill_test()
258 u8 *strings, u64 *data) in ef4_fill_loopback_test() argument
265 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
269 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
274 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
278 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
301 u8 *strings, u64 *data) in ef4_ethtool_fill_self_tests() argument
307 ef4_fill_test(n++, strings, data, &tests->phy_alive, in ef4_ethtool_fill_self_tests()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/
Dethtool.c230 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
241 if (strings) { in efx_fill_test()
248 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
276 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
283 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
287 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
292 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
296 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
319 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
325 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
[all …]
/Linux-v4.19/tools/lib/traceevent/
Dplugin_kvm.c224 struct str_values *strings; member
226 { .isa = 1, .strings = vmx_exit_reasons },
227 { .isa = 2, .strings = svm_exit_reasons },
233 struct str_values *strings = NULL; in find_exit_reason() local
236 for (i = 0; isa_exit_reasons[i].strings; ++i) in find_exit_reason()
238 strings = isa_exit_reasons[i].strings; in find_exit_reason()
241 if (!strings) in find_exit_reason()
243 for (i = 0; strings[i].val >= 0; i++) in find_exit_reason()
244 if (strings[i].val == val) in find_exit_reason()
247 return strings[i].str; in find_exit_reason()
/Linux-v4.19/drivers/xen/xenbus/
Dxenbus_xs.c370 static unsigned int count_strings(const char *strings, unsigned int len) in count_strings() argument
375 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings()
393 static char **split(char *strings, unsigned int len, unsigned int *num) in split() argument
398 *num = count_strings(strings, len); in split()
403 kfree(strings); in split()
406 memcpy(&ret[*num], strings, len); in split()
407 kfree(strings); in split()
409 strings = (char *)&ret[*num]; in split()
410 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split()
419 char *strings, *path; in xenbus_directory() local
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget43 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
Dsysfs-platform-phy-rcar-gen3-usb29 Write the following strings to change the mode:
13 Read the file, then it shows the following strings:
/Linux-v4.19/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c371 u8 *strings; in dpaa_get_strings() local
374 strings = data; in dpaa_get_strings()
382 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
383 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
387 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
388 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
394 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
395 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
399 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
400 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/Linux-v4.19/drivers/of/
Dunittest.c584 const char *strings[4]; in of_unittest_property_string() local
620 rc = of_property_read_string_index(np, "string-property", 0, strings); in of_unittest_property_string()
621 …unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string()
622 strings[0] = NULL; in of_unittest_property_string()
623 rc = of_property_read_string_index(np, "string-property", 1, strings); in of_unittest_property_string()
624 …unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n",… in of_unittest_property_string()
625 rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); in of_unittest_property_string()
626 …unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\… in of_unittest_property_string()
627 rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); in of_unittest_property_string()
628 …unittest(rc == 0 && !strcmp(strings[0], "second"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string()
[all …]
/Linux-v4.19/Documentation/pcmcia/
Ddevicetable.txt6 - product ID strings _and_ hashes of these strings
13 If you want to match product ID strings, you also need to pass the crc32
22 You can determine the hash of the product ID strings by catting the file
/Linux-v4.19/lib/
Dtest-string_helpers.c40 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-v4.19/Documentation/devicetree/bindings/leds/backlight/
Dpm8941-wled.txt26 - qcom,num-strings: #; number of led strings attached; value from 1 to 3
41 qcom,num-strings = <2>;
/Linux-v4.19/Documentation/devicetree/bindings/leds/
Dleds-lm3692x.txt7 LED strings it supports. The LM36922 supports two strings while the LM36923
8 supports three strings.
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dbrcm,iproc-clocks.txt29 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-v4.19/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c126 } __attribute__ ((__packed__)) strings = { variable
129 .length = htole32(sizeof(strings)),
244 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
/Linux-v4.19/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c128 } __attribute__ ((__packed__)) strings = { variable
131 .length = htole32(sizeof(strings)),
273 if (write(ep0, &strings, sizeof(strings)) < 0) { in main()
/Linux-v4.19/Documentation/devicetree/bindings/iio/multiplexer/
Dio-channel-mux.txt14 - channels : List of strings, labeling the mux controller states.
18 the list of strings in the channels property, and also matches the mux
/Linux-v4.19/tools/perf/util/
Ddebug.c264 char **strings = backtrace_symbols(array, size); in dump_stack() local
270 printf("%s\n", strings[i]); in dump_stack()
272 free(strings); in dump_stack()
/Linux-v4.19/Documentation/devicetree/bindings/usb/
Datmel-usb.txt11 - clock-names: Should contain three strings
38 - clock-names: Should contain two strings
61 - clock-names: Should contain two strings
88 - clock-names: Should contain two strings
/Linux-v4.19/drivers/usb/gadget/
Dcomposite.c1072 sp = composite->strings; in get_string()
1077 sp = c->strings; in get_string()
1082 sp = f->strings; in get_string()
1129 if (composite->strings) { in get_string()
1130 len = lookup_string(composite->strings, buf, language, id); in get_string()
1135 if (c->strings) { in get_string()
1136 len = lookup_string(c->strings, buf, language, id); in get_string()
1141 if (!f->strings) in get_string()
1143 len = lookup_string(f->strings, buf, language, id); in get_string()
1240 gs->strings = stash; in copy_gadget_strings()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Domap-mcbsp.txt11 - reg-names: Array of strings associated with the address space
17 - interrupt-names: Array of strings associated with the interrupt numbers

12345678910>>...14