Home
last modified time | relevance | path

Searched refs:attr_type (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/libpldm/src/dsp/
H A Dbios_table.c147 uint8_t attr_type, in attr_table_entry_encode_header() argument
164 attr_entry->attr_type = attr_type; in attr_table_entry_encode_header()
181 return entry->attr_type; in pldm_bios_table_attr_entry_decode_attribute_type()
211 uint8_t attr_type = info->read_only ? PLDM_BIOS_ENUMERATION_READ_ONLY : in pldm_bios_table_attr_entry_enum_encode() local
213 int rc = attr_table_entry_encode_header(entry, entry_length, attr_type, in pldm_bios_table_attr_entry_enum_encode()
246 ATTR_TYPE_EXPECT(entry->attr_type, PLDM_BIOS_ENUMERATION); in pldm_bios_table_attr_entry_enum_decode_pv_num()
259 ATTR_TYPE_EXPECT(entry->attr_type, PLDM_BIOS_ENUMERATION); in pldm_bios_table_attr_entry_enum_decode_def_num()
272 ATTR_TYPE_EXPECT(entry->attr_type, PLDM_BIOS_ENUMERATION); in pldm_bios_table_attr_entry_enum_decode_pv_hdls()
390 uint8_t attr_type = info->read_only ? PLDM_BIOS_STRING_READ_ONLY : in pldm_bios_table_attr_entry_string_encode() local
392 int rc = attr_table_entry_encode_header(entry, entry_length, attr_type, in pldm_bios_table_attr_entry_string_encode()
[all …]
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c410 static int hp_alloc_attributes_data(int attr_type) in hp_alloc_attributes_data() argument
412 switch (attr_type) { in hp_alloc_attributes_data()
588 static int hp_add_other_attributes(int attr_type) in hp_add_other_attributes() argument
602 switch (attr_type) { in hp_add_other_attributes()
614 pr_err("Error: Unknown attr_type: %d\n", attr_type); in hp_add_other_attributes()
628 switch (attr_type) { in hp_add_other_attributes()
655 static int hp_init_bios_package_attribute(enum hp_wmi_data_type attr_type, in hp_init_bios_package_attribute() argument
687 if (attr_type == HPWMI_PASSWORD_TYPE) in hp_init_bios_package_attribute()
731 switch (attr_type) { in hp_init_bios_package_attribute()
758 pr_debug("Unknown attribute type found: 0x%x\n", attr_type); in hp_init_bios_package_attribute()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c77 int id, attr_type; in verify_energy_info() local
85 attr_type = value_type(id); in verify_energy_info()
86 FAIL_IF(attr_type == INVALID); in verify_energy_info()
99 if (attr_type == STR_VAL) { in verify_energy_info()
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c319 static int alloc_attributes_data(int attr_type) in alloc_attributes_data() argument
323 switch (attr_type) { in alloc_attributes_data()
391 static int init_bios_attributes(int attr_type, const char *guid) in init_bios_attributes() argument
406 retval = alloc_attributes_data(attr_type); in init_bios_attributes()
410 switch (attr_type) { in init_bios_attributes()
416 pr_err("Error: Unknown attr_type: %d\n", attr_type); in init_bios_attributes()
450 if (attr_type == PO) in init_bios_attributes()
480 switch (attr_type) { in init_bios_attributes()
/openbmc/linux/net/ethtool/
H A Dcoalesce.c21 static u32 attr_to_mask(unsigned int attr_type) in attr_to_mask() argument
23 return BIT(attr_type - __SUPPORTED_OFFSET); in attr_to_mask()
114 static bool coalesce_put_u32(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_u32() argument
117 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_u32()
119 return nla_put_u32(skb, attr_type, val); in coalesce_put_u32()
122 static bool coalesce_put_bool(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_bool() argument
125 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_bool()
127 return nla_put_u8(skb, attr_type, !!val); in coalesce_put_bool()
/openbmc/libpldm/tests/dsp/
H A Dbios_table_iter.c33 entries[0].attr_type = PLDM_BIOS_PASSWORD; in main()
34 entries[1].attr_type = PLDM_BIOS_STRING_READ_ONLY; in main()
H A Dbios_table.cpp130 entry->attr_type = PLDM_BIOS_STRING; in TEST()
244 entry->attr_type = PLDM_BIOS_INTEGER; in TEST()
605 entry->attr_type = PLDM_BIOS_ENUMERATION_READ_ONLY; in TEST()
688 entry->attr_type = PLDM_BIOS_STRING_READ_ONLY; in TEST()
762 entry->attr_type = PLDM_BIOS_INTEGER_READ_ONLY; in TEST()
892 firstEntry->attr_type = PLDM_BIOS_PASSWORD; in TEST()
1155 attr_entry->attr_type = PLDM_BIOS_PASSWORD; in TEST()
/openbmc/libpldm/include/libpldm/
H A Dbios_table.h490 uint8_t attr_type, uint8_t count, const uint8_t *handles);
535 uint8_t attr_type, uint16_t str_length, const char *string);
565 uint8_t attr_type,
H A Dbios.h56 uint8_t attr_type; member
68 uint8_t attr_type; member
/openbmc/openbmc-test-automation/lib/
H A Dpldm_utils.py103 def GetBIOSStrAndIntAttributeHandles(attr_type, attr_val_table_data): argument
133 if attr_type == "BIOSInteger":
135 if attr_type == "BIOSString":
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c51 struct device_attribute attr_type; member
90 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); in show_type()
313 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control()
314 cip->attr_type.attr.name = "type"; in pvr2_sysfs_add_control()
315 cip->attr_type.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
316 cip->attr_type.show = show_type; in pvr2_sysfs_add_control()
358 cip->attr_gen[acnt++] = &cip->attr_type.attr; in pvr2_sysfs_add_control()
/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py108 def get_format(cls, attr_type, byte_order=None): argument
109 format = cls.type_formats[attr_type]
129 def as_scalar(self, attr_type, byte_order=None): argument
130 format = self.get_format(attr_type, byte_order)
/openbmc/pldm/libpldmresponder/
H A Dbios_string_attribute.cpp168 entry->attr_type = 1; in generateAttributeEntry()
H A Dbios_integer_attribute.cpp232 entry->attr_type = 3; in generateAttributeEntry()
H A Dbios_enum_attribute.cpp278 entry->attr_type = 0; in generateAttributeEntry()
/openbmc/linux/drivers/scsi/
H A Discsi_boot_sysfs.c69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument
72 .type = attr_type, \
/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.c675 int ethtool_header_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_header_put() argument
680 nest = mnl_attr_nest_start(nlh, attr_type); in ethtool_header_put()
732 int ethtool_pause_stat_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_pause_stat_put() argument
737 nest = mnl_attr_nest_start(nlh, attr_type); in ethtool_pause_stat_put()
783 int ethtool_fec_stat_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_fec_stat_put() argument
788 nest = mnl_attr_nest_start(nlh, attr_type); in ethtool_fec_stat_put()
957 int ethtool_bitset_bit_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_bitset_bit_put() argument
962 nest = mnl_attr_nest_start(nlh, attr_type); in ethtool_bitset_bit_put()
1043 int ethtool_string_put(struct nlmsghdr *nlh, unsigned int attr_type, in ethtool_string_put() argument
1048 nest = mnl_attr_nest_start(nlh, attr_type); in ethtool_string_put()
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1010 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() argument
1019 name = devm_kstrdup(dev, con_attr_names[attr_type], in cti_create_con_sysfs_attr()
1027 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c81 u8 attr_type; member
87 u8 attr_type; member
95 u8 attr_type; member
970 if (e->attr_type == IEEE80211_P2P_ATTR_CHANNEL_LIST && in wilc_wfi_cfg_parse_ch_attr()
973 else if (e->attr_type == IEEE80211_P2P_ATTR_OPER_CHANNEL && in wilc_wfi_cfg_parse_ch_attr()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dps.c311 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE; in rtw89_p2p_noa_renew()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c491 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument
500 switch (attr_type) { in mlxsw_hwmon_attr_add()
/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.c1097 static struct kobj_attribute attr_type = __ATTR_RO(type); variable
1115 &attr_type.attr,
/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp807 auto attrType = attrEntry->attr_type; in exec()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump1938 'name' => 'attr_type',
1979 'name' => 'attr_type',
2065 'name' => 'attr_type',
10558 'name' => 'attr_type',
10593 'name' => 'attr_type',
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl5494 my $attr_type = $2;

12