Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.1.9/net/ethtool/
Dstrset.c12 const char (*strings)[ETH_GSTRING_LEN]; member
28 .strings = netdev_features_strings,
33 .strings = rss_hash_func_strings,
38 .strings = tunable_strings,
46 .strings = phy_tunable_strings,
51 .strings = link_mode_names,
56 .strings = netif_msg_class_names,
61 .strings = wol_mode_names,
66 .strings = sof_timestamping_names,
71 .strings = ts_tx_type_names,
[all …]
/linux-6.1.9/Documentation/usb/
Dgadget_configfs.rst81 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.rst8 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-6.1.9/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-6.1.9/sound/core/
Dinfo_oss.c21 static DEFINE_MUTEX(strings);
32 mutex_lock(&strings); in snd_oss_info_register()
40 mutex_unlock(&strings); in snd_oss_info_register()
45 mutex_unlock(&strings); in snd_oss_info_register()
56 mutex_lock(&strings); in snd_sndstat_show_strings()
67 mutex_unlock(&strings); in snd_sndstat_show_strings()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dethtool_common.c266 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
277 if (strings) { in efx_fill_test()
284 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
311 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
318 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
322 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
327 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
331 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
354 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
360 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dethtool_common.c209 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
220 if (strings) { in efx_fill_test()
227 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
254 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
261 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
265 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
270 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
274 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
297 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
303 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
[all …]
/linux-6.1.9/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst15 <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-6.1.9/drivers/net/ethernet/sfc/falcon/
Dethtool.c209 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-6.1.9/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml103 qcom,num-strings:
105 number of led strings attached.
108 qcom,enabled-strings:
110 Array of the WLED strings numbered from 0 to 3. Each
112 list of strings used by the device. Any combination of
113 led strings can be used.
185 qcom,num-strings:
206 qcom,num-strings:
260 qcom,num-strings = <2>;
261 qcom,enabled-strings = <0 1>;
/linux-6.1.9/drivers/xen/xenbus/
Dxenbus_xs.c376 static unsigned int count_strings(const char *strings, unsigned int len) in count_strings() argument
381 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings()
399 static char **split(char *strings, unsigned int len, unsigned int *num) in split() argument
404 *num = count_strings(strings, len); in split()
409 kfree(strings); in split()
412 memcpy(&ret[*num], strings, len); in split()
413 kfree(strings); in split()
415 strings = (char *)&ret[*num]; in split()
416 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split()
425 char *strings, *path; in xenbus_directory() local
[all …]
/linux-6.1.9/tools/lib/traceevent/plugins/
Dplugin_kvm.c229 struct str_values *strings; member
231 { .isa = 1, .strings = vmx_exit_reasons },
232 { .isa = 2, .strings = svm_exit_reasons },
238 struct str_values *strings = NULL; in find_exit_reason() local
241 for (i = 0; isa_exit_reasons[i].strings; ++i) in find_exit_reason()
243 strings = isa_exit_reasons[i].strings; in find_exit_reason()
246 if (!strings) in find_exit_reason()
248 for (i = 0; strings[i].str; i++) in find_exit_reason()
249 if (strings[i].val == val) in find_exit_reason()
252 return strings[i].str; in find_exit_reason()
/linux-6.1.9/Documentation/ABI/testing/
Dconfigfs-usb-gadget51 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
Dsysfs-platform-phy-rcar-gen3-usb29 Write the following strings to change the mode:
14 Read the file, then it shows the following strings:
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c306 u8 *strings; in dpaa_get_strings() local
309 strings = data; in dpaa_get_strings()
317 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
318 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
322 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
323 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
328 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
329 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
332 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
333 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/linux-6.1.9/Documentation/pcmcia/
Ddevicetable.rst10 - 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-6.1.9/drivers/of/
Dunittest.c685 const char *strings[4]; in of_unittest_property_string() local
721 rc = of_property_read_string_index(np, "string-property", 0, strings); in of_unittest_property_string()
722 …unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string()
723 strings[0] = NULL; in of_unittest_property_string()
724 rc = of_property_read_string_index(np, "string-property", 1, strings); in of_unittest_property_string()
725 …unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n",… in of_unittest_property_string()
726 rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); in of_unittest_property_string()
727 …unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\… in of_unittest_property_string()
728 rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); in of_unittest_property_string()
729 …unittest(rc == 0 && !strcmp(strings[0], "second"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dext-ctrls-fm-rx.rst36 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-6.1.9/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-6.1.9/Documentation/devicetree/bindings/leds/
Dleds-lm3692x.txt7 LED strings it supports. The LM36922 supports two strings while the LM36923
8 supports three strings.
Dleds-lm36274.txt4 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
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/sifive/
Dsifive-blocks-ip-versioning.txt4 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-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ethtool.c83 char *strings = (char *)data; in octep_get_strings() local
89 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
91 strings += ETH_GSTRING_LEN; in octep_get_strings()
96 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
98 strings += ETH_GSTRING_LEN; in octep_get_strings()
104 snprintf(strings, ETH_GSTRING_LEN, in octep_get_strings()
106 strings += ETH_GSTRING_LEN; in octep_get_strings()
/linux-6.1.9/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()

12345678910>>...17