| /linux/net/ethtool/ |
| H A D | strset.c | 13 const char (*strings)[ETH_GSTRING_LEN]; member 29 .strings = netdev_features_strings, 34 .strings = rss_hash_func_strings, 39 .strings = tunable_strings, 47 .strings = phy_tunable_strings, 52 .strings = link_mode_names, 57 .strings = netif_msg_class_names, 62 .strings = wol_mode_names, 67 .strings = sof_timestamping_names, 72 .strings = ts_tx_type_names, [all …]
|
| /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 with class descriptors. [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/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> description.
|
| /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_IDX].id; in printer_bind() 216 .strings = dev_strings,
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.c | 199 * @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/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, data, in efx_fill_loopback_test() 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() [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, 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/drivers/android/binder/ |
| H A D | stats.rs | 62 mod strings { module 74 // SAFETY: The `binder_command_strings` array only contains nul-terminated strings. in command_string() 76 // SAFETY: The `binder_command_strings` array only contains strings with ascii-chars. in command_string() 83 // SAFETY: The `binder_command_strings` array only contains nul-terminated strings. in return_string() 85 // SAFETY: The `binder_command_strings` array only contains strings with ascii-chars. in return_string() 89 use strings::{command_string, return_string};
|
| /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/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-fm-rx.rst | 37 name strings. Also from RDS specification, PS is usually a single 39 which can scroll strings sized as 8 x N characters. So, this control 48 ``V4L2_CID_RDS_RX_PS_NAME``. The encoding for Radio Text strings is 50 Radio Text strings depends on which RDS Block is being used to 52 also possible to find receivers which can scroll strings sized as 32
|
| H A D | ext-ctrls-fm-tx.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 55 The encoding for Radio Text strings is also fully described in Annex 56 E of :ref:`iec62106`. The length of Radio Text strings depends on 59 which can scroll strings sized as 32 x N or 64 x N characters. So,
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_xs.c | 393 static unsigned int count_strings(const char *strings, unsigned int len) in count_strings() argument 398 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 416 static char **split_strings(char *strings, unsigned int len, unsigned int *num) in split_strings() argument 420 if (len && strings[len - 1]) { in split_strings() 422 kfree(strings); in split_strings() 426 /* Count the strings. */ in split_strings() 427 *num = count_strings(strings, len); in split_strings() 432 kfree(strings); in split_strings() 435 memcpy(&ret[*num], strings, len); in split_strings() 436 kfree(strings); in split_strings() [all …]
|
| /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-class-regulator | 10 This will be one of the following strings: 36 This will be one of the following strings: 75 This will be one of the following strings: 130 The opmode value can be one of the following strings: 324 This will be one of the same strings reported by 337 This will be one of the same strings reported by 350 This will be one of the same strings reported by 361 This will be one of the following strings:
|
| /linux/scripts/gendwarfksyms/ |
| H A D | gendwarfksyms.c | 24 /* Print out type strings (i.e. type_map) */ 26 /* Print out expanded type strings used for symbol versions */ 41 " --dump-types Dump type strings\n" in usage() 42 " --dump-versions Dump expanded type strings used for symbol versions\n" in usage() 78 * Use die_map to expand type strings, write them to `symfile`, and in process_module()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | dmi.c | 102 /* Above strings are too generic also match BIOS date */ 113 /* Above strings are too generic, also match on BIOS date */ 130 * generic dmi strings, which is why we test for 4 strings. 191 /* Above strings are too generic, also match on BIOS date */ 206 /* Some models have DMI strings which are too generic, e.g. in brcmf_dmi_probe()
|
| /linux/drivers/platform/x86/x86-android-tablets/ |
| H A D | dmi.c | 23 /* Above strings are too generic also match BIOS date */ 75 /* Above strings are much too generic, also match on SKU + BIOS date */ 161 /* Above strings are much too generic, also match on BIOS date */ 198 /* Above strings are too generic, also match on BIOS date */ 208 /* Above strings are too generic, also match on BIOS date */ 218 /* Above strings are too generic, also match on BIOS version */
|
| /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/include/linux/usb/ |
| H A D | composite.h | 116 * @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 355 * @strings: tables of strings, keyed by identifiers assigned during @bind 380 * normally to bind the appropriate host side driver, and the three strings 382 * meaningful device identifiers. (The strings will not be defined unless 383 * they are defined in @dev and @strings.) The correct ep0 maxpacket size 389 struct usb_gadget_strings **strings; member 525 * published in the device descriptor, either numbers or strings or both.
|
| /linux/fs/jfs/ |
| H A D | jfs_unicode.h | 40 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/fs/nls/ |
| H A D | nls_ucs2_utils.h | 80 * 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/Documentation/admin-guide/pm/ |
| H A D | sleep-states.rst | 163 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
|
| /linux/Documentation/devicetree/bindings/leds/ |
| 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/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()
|