Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 275) sorted by relevance

1234567891011

/openbmc/u-boot/env/
H A Dattr.c29 int (*callback)(const char *name, const char *attributes, void *priv), in env_attr_walk() argument
33 char *name, *attributes; in env_attr_walk() local
82 attributes = strchr(entry_cpy, ENV_ATTR_SEP); in env_attr_walk()
84 if (attributes != NULL) { in env_attr_walk()
86 *attributes++ = '\0'; in env_attr_walk()
88 attributes = strim(attributes); in env_attr_walk()
97 retval = callback(name, attributes, priv); in env_attr_walk()
116 char *attributes; member
119 static int regex_callback(const char *name, const char *attributes, void *priv) in regex_callback() argument
134 if (!attributes) { in regex_callback()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_variable.c164 const efi_guid_t *vendor, u32 *attributes, in efi_get_variable() argument
173 EFI_ENTRY("\"%ls\" %pUl %p %p %p", variable_name, vendor, attributes, in efi_get_variable()
235 if (attributes) in efi_get_variable()
236 *attributes = attr & EFI_VARIABLE_MASK; in efi_get_variable()
266 u32 *attributes) in parse_uboot_variable() argument
304 parse_attr(end, attributes); in parse_uboot_variable()
331 u32 attributes; in efi_get_next_variable_name() local
394 vendor, &attributes); in efi_get_next_variable_name()
415 const efi_guid_t *vendor, u32 attributes, in efi_set_variable() argument
422 EFI_ENTRY("\"%ls\" %pUl %x %zu %p", variable_name, vendor, attributes, in efi_set_variable()
[all …]
H A Defi_bootmgr.c33 lo->attributes = get_unaligned_le32(data); in efi_deserialize_load_option()
64 size = sizeof(lo->attributes); in efi_serialize_load_option()
75 memcpy(p, &lo->attributes, sizeof(lo->attributes)); in efi_serialize_load_option()
76 p += sizeof(lo->attributes); in efi_serialize_load_option()
143 if (lo.attributes & LOAD_OPTION_ACTIVE) { in try_load_entry()
H A Defi_boottime.c1087 if (item->info.attributes & in efi_get_drivers()
1105 if (item->info.attributes & in efi_get_drivers()
1205 if (item->info.attributes == in efi_uninstall_protocol()
1207 item->info.attributes == EFI_OPEN_PROTOCOL_GET_PROTOCOL || in efi_uninstall_protocol()
1208 item->info.attributes == EFI_OPEN_PROTOCOL_TEST_PROTOCOL) in efi_uninstall_protocol()
2587 void *controller_handle, uint32_t attributes) in efi_protocol_open() argument
2599 if (attributes != EFI_OPEN_PROTOCOL_TEST_PROTOCOL) in efi_protocol_open()
2608 if ((attributes & EFI_OPEN_PROTOCOL_BY_DRIVER) && in efi_protocol_open()
2609 (item->info.attributes == attributes)) in efi_protocol_open()
2612 if (item->info.attributes & EFI_OPEN_PROTOCOL_EXCLUSIVE) in efi_protocol_open()
[all …]
/openbmc/qemu/hw/uefi/
H A Dvar-service-vars.c46 VMSTATE_UINT32(attributes, uefi_variable),
78 uint32_t attributes) in add_variable() argument
87 var->attributes = attributes; in add_variable()
89 var->attributes &= ~EFI_VARIABLE_APPEND_WRITE; in add_variable()
121 uint32_t attributes, in uefi_vars_set_variable() argument
134 new_var = add_variable(uv, guid, name, name_size, attributes); in uefi_vars_set_variable()
146 if (var->attributes & EFI_VARIABLE_NON_VOLATILE) { in uefi_vars_clear_volatile()
177 if (!(var->attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS)) { in check_access()
181 if (!(var->attributes & EFI_VARIABLE_RUNTIME_ACCESS)) { in check_access()
200 if (new_var->attributes & ~EFI_VARIABLE_ATTRIBUTE_SUPPORTED) { in check_update()
[all …]
H A Dvar-service-json.c61 if (!(var->attributes & EFI_VARIABLE_NON_VOLATILE)) { in uefi_vars_to_qapi()
69 v->attr = var->attributes; in uefi_vars_to_qapi()
73 if (var->attributes & in uefi_vars_to_qapi()
121 var->attributes = v->attr; in uefi_vars_from_qapi()
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/
H A Dphal_devtree14 attributes="/usr/bin/attributes"
16 attr_cmd="$attributes export"
18 if [ -x $attributes ]; then
/openbmc/qemu/hw/ufs/
H A Dufs.c849 uint16_t ee_status = be16_to_cpu(u->attributes.exception_event_status); in ufs_update_ee_status()
850 uint8_t high_temp_thresh = u->attributes.device_too_high_temp_boundary; in ufs_update_ee_status()
851 uint8_t low_temp_thresh = u->attributes.device_too_low_temp_boundary; in ufs_update_ee_status()
865 u->attributes.exception_event_status = cpu_to_be16(ee_status); in ufs_update_ee_status()
870 uint16_t ee_control = be16_to_cpu(u->attributes.exception_event_control); in ufs_check_exception_event_alert()
879 ee_status = be16_to_cpu(u->attributes.exception_event_status); in ufs_check_exception_event_alert()
1093 uint16_t ee_control = be16_to_cpu(u->attributes.exception_event_control); in ufs_read_device_temp()
1112 return u->attributes.boot_lun_en; in ufs_read_attr_value()
1114 return u->attributes.current_power_mode; in ufs_read_attr_value()
1116 return u->attributes.active_icc_level; in ufs_read_attr_value()
[all …]
/openbmc/docs/designs/
H A Dremote-bios-configuration.md103 BIOS attributes list exist (XML Type 1) in BMC then BIOS must get pending BIOS
114 non-volatile storage. Pending attributes list will be cleared whenever new
115 attributes data received.
127 … | | | data between BIOS and BMC | | configuration attributes. | ||
165 … | | | data between BIOS and BMC | | configuration attributes. | ||
204 … | | | data between BIOS and BMC | | configuration attributes. | ||
243 RBC daemon should create pending BIOS attributes list based on the user input
249 and pull the pending attributes value from RBC daemon. PLDM should delete the
250 Pending attributes value table once its not valid or updated in BIOS. RBC should
251 clear pending attributes list whenever new attributes data received.
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Drepository.cpp105 PELAttributes attributes{ in restore() local
124 attributes); in restore()
126 updateRepoStats(attributes, true); in restore()
168 PELAttributes attributes{ in add() local
185 attributes); in add()
189 updateRepoStats(attributes, true); in add()
309 for (const auto& [id, attributes] : _pelAttributes) in for_each()
311 std::ifstream file{attributes.path}; in for_each()
318 "FILE", attributes.path, "ERRNO", e); in for_each()
583 std::vector<Repository::AttributesReference> attributes; in getAllPELAttributes() local
[all …]
H A Dhost_notifier.cpp93 if (auto attributes = _repo.getPELAttributes(i); attributes) in enqueueRequired() local
95 auto a = attributes.value().get(); in enqueueRequired()
128 if (auto attributes = _repo.getPELAttributes(i); attributes) in notifyRequired() local
132 auto a = attributes.value().get(); in notifyRequired()
280 if (auto attributes = _repo.getPELAttributes(i); attributes) in doNewLogNotify() local
283 std::filesystem::file_size((*attributes).get().path)); in doNewLogNotify()
/openbmc/qemu/target/hexagon/imported/
H A Dmacros.def51 /* optional attributes */
57 /* optional attributes */
63 /* optional attributes */
577 /* optional attributes */
588 /* optional attributes */
594 /* optional attributes */
600 /* optional attributes */
606 /* optional attributes */
612 /* optional attributes */
618 /* optional attributes */
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py233 attributes = []
239 attributes.append((name, value))
241 for name, value in sorted(attributes):
346 def setAttributes(self, attributes): argument
347 if attributes is not None and len(attributes) > 0:
349 for name, value in list(attributes.items()):
352 del attributes[name]
353 attributes[new_name] = value
356 self.name, attributes)
357 for name, value in list(attributes.items()):
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dnconf.gui.c12 attributes_t attributes[ATTR_MAX+1] = {0}; variable
73 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
104 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme()
298 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
299 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
301 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
305 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog()
409 (void) wattrset(form_win, attributes[INPUT_FIELD]); in dialog_inputbox()
411 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
413 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
[all …]
/openbmc/u-boot/include/
H A Denv_attr.h24 int (*callback)(const char *name, const char *attributes, void *priv),
36 int env_attr_lookup(const char *attr_list, const char *name, char *attributes);
/openbmc/phosphor-hwmon/
H A Dhwmon.cpp6 bool getAttributes(const std::string& type, Attributes& attributes) in getAttributes() argument
24 attributes = *a; in getAttributes()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-lazy_1.6.bb1 SUMMARY = "Lazy attributes are computed attributes that are evaluated only once, the first time the…
/openbmc/u-boot/cmd/
H A Darmflash.c27 u32 attributes; member
99 afi->attributes = readl((void *)secend - 0x08); in parse_bank()
129 afi->attributes = readl((void *)imginfo+0x0c); in parse_bank()
232 printf(" Attributes: 0x%08X: ", afi->attributes); in print_images()
233 if (afi->attributes == 0x01) in print_images()
235 if (afi->attributes == 0x08) in print_images()
H A Dnvedit_efi.c46 u32 attributes; in efi_dump_single_var() local
54 ret = EFI_CALL(efi_get_variable(name, guid, &attributes, &size, data)); in efi_dump_single_var()
60 ret = EFI_CALL(efi_get_variable(name, guid, &attributes, &size, in efi_dump_single_var()
72 if (attributes & efi_var_attrs[i].mask) { in efi_dump_single_var()
/openbmc/qemu/tests/unit/
H A Dptimer-test-stubs.c39 int scale, int attributes, in timer_init_full() argument
49 ts->attributes = attributes; in timer_init_full()
/openbmc/qemu/tests/qemu-iotests/
H A Dfat16.py144 self.attributes = data[11]
165 + self.attributes.to_bytes(1, "little")
392 self, cluster: Optional[int], name: str, ext: str, attributes: int
408 assert attributes % 0x15 != 0x15, "Invalid attributes"
414 new_entry.attributes = attributes
491 if current_entry.attributes & 0x10 == 0:
506 if entry.attributes & 0x10 != 0:
527 if entry.attributes & 0x10 != 0:
620 if entry.attributes & 0x10 != 0:
668 if current_entry.attributes & 0x10 == 0:
/openbmc/openbmc/meta-openpower/recipes-bsp/ekb/
H A Dekb_git.bb2 DESCRIPTION = "Copy all the required hardware procedures attributes xml file \
23 # Copying all required hwp's attributes xml file with respective directory structures
/openbmc/phosphor-mrw-tools/docs/
H A Dmrw-xml-requirements.md29 XML representations, there are only a few attributes that need to be set. If a
30 new part is being modeled, initial values for some attributes may need to be
50 All of the BMC chip attributes that are needed for the device tree are pre-built
55 > necessary device tree attributes.
68 connected to an ethernet slave unit. Additionally, the following attributes may
84 part to their corresponding uart slave units. No additional attributes are
117 an I2C device. It specifies which other attributes of the device should be
/openbmc/u-boot/Documentation/sphinx/
H A DrstFlatTable.py182 colspec.attributes['stub'] = 1
208 attributes = {"classes" : classes}
210 attributes['morerows'] = rspan
212 attributes['morecols'] = cspan
213 entry = nodes.entry(**attributes)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/flatcc/flatcc/
H A D0001-Check-for-C-standard-version-23-for-__fallthrough__.patch8 pprintint.h:256:6: error: [[]] attributes are a C23 extension [-Werror,-Wc23-extensions]
23 /* https://en.cppreference.com/w/c/language/attributes/fallthrough */

1234567891011