Home
last modified time | relevance | path

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

12345678910>>...27

/openbmc/linux/net/ethtool/
H A 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 …]
/openbmc/openbmc/meta-hpe/meta-gxp/recipes-connectivity/jsnbd/jsnbd/
H A Dstate_hook37 mkdir -p strings/0x409
38 echo "OpenBMC" > strings/0x409/manufacturer
39 echo "Virtual Media Device" > strings/0x409/product
40 mkdir -p configs/c.1/strings/0x409
41 echo "config 1" > configs/c.1/strings/0x409/configuration
57 rmdir configs/c.1/strings/0x409
59 rmdir strings/0x409
/openbmc/openbmc/meta-phosphor/recipes-connectivity/jsnbd/jsnbd/
H A Dstate_hook55 mkdir -p strings/0x409
56 echo "OpenBMC" > strings/0x409/manufacturer
57 echo "Virtual Media Device" > strings/0x409/product
58 mkdir -p configs/c.1/strings/0x409
59 echo "config 1" > configs/c.1/strings/0x409/configuration
75 rmdir configs/c.1/strings/0x409
77 rmdir strings/0x409
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/
H A D0007-exec.go-filter-out-build-specific-paths-from-linker-.patch34strings.HasPrefix(flag, "--sysroot") || strings.HasPrefix(flag, "-fmacro-prefix-map") || strings.H…
36 + } else if strings.HasPrefix(flag, "-extldflags") {
39 + var filterd_Extldflags []string = filterLinkerFlags(strings.Split(flags[i+1], " "))
40 + newflags = append(newflags, strings.Join(filterd_Extldflags, " "))
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/
H A Dandroid-gadget-setup24 mkdir strings/0x409
25 mkdir configs/c.1/strings/0x409
28 echo "$serial" > strings/0x409/serialnumber
29 echo "$manufacturer" > strings/0x409/manufacturer
30 echo "$model" > strings/0x409/product
31 echo "Conf 1" > configs/c.1/strings/0x409/configuration
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/
H A Dandroid-gadget-setup24 mkdir strings/0x409
25 mkdir configs/c.1/strings/0x409
28 echo "$serial" > strings/0x409/serialnumber
29 echo "$manufacturer" > strings/0x409/manufacturer
30 echo "$model" > strings/0x409/product
31 echo "Conf 1" > configs/c.1/strings/0x409/configuration
/openbmc/linux/Documentation/usb/
H A 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 …]
/openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/recipes-graphics/obmc-ikvm/
H A Dcreate_usbhid.sh18 mkdir strings/0x409
20 echo "OpenBMC" > strings/0x409/manufacturer
21 echo "virtual_input" > strings/0x409/product
22 echo "OBMC0001" > strings/0x409/serialnumber
116 mkdir configs/c.1/strings/0x409
120 echo "" > configs/c.1/strings/0x409/configuration
/openbmc/openbmc/meta-ufispace/meta-common/recipes-phosphor/network/usb-network/
H A Dusb-network.sh11 mkdir -p strings/0x409
12 echo "Linux" > strings/0x409/manufacturer
13 echo "Ethernet/ECM gadget" > strings/0x409/product
17 mkdir -p configs/c.1/strings/0x409
18 echo "ECM" > configs/c.1/strings/0x409/configuration
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/network/usb-network/
H A Dusb_network.sh11 mkdir -p strings/0x409
12 echo "Linux" > strings/0x409/manufacturer
13 echo "Ethernet/ECM gadget" > strings/0x409/product
17 mkdir -p configs/c.1/strings/0x409
18 echo "ECM" > configs/c.1/strings/0x409/configuration
/openbmc/obmc-ikvm/
H A Dcreate_usbhid.sh18 mkdir strings/0x409
20 echo "OpenBMC" > strings/0x409/manufacturer
21 echo "Virtual Keyboard and Mouse" > strings/0x409/product
22 echo "OBMC0001" > strings/0x409/serialnumber
116 mkdir configs/c.1/strings/0x409
120 echo "" > configs/c.1/strings/0x409/configuration
/openbmc/phosphor-logging/lib/
H A Dlg2_logger.cpp222 std::vector<std::string> strings{static_locs}; in do_log() local
227 strings[pos_fmtmsg] = "LOG2_FMTMSG="s + m; in do_log()
228 strings[pos_prio] = "PRIORITY="s + std::to_string(static_cast<uint64_t>(l)); in do_log()
229 strings[pos_file] = "CODE_FILE="s + s.file_name(); in do_log()
230 strings[pos_line] = "CODE_LINE="s + std::to_string(s.line()); in do_log()
231 strings[pos_func] = "CODE_FUNC="s + s.function_name(); in do_log()
282 strings.emplace_back(h + '=' + value); in do_log()
294 strings[pos_msg] = "MESSAGE="s + message.data(); in do_log()
298 std::ranges::transform(strings, std::back_inserter(iov), [](auto& s) { in do_log()
303 sd_journal_sendv(iov.data(), strings.size()); in do_log()
/openbmc/linux/drivers/usb/gadget/legacy/
H A 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,
/openbmc/linux/sound/core/
H A 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()
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/
H A Dusb-network.sh31 mkdir -p strings/0x409
32 echo "Linux" > strings/0x409/manufacturer
33 echo "Etherned/ECM gadget" > strings/0x409/product
37 mkdir -p configs/c.1/strings/0x409
38 echo "ECM" > configs/c.1/strings/0x409/configuration
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c258 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()
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()
346 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
352 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A 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 …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_hii.c83 struct efi_string_info *strings; member
107 free(stbl->strings[i].string); in free_strings_table()
108 free(stbl->strings); in free_strings_table()
174 stbl->strings = calloc(sizeof(stbl->strings[0]), nstrings); in add_strings_package()
175 if (!stbl->strings) { in add_strings_package()
199 stbl->strings[idx].string = in add_strings_package()
201 if (!stbl->strings[idx].string) { in add_strings_package()
231 free(stbl->strings[--idx].string); in add_strings_package()
232 free(stbl->strings); in add_strings_package()
868 buf = realloc(stbl->strings, in new_string()
[all …]
/openbmc/linux/Documentation/firmware-guide/acpi/apei/
H A 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.
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A 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 …]
/openbmc/phosphor-misc/usb-ctrl/
H A Dusb-ctrl180 mkdir strings/0x409
187 echo "$serial" > strings/0x409/serialnumber
188 echo "OpenBMC" > strings/0x409/manufacturer
189 echo "OpenBMC USB Device" > strings/0x409/product
214 mkdir configs/c.1/strings/0x409
216 echo "Conf 1" > configs/c.1/strings/0x409/configuration
/openbmc/u-boot/drivers/usb/gadget/
H A Df_dfu.c33 struct usb_string *strings; member
99 .strings = strings_dfu_generic,
226 f_dfu->usb_function.strings = dfu_strings; in to_dfu_mode()
234 f_dfu->usb_function.strings = NULL; in to_runtime_mode()
628 f_dfu->strings = calloc(sizeof(struct usb_string), n + 1); in dfu_prepare_strings()
629 if (!f_dfu->strings) in dfu_prepare_strings()
634 f_dfu->strings[i].s = de->name; in dfu_prepare_strings()
637 f_dfu->strings[i].id = 0; in dfu_prepare_strings()
638 f_dfu->strings[i].s = NULL; in dfu_prepare_strings()
716 f_dfu->strings[i].id = id; in dfu_bind()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A 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 …]
/openbmc/linux/Documentation/ABI/testing/
H A 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

12345678910>>...27