/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_bios_attributes.robot | 3 Documentation Module to test PLDM BIOS attribute types. 27 [Documentation] Verify get BIOS attribute with invalid attribute name. 36 # Can not find the attribute hjkhkj 39 Should Contain ${pldm_output} Can not find the attribute 43 [Documentation] Verify set BIOS attribute with invalid attribute name. 52 # Could not find attribute :hjkhkj 55 Should Contain ${pldm_output} Could not find attribute 212 [Documentation] Set BIOS attribute with the available attribute handle 218 # attr_val_list List of the attribute values for the given attribute handle 225 # Compare BIOS attribute values after set operation. [all …]
|
H A D | test_redfish_bios_attributes.robot | 28 [Documentation] Verify set BIOS attribute with invalid attribute name using 38 [Documentation] Verify set invalid optional value for BIOS enumeration attribute type 51 [Documentation] Verify set out of range integer value for BIOS integer attribute type 66 [Documentation] Verify set out of range string value for BIOS string attribute type 81 [Documentation] Verify set BIOS string attribute type for various BIOS 82 ... attribute handle with random values with in the range using Redfish. 103 [Documentation] Verify set BIOS integer attribute type for various BIOS 124 [Documentation] Validate get and update BIOS attribute optional values 125 ... and set back to original BIOS attribute values using Redfish. 130 # Fetch BIOS attribute optional values from pldmtool getbiostable. [all …]
|
/openbmc/linux/samples/kobject/ |
H A D | kset-example.c | 39 struct attribute attr; 53 struct attribute *attr, in foo_attr_show() 56 struct foo_attribute *attribute; in foo_attr_show() local 59 attribute = to_foo_attr(attr); in foo_attr_show() 62 if (!attribute->show) in foo_attr_show() 65 return attribute->show(foo, attribute, buf); in foo_attr_show() 73 struct attribute *attr, in foo_attr_store() 76 struct foo_attribute *attribute; in foo_attr_store() local 79 attribute = to_foo_attr(attr); in foo_attr_store() 82 if (!attribute->store) in foo_attr_store() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 13 The /sys/devices/.../power/wakeup attribute allows the user 39 The /sys/devices/.../power/control attribute allows the user 89 states, this attribute is empty. 101 states, this attribute is empty. 113 up the system from sleep states, this attribute is empty. 123 from sleep states, this attribute is not present. If the 125 this attribute is empty. 172 up the system from sleep states, this attribute is empty. 184 from sleep states, this attribute is empty. 190 The /sys/devices/.../power/autosuspend_delay_ms attribute [all …]
|
H A D | sysfs-devices-lpss_ltr | 14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an 18 This attribute is read-only. If the device's runtime PM status 19 is not "active", attempts to read from this attribute cause 26 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the 30 This attribute is read-only. If the device's runtime PM status 31 is not "active", attempts to read from this attribute cause 38 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the 42 This attribute is read-only. If the device's runtime PM status 43 is not "active", attempts to read from this attribute cause
|
H A D | sysfs-class-firmware-attributes | 17 This attribute is mandatory. 39 This attribute is mandatory. 97 [ReadOnlyIf:<attribute>=<value>] 98 [ReadOnlyIfNot:<attribute>=<value>] 99 [SuppressIf:<attribute>=<value>] 100 [SuppressIfNot:<attribute>=<value>] 172 This attribute is mandatory. 176 This attribute is mandatory. 267 This attribute defaults to device 1. 343 attribute changes applied [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_manager_module.c | 22 struct attribute attr; 32 struct attribute *attr, char *buf) in gb_audio_module_attr_show() 34 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_show() local 37 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_show() 40 if (!attribute->show) in gb_audio_module_attr_show() 43 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show() 47 struct attribute *attr, in gb_audio_module_attr_store() 50 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_store() local 53 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_store() 56 if (!attribute->store) in gb_audio_module_attr_store() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-sensor-custom.c | 303 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 304 report_id = attribute->report_id; in show_value() 319 if (i + attribute->size > ret) { in show_value() 325 switch (attribute->size) { in show_value() 328 i += attribute->size; in show_value() 332 i += attribute->size; in show_value() 336 i += attribute->size; in show_value() 498 sensor_field->attribute.index = index; in hid_sensor_custom_add_field() 509 sensor_field->attribute.index, in hid_sensor_custom_add_field() 510 sensor_field->attribute.attrib_id); in hid_sensor_custom_add_field() [all …]
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpicmn.c | 325 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single() 345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single() 379 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single() 386 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single() 388 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single() 411 if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT) in hpi_check_control_cache_single() 456 attribute)))) { in hpi_check_control_cache_single() 469 attribute) - 1; in hpi_check_control_cache_single() 517 phm->u.c.attribute); in hpi_check_control_cache_single() 560 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_cmn_control_cache_sync_to_msg_single() [all …]
|
/openbmc/linux/include/linux/ |
H A D | sysfs.h | 30 struct attribute { struct 87 struct attribute *, int); 90 struct attribute **attrs; 176 struct attribute attr; 274 const struct attribute *attr, 281 const struct attribute *attr); 417 const struct attribute *attr) in sysfs_break_active_protection() 427 const struct attribute *attr, in sysfs_remove_file_ns() 433 const struct attribute *attr) in sysfs_remove_file_self() 621 const struct attribute *attr) in sysfs_create_file() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bios_attr_utils.robot | 2 Documentation Utilities for redfish BIOS attribute operations. 19 [Documentation] Set BIOS attribute handle with attribute value and verify. 24 # @{attr_val} Attribute value for the given attribute handle. 27 # Check if the BIOS attribute value type is string. 31 # Handling the case when the BIOS attribute value is an empty string. 42 # BIOS attribute with _current are ReadOnly can not be updated. 55 [Documentation] For the given BIOS attribute handle update with optional 56 ... attribute values and verify. 61 # @{attr_val_list} List of the attribute values for the given attribute handle. 72 [Documentation] Verify BIOS attribute value. [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-elog.c | 31 struct attribute attr; 96 struct attribute *attr, in elog_attr_show() 99 struct elog_attribute *attribute; in elog_attr_show() local 102 attribute = to_elog_attr(attr); in elog_attr_show() 105 if (!attribute->show) in elog_attr_show() 108 return attribute->show(elog, attribute, buf); in elog_attr_show() 112 struct attribute *attr, in elog_attr_store() 115 struct elog_attribute *attribute; in elog_attr_store() local 118 attribute = to_elog_attr(attr); in elog_attr_store() 121 if (!attribute->store) in elog_attr_store() [all …]
|
H A D | opal-dump.c | 31 struct attribute attr; 160 struct attribute *attr, in dump_attr_show() 163 struct dump_attribute *attribute; in dump_attr_show() local 166 attribute = to_dump_attr(attr); in dump_attr_show() 169 if (!attribute->show) in dump_attr_show() 172 return attribute->show(dump, attribute, buf); in dump_attr_show() 176 struct attribute *attr, in dump_attr_store() 179 struct dump_attribute *attribute; in dump_attr_store() local 182 attribute = to_dump_attr(attr); in dump_attr_store() 185 if (!attribute->store) in dump_attr_store() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libsmi/libsmi/ |
H A D | libsmi-fix-the-test-dump-files.patch | 27 <attribute name="text"> 32 </attribute> 37 </attribute> 41 </attribute> 46 </attribute> 50 </attribute> 55 </attribute> 59 </attribute> 72 </attribute> 76 </attribute> [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-buf-sysfs-stats.c | 54 struct attribute attr; 61 struct attribute *attr, in dma_buf_stats_attribute_show() 64 struct dma_buf_stats_attribute *attribute; in dma_buf_stats_attribute_show() local 68 attribute = to_dma_buf_stats_attr(attr); in dma_buf_stats_attribute_show() 72 if (!dmabuf || !attribute->show) in dma_buf_stats_attribute_show() 75 return attribute->show(dmabuf, attribute, buf); in dma_buf_stats_attribute_show() 100 static struct attribute *dma_buf_stats_default_attrs[] = {
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ibmpowernv.rst | 18 'hwmon' populates the 'sysfs' tree having attribute files, each for a given 19 sensor type and its attribute data. 22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id' 44 sub-group. In POWER9, this attribute corresponds to 45 each OCC. Using this attribute each OCC can be asked to 57 sub-group. In POWER9, this attribute corresponds to 58 each OCC. Using this attribute each OCC can be asked to 68 sub-group. In POWER9, this attribute corresponds to 69 each OCC. Using this attribute each OCC can be asked to 79 sub-group. In POWER9, this attribute corresponds to [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/libnetfilter/files/ |
H A D | 0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch | 4 Subject: [PATCH] Declare the define visivility attribute together 6 clang ignores the visibility attribute if its not 77 * nfacct_attr_set - set one attribute of the accounting object 79 * \param type attribute type you want to set 96 * \param type attribute type you want to set 97 * \param name string that will be used to set this attribute 111 * \param type attribute type you want to set 126 * \param type attribute type you want to set 140 * nfacct_attr_get - get one attribute the accounting object 143 * unsupported attribute is used, this returns NULL. [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.h | 89 struct attribute attr; 107 struct attribute attr; 127 struct attribute attr; 154 struct attribute attr_gpuid; 155 struct attribute attr_name; 156 struct attribute attr_props; 173 struct attribute attr_genid; 174 struct attribute attr_props;
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 19 - policy tables for input attribute validation 148 attribute-sets 210 and ``1`` for the first attribute in the attribute set. 232 use this attribute. 237 Identifies the attribute space for attributes nested within given attribute. 297 to by the ``attribute-set`` property. 331 :ref:`attribute values<assign_val>`. 333 attribute-set 371 Message attribute list 409 attribute types. [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | tcm_qla2xxx.rst | 7 tcm_qla2xxx jam_host attribute 9 There is now a new module endpoint attribute called jam_host 10 attribute:: 14 This attribute and accompanying code is only included if the 19 Use this attribute to control the discarding of SCSI commands to a 25 Setting a boolean of 1 for the jam_host attribute for a particular host
|
/openbmc/linux/drivers/perf/arm_cspmu/ |
H A D | nvidia_cspmu.c | 43 struct attribute **event_attr; 44 struct attribute **format_attr; 47 static struct attribute *scf_pmu_event_attrs[] = { 159 static struct attribute *mcf_pmu_event_attrs[] = { 178 static struct attribute *generic_pmu_event_attrs[] = { 183 static struct attribute *scf_pmu_format_attrs[] = { 188 static struct attribute *pcie_pmu_format_attrs[] = { 211 static struct attribute ** 219 static struct attribute ** 258 struct attribute **event_attr; [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | efi.c | 19 if (md->attribute & EFI_MEMORY_RO) in set_permissions() 21 if (md->attribute & EFI_MEMORY_XP) in set_permissions() 62 if (md->attribute & EFI_MEMORY_WB) in efi_create_mapping() 64 else if (md->attribute & EFI_MEMORY_WT) in efi_create_mapping() 66 else if (md->attribute & EFI_MEMORY_WC) in efi_create_mapping() 76 if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP)) in efi_create_mapping()
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | attributes.rst | 11 all attribute names begin with “user”; this restriction seems to have 18 available for in-inode extended attribute storage. The second place 21 block to contain a pointer to a second extended attribute block (or even 23 attribute's value to be stored in a separate data block, though as of 46 The beginning of an extended attribute block is in 76 - Checksum of the extended attribute block. 83 of the extended attribute block, and the entire block (header + 126 - Length of attribute value. 130 - Hash value of attribute name and attribute value. The kernel doesn't 155 is matched against the attribute name index. If a match is found, the [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 20 attribute-sets: 1087 attribute-set: wol 1103 attribute-set: wol 1345 attribute-set: eee 1365 attribute-set: eee 1452 attribute-set: fec 1470 attribute-set: fec 1565 attribute-set: pse 1582 attribute-set: pse 1657 attribute-set: mm [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci-label.c | 59 enum smbios_attr_enum attribute) in find_smbios_instance_string() argument 75 if (attribute == SMBIOS_ATTR_INSTANCE_SHOW) in find_smbios_instance_string() 78 else if (attribute == SMBIOS_ATTR_LABEL_SHOW) in find_smbios_instance_string() 109 static struct attribute *smbios_attrs[] = { 115 static umode_t smbios_attr_is_visible(struct kobject *kobj, struct attribute *a, in smbios_attr_is_visible() 210 static struct attribute *acpi_attrs[] = { 216 static umode_t acpi_attr_is_visible(struct kobject *kobj, struct attribute *a, in acpi_attr_is_visible()
|