Home
last modified time | relevance | path

Searched full:strings (Results 1 – 25 of 1123) sorted by relevance

12345678910>>...45

/linux-6.12.1/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.12.1/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
97 $ mkdir strings/0x409/xu.0
98 $ echo <string text> > strings/0x409/xu.0/s
101 string descriptors to associate those strings with class descriptors.
[all …]
Dfunctionfs.rst11 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-6.12.1/drivers/net/ethernet/sfc/siena/
Dethtool_common.c199 * @strings: Ethtool strings, or %NULL
209 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()
244 * @strings: Ethtool strings, or %NULL
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()
[all …]
/linux-6.12.1/drivers/net/ethernet/sfc/
Dethtool_common.c248 * @strings: Ethtool strings, or %NULL
258 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
269 if (strings) { in efx_fill_test()
276 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
293 * @strings: Ethtool strings, or %NULL
303 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
310 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
314 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
319 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
323 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
[all …]
/linux-6.12.1/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.12.1/drivers/usb/gadget/legacy/
Dprinter.c39 * 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_IDX].id; in printer_bind()
216 .strings = dev_strings,
/linux-6.12.1/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml104 qcom,num-strings:
106 number of led strings attached.
109 qcom,enabled-strings:
111 Array of the WLED strings numbered from 0 to 3. Each
113 list of strings used by the device. Any combination of
114 led strings can be used.
186 qcom,num-strings:
207 qcom,num-strings:
261 qcom,num-strings = <2>;
262 qcom,enabled-strings = <0 1>;
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/
Dethtool.c199 * @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, 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()
[all …]
/linux-6.12.1/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.12.1/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
Dext-ctrls-fm-tx.rst42 name strings. Also from RDS specification, PS is usually a single
44 which can scroll strings sized as 8 x N characters. So, this control
54 The encoding for Radio Text strings is also fully described in Annex
55 E of :ref:`iec62106`. The length of Radio Text strings depends on
58 which can scroll strings sized as 32 x N or 64 x N characters. So,
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c248 u8 *strings; in dpaa_get_strings() local
251 strings = data; in dpaa_get_strings()
259 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
260 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
264 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
265 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
270 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
271 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
274 memcpy(strings, string_cpu, ETH_GSTRING_LEN); in dpaa_get_strings()
275 strings += ETH_GSTRING_LEN; in dpaa_get_strings()
[all …]
/linux-6.12.1/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
/linux-6.12.1/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
403 /* Count the strings. */ in split()
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()
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_ethtool.c61 char *strings = (char *)data; in octep_vf_get_strings() local
67 snprintf(strings, ETH_GSTRING_LEN, in octep_vf_get_strings()
69 strings += ETH_GSTRING_LEN; in octep_vf_get_strings()
74 snprintf(strings, ETH_GSTRING_LEN, in octep_vf_get_strings()
76 strings += ETH_GSTRING_LEN; in octep_vf_get_strings()
82 snprintf(strings, ETH_GSTRING_LEN, in octep_vf_get_strings()
84 strings += ETH_GSTRING_LEN; in octep_vf_get_strings()
/linux-6.12.1/drivers/acpi/acpica/
Dutosi.c18 * ACPICA policy for new _OSI strings:
20 * It is the stated policy of ACPICA that new _OSI strings will be integrated
36 * 3) New _OSI strings are tending to come out about once per year. A delay
42 * Strings supported by the _OSI predefined control method (which is
46 * for this string. Basically, the only safe OS strings are windows-related
54 /* Operating System Vendor Strings */
80 /* Feature Group Strings */
85 * All "optional" feature group strings (features that are implemented
88 * group strings are set as INVALID by default here.
298 * DESCRIPTION: Update _OSI interface strings, disabling or enabling OS vendor
[all …]
/linux-6.12.1/drivers/usb/gadget/
Dusbstring.c20 * @table: of c strings encoded using UTF-8
30 * using this routine after choosing which set of UTF-8 strings to use.
33 * characters (which are also widely used in C strings).
49 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
/linux-6.12.1/include/linux/usb/
Dcomposite.h116 * @strings: tables of strings, keyed by identifiers assigned during bind()
191 struct usb_gadget_strings **strings; member
264 * @strings: Tables of strings, keyed by identifiers assigned during @bind()
305 struct usb_gadget_strings **strings; member
358 * @strings: tables of strings, keyed by identifiers assigned during @bind
383 * normally to bind the appropriate host side driver, and the three strings
385 * meaningful device identifiers. (The strings will not be defined unless
386 * they are defined in @dev and @strings.) The correct ep0 maxpacket size
392 struct usb_gadget_strings **strings; member
528 * published in the device descriptor, either numbers or strings or both.
/linux-6.12.1/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.12.1/fs/jfs/
Djfs_unicode.h40 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
56 return 0; /* Null strings are equal */ in UniStrncmp_le()
72 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_to_le()
89 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_from_le()
/linux-6.12.1/lib/
Dstring_kunit.c201 /* Equal strings */ in string_test_strcmp()
209 /* Two empty strings should be equal */ in string_test_strcmp()
211 /* Compare two strings which have only one char difference */ in string_test_strcmp()
213 /* Compare two strings which have the same prefix*/ in string_test_strcmp()
231 /* Equal strings */ in string_test_strncmp()
237 /* Strings with common prefix are equal if count = length of prefix */ in string_test_strncmp()
239 /* Strings with common prefix are not equal when count = length of prefix + 1 */ in string_test_strncmp()
265 /* the strings are equal up to STRCMP_CHANGE_POINT */ in string_test_strncmp_long_strings()
274 /* Same strings in different case should be equal */ in string_test_strcasecmp()
276 /* Empty strings should be equal */ in string_test_strcasecmp()
[all …]
Dstring_helpers.c3 * Helpers for formatting and printing strings
748 * kasprintf_strarray - allocate and fill array of sequential strings
753 * Allocates and fills @n strings using pattern "%s-%zu", where prefix
757 * Returns array of strings or NULL when memory can't be allocated.
781 * kfree_strarray - free a number of dynamically allocated strings contained
784 * @array: Dynamically allocated array of strings to free.
785 * @n: Number of strings (starting from the beginning of the array) to free.
877 * sysfs_streq - return true if strings are equal, modulo trailing newline
881 * This routine returns true iff two strings are equal, treating both
883 * geared for use with sysfs input strings, which generally terminate
[all …]
/linux-6.12.1/fs/nls/
Dnls_ucs2_utils.h80 * UniStrcmp: Compare two strings
84 * = 0: Strings are equal
160 return 0; /* Null strings are equal */ in UniStrncmp()
175 return 0; /* Null strings are equal */ in UniStrncmp_le()
190 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy()
206 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
/linux-6.12.1/Documentation/admin-guide/pm/
Dsleep-states.rst163 This file contains a list of strings representing sleep states supported
164 by the kernel. Writing one of these strings into it causes the kernel
168 In particular, the "disk", "freeze" and "standby" strings represent the
178 This file contains a list of strings representing supported system
182 The strings that may be present in this file are "s2idle", "shallow"
188 Writing one of the listed strings into this file causes the system
235 Writing one of the strings listed above into this file causes the option
279 into the :ref:`standby <standby>` state (the strings to write to the control

12345678910>>...45