/openbmc/linux/drivers/usb/gadget/ |
H A D | usbstring.c | 1 // SPDX-License-Identifier: LGPL-2.1+ 19 * usb_gadget_get_string - fill out a string descriptor 20 * @table: of c strings encoded using UTF-8 21 * @id: string id, from low byte of wValue in get string descriptor 22 * @buf: at least 256 bytes, must be 16-bit aligned 24 * Finds the UTF-8 string matching the ID, and converts it into a 25 * string descriptor in utf16-le. 30 * using this routine after choosing which set of UTF-8 strings to use. 31 * Note that US-ASCII is a strict subset of UTF-8; any string bytes with 32 * the eighth bit set will be multibyte UTF-8 characters, not ISO-8859/1 [all …]
|
H A D | configfs.c | 1 // SPDX-License-Identifier: GPL-2.0 26 return -EINVAL; in check_user_usb_string() 28 stringtab_dev->language = num; in check_user_usb_string() 86 return container_of(cfg->c.cdev, struct gadget_info, cdev); in cfg_to_gadget_info() 121 return -EOVERFLOW; in usb_string_copy() 123 return -EINVAL; in usb_string_copy() 130 return -ENOMEM; in usb_string_copy() 133 if (str[ret - 1] == '\n') in usb_string_copy() 134 str[ret - 1] = '\0'; in usb_string_copy() 144 to_gadget_info(item)->cdev.desc.__name); \ [all …]
|
/openbmc/webui-vue/src/views/Login/ |
H A D | Login.vue | 2 <b-form class="login-form" novalidate @submit.prevent="login"> 3 <alert class="login-error mb-4" :show="authError" variant="danger"> 4 <p id="login-error-alert"> 8 <b-form-group label-for="language" :label="$t('pageLogin.language')"> 9 <b-form-select 10 id="language" 11 v-model="userLocale" 13 data-test-id="login-select-language" 14 ></b-form-select> 15 </b-form-group> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | MessageRegistryFile.v1_1_5.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistryFile.v1_1_5.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 56 …ArchiveUri` property. The file name shall conform to the Redfish Specification-specified syntax.", 62 "format": "uri-reference", 67 "Language": { object [all …]
|
H A D | JsonSchemaFile.v1_1_5.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFile.v1_1_5.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 58 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 60 "@odata.id": { [all …]
|
H A D | MessageRegistry.v1_6_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistry.v1_6_3.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 111 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 146 …escription": "This property shall contain an ordered array of normative language for each argument… 174 "description": "The normative language that describes this message's usage.", [all …]
|
H A D | redfish-schema.v1_10_0.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_10_0", 4 "$schema": "http://json-schema.org/draft-07/schema#", 25 …"description": "This attribute shall contain normative language relating to the Redfish Specificat… 45 …"description": "This attribute shall contain informative language related to the enumeration value… 49 …"description": "This attribute shall contain normative language relating to the enumeration values… 121 "language": { object 123 …"description": "The term specifies the ISO 639-1 language code (Alpha-2) that matches the language… 127 … translated language (localized) version of the property name, parameter, or enumeration string. T… 131 …language (localized) version of enumeration values. The object shall contain properties with names… 237 "language": { object [all …]
|
H A D | redfish-schema-v1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_10_0", 4 "$schema": "http://json-schema.org/draft-07/schema#", 25 …"description": "This attribute shall contain normative language relating to the Redfish Specificat… 45 …"description": "This attribute shall contain informative language related to the enumeration value… 49 …"description": "This attribute shall contain normative language relating to the enumeration values… 121 "language": { object 123 …"description": "The term specifies the ISO 639-1 language code (Alpha-2) that matches the language… 127 … translated language (localized) version of the property name, parameter, or enumeration string. T… 131 …language (localized) version of enumeration values. The object shall contain properties with names… 237 "language": { object [all …]
|
H A D | AttributeRegistry.v1_3_9.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/AttributeRegistry.v1_3_9.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 37 …"description": "The `AttributeRegistry` schema contains a set of key-value pairs that represent th… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 74 "Id": { object [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | MessageRegistryFile.v1_1_5.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistryFile.v1_1_5.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 56 …ArchiveUri` property. The file name shall conform to the Redfish Specification-specified syntax.", 62 "format": "uri-reference", 67 "Language": { object [all …]
|
H A D | JsonSchemaFile.v1_1_5.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFile.v1_1_5.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 58 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 60 "@odata.id": { [all …]
|
H A D | MessageRegistry.v1_6_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistry.v1_6_3.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 111 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 146 …escription": "This property shall contain an ordered array of normative language for each argument… 174 "description": "The normative language that describes this message's usage.", [all …]
|
H A D | redfish-schema.v1_10_0.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_10_0", 4 "$schema": "http://json-schema.org/draft-07/schema#", 25 …"description": "This attribute shall contain normative language relating to the Redfish Specificat… 45 …"description": "This attribute shall contain informative language related to the enumeration value… 49 …"description": "This attribute shall contain normative language relating to the enumeration values… 121 "language": { object 123 …"description": "The term specifies the ISO 639-1 language code (Alpha-2) that matches the language… 127 … translated language (localized) version of the property name, parameter, or enumeration string. T… 131 …language (localized) version of enumeration values. The object shall contain properties with names… 237 "language": { object [all …]
|
H A D | redfish-schema-v1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_10_0", 4 "$schema": "http://json-schema.org/draft-07/schema#", 25 …"description": "This attribute shall contain normative language relating to the Redfish Specificat… 45 …"description": "This attribute shall contain informative language related to the enumeration value… 49 …"description": "This attribute shall contain normative language relating to the enumeration values… 121 "language": { object 123 …"description": "The term specifies the ISO 639-1 language code (Alpha-2) that matches the language… 127 … translated language (localized) version of the property name, parameter, or enumeration string. T… 131 …language (localized) version of enumeration values. The object shall contain properties with names… 237 "language": { object [all …]
|
H A D | AttributeRegistry.v1_3_9.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/AttributeRegistry.v1_3_9.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 37 …"description": "The `AttributeRegistry` schema contains a set of key-value pairs that represent th… 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 74 "Id": { object [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | message_registries.hpp | 8 http://www.apache.org/licenses/LICENSE-2.0 13 See the License for the specific language governing permissions and 42 asyncResp->res.jsonValue["@odata.type"] = in handleMessageRegistryFileCollectionGet() 44 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Registries"; in handleMessageRegistryFileCollectionGet() 45 asyncResp->res.jsonValue["Name"] = "MessageRegistryFile Collection"; in handleMessageRegistryFileCollectionGet() 46 asyncResp->res.jsonValue["Description"] = in handleMessageRegistryFileCollectionGet() 49 nlohmann::json& members = asyncResp->res.jsonValue["Members"]; in handleMessageRegistryFileCollectionGet() 58 member["@odata.id"] = in handleMessageRegistryFileCollectionGet() 62 asyncResp->res.jsonValue["Members@odata.count"] = members.size(); in handleMessageRegistryFileCollectionGet() 91 messages::resourceNotFound(asyncResp->res, "MessageRegistryFile", in handleMessageRoutesMessageRegistryFileGet() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | composite.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * composite.c - infrastructure for Composite USB Gadgets 5 * Copyright (C) 2006-2008 David Brownell 6 * U-Boot porting: Lukasz Majewski <l.majewski@samsung.com> 18 * usb_add_function() - add a function to a configuration 34 int value = -EINVAL; in usb_add_function() 37 function->name, function, in usb_add_function() 38 config->label, config); in usb_add_function() 40 if (!function->set_alt || !function->disable) in usb_add_function() 43 function->config = config; in usb_add_function() [all …]
|
H A D | usbstring.c | 1 // SPDX-License-Identifier: LGPL-2.1+ 5 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 25 * BUT it currently rejects legit 4-byte UTF-8 code points, in utf8_to_utf16le() 31 * 2-byte sequence: in utf8_to_utf16le() 44 * 3-byte sequence (most CJKV characters): in utf8_to_utf16le() 67 * 4-byte sequence (surrogate pairs, currently rare): in utf8_to_utf16le() 79 len--; in utf8_to_utf16le() 83 return -1; in utf8_to_utf16le() 88 * usb_gadget_get_string - fill out a string descriptor 89 * @table: of c strings encoded using UTF-8 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 46 aspeed,vhub-generic-endpoints: [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget | 1 What: /config/usb-gadget 5 This group contains sub-groups corresponding to created 8 What: /config/usb-gadget/gadget 21 names are super-speed-plus, super-speed, 22 high-speed, full-speed, and low-speed. 30 idProduct product ID 31 idVendor vendor ID 34 What: /config/usb-gadget/gadget/configs 40 What: /config/usb-gadget/gadget/configs/config 51 What: /config/usb-gadget/gadget/configs/config/strings [all …]
|
/openbmc/pldm/ |
H A D | meson.build | 15 # Wno-psabi reduces the number of "Note:" messages when cross-compiling some STL 16 …ARM. See https://stackoverflow.com/questions/48149323/strange-gcc-warning-when-compiling-qt-project 19 add_project_arguments('-Wno-psabi', language: 'cpp') 24 add_project_arguments('-U_FORTIFY_SOURCE', language: 'cpp') 50 get_option('system-specific-bios-json').allowed(), 71 conf_data.set('HEARTBEAT_TIMEOUT', get_option('heartbeat-timeout-seconds')) 72 conf_data.set('TERMINUS_ID', get_option('terminus-id')) 73 conf_data.set('TERMINUS_HANDLE', get_option('terminus-handle')) 74 conf_data.set('DBUS_TIMEOUT', get_option('dbus-timeout-value')) 75 add_project_arguments('-DLIBPLDMRESPONDER', language: 'cpp') [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-uclogic-params.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 26 /* Types of pen in-range reporting */ 28 /* Normal reports: zero - out of proximity, one - in proximity */ 30 /* Inverted reports: zero - in proximity, one - out of proximity */ 58 * The ID to be assigned to the report, if the second byte of the pen 61 __u8 id; member 67 * Must use declarative (descriptive) language, not imperative, to simplify 88 /* Report ID, if reports should be tweaked, zero if not */ [all …]
|
/openbmc/qemu/python/ |
H A D | setup.cfg | 5 maintainer_email = qemu-devel@nongnu.org 10 long_description_content_type = text/x-rst 12 Development Status :: 3 - Alpha 14 Natural Language :: English 16 Programming Language :: Python :: 3 :: Only 17 Programming Language :: Python :: 3.8 18 Programming Language :: Python :: 3.9 19 Programming Language :: Python :: 3.10 20 Programming Language :: Python :: 3.11 21 Programming Language :: Python :: 3.12 [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * hub.c - virtual hub handling 25 #include <linux/dma-mapping.h> 37 * - We may need to indicate TT support 38 * - We may need a device qualifier descriptor 40 * - Make vid/did overridable 41 * - make it look like usb1 if usb1 mode forced 144 * These strings converted to UTF-16 must be smaller than 149 .id = AST_VHUB_STR_SERIAL, [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_hii.c | 1 // SPDX-License-Identifier: GPL-2.0+ 52 fields = get_unaligned_le32(&header->fields); in efi_hii_package_type() 62 fields = get_unaligned_le32(&header->fields); in efi_hii_package_len() 76 char *language; member 80 * string id starts at 1 so value is stbl->strings[id-1], 81 * and strings[] is a array of stbl->nstrings elements 106 for (i = 0; i < stbl->nstrings; i++) in free_strings_table() 107 free(stbl->strings[i].string); in free_strings_table() 108 free(stbl->strings); in free_strings_table() 109 free(stbl->language); in free_strings_table() [all …]
|