/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 77 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()
|
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
H A D | gasket_sysfs.h | 40 .data.attr_type = 0, \ 57 uint attr_type; member 75 .data.attr_type = _attr_type \
|
H A D | apex_driver.c | 528 type = (enum sysfs_attribute_type)gasket_attr->data.attr_type; in sysfs_show()
|
H A D | gasket_interrupt.c | 283 gasket_attr->data.attr_type; in interrupt_sysfs_show()
|
H A D | gasket_core.c | 492 (enum gasket_sysfs_attribute_type)gasket_attr->data.attr_type; in gasket_sysfs_data_show()
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | coalesce.c | 20 static u32 attr_to_mask(unsigned int attr_type) in attr_to_mask() argument 22 return BIT(attr_type - __SUPPORTED_OFFSET); in attr_to_mask() 106 static bool coalesce_put_u32(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_u32() argument 109 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_u32() 111 return nla_put_u32(skb, attr_type, val); in coalesce_put_u32() 114 static bool coalesce_put_bool(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_bool() argument 117 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_bool() 119 return nla_put_u8(skb, attr_type, !!val); in coalesce_put_bool()
|
/kernel/linux/linux-6.6/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | sysman.c | 317 * @attr_type: Attribute type to allocate 319 static int alloc_attributes_data(int attr_type) in alloc_attributes_data() argument 323 switch (attr_type) { in alloc_attributes_data() 385 * @attr_type: The attribute type to initialize 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 in init_bios_attributes() [all...] |
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | coalesce.c | 21 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()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 51 struct device_attribute attr_type; member 94 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); in show_type() 317 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control() 318 cip->attr_type.attr.name = "type"; in pvr2_sysfs_add_control() 319 cip->attr_type.attr.mode = S_IRUGO; in pvr2_sysfs_add_control() 320 cip->attr_type.show = show_type; in pvr2_sysfs_add_control() 362 cip->attr_gen[acnt++] = &cip->attr_type.attr; in pvr2_sysfs_add_control()
|
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 51 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()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | fsl_pamu_domain.c | 855 enum iommu_attr attr_type, void *data) in fsl_pamu_set_domain_attr() 860 switch (attr_type) { in fsl_pamu_set_domain_attr() 883 enum iommu_attr attr_type, void *data) in fsl_pamu_get_domain_attr() 888 switch (attr_type) { in fsl_pamu_get_domain_attr() 854 fsl_pamu_set_domain_attr(struct iommu_domain *domain, enum iommu_attr attr_type, void *data) fsl_pamu_set_domain_attr() argument 882 fsl_pamu_get_domain_attr(struct iommu_domain *domain, enum iommu_attr attr_type, void *data) fsl_pamu_get_domain_attr() argument
|
/kernel/linux/linux-6.6/tools/net/ynl/lib/ |
H A D | ynl.py | 108 def get_format(cls, attr_type, byte_order=None): 109 format = cls.type_formats[attr_type] 129 def as_scalar(self, attr_type, byte_order=None): 130 format = self.get_format(attr_type, byte_order)
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ 72 .type = attr_type, \
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ 72 .type = attr_type, \
|
/kernel/linux/linux-6.6/tools/net/ynl/generated/ |
H A D | ethtool-user.c | 675 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() 1140 ethtool_bitset_bits_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ethtool_bitset_bits *obj) ethtool_bitset_bits_put() argument 1202 ethtool_strings_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ethtool_strings *obj) ethtool_strings_put() argument 1260 ethtool_bitset_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ethtool_bitset *obj) ethtool_bitset_put() argument 1322 ethtool_stringset_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ethtool_stringset_ *obj) ethtool_stringset_put() argument 1462 ethtool_stringsets_put(struct nlmsghdr *nlh, unsigned int attr_type, struct ethtool_stringsets *obj) ethtool_stringsets_put() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 79 u8 attr_type; member 85 u8 attr_type; member 93 u8 attr_type; member 950 if (e->attr_type == IEEE80211_P2P_ATTR_CHANNEL_LIST && in wilc_wfi_cfg_parse_ch_attr() 953 else if (e->attr_type == IEEE80211_P2P_ATTR_OPER_CHANNEL && in wilc_wfi_cfg_parse_ch_attr()
|
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 81 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 311 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE; in rtw89_p2p_noa_renew()
|
H A D | core.h | 2905 u8 attr_type; member
|
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 1042 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() 1051 name = devm_kstrdup(dev, con_attr_names[attr_type], in cti_create_con_sysfs_attr() 1059 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr() 1040 cti_create_con_sysfs_attr(struct device *dev, struct cti_trig_con *con, enum cti_conn_attr_type attr_type, int attr_idx) cti_create_con_sysfs_attr() argument
|
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 1010 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() 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() 1008 cti_create_con_sysfs_attr(struct device *dev, struct cti_trig_con *con, enum cti_conn_attr_type attr_type, int attr_idx) cti_create_con_sysfs_attr() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 462 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() 470 switch (attr_type) { in mlxsw_hwmon_attr_add() 461 mlxsw_hwmon_attr_add(struct mlxsw_hwmon *mlxsw_hwmon, enum mlxsw_hwmon_attr_type attr_type, unsigned int type_index, unsigned int num) mlxsw_hwmon_attr_add() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 491 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() 500 switch (attr_type) { in mlxsw_hwmon_attr_add() 490 mlxsw_hwmon_attr_add(struct mlxsw_hwmon_dev *mlxsw_hwmon_dev, enum mlxsw_hwmon_attr_type attr_type, unsigned int type_index, unsigned int num) mlxsw_hwmon_attr_add() argument
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | think-lmi.c | 1095 static struct kobj_attribute attr_type = __ATTR_RO(type); variable 1113 &attr_type.attr,
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-script.c | 345 static inline unsigned int attr_type(unsigned int type) in attr_type() function 536 evsel = perf_session__find_first_evtype(session, attr_type(j)); in perf_session__check_output_opt()
|