/linux-master/tools/net/ynl/lib/ |
H A D | ynl-priv.h | 260 ynl_attr_nest_start(struct nlmsghdr *nlh, unsigned int attr_type) argument 268 attr->nla_type = attr_type | NLA_F_NESTED; 281 ynl_attr_put(struct nlmsghdr *nlh, unsigned int attr_type, argument 290 attr->nla_type = attr_type; 299 ynl_attr_put_str(struct nlmsghdr *nlh, unsigned int attr_type, const char *str) argument 309 attr->nla_type = attr_type; 369 ynl_attr_put_s8(struct nlmsghdr *nlh, unsigned int attr_type, __s8 value) argument 371 ynl_attr_put(nlh, attr_type, &value, sizeof(value)); 375 ynl_attr_put_s16(struct nlmsghdr *nlh, unsigned int attr_type, __s16 value) argument 377 ynl_attr_put(nlh, attr_type, 381 ynl_attr_put_s32(struct nlmsghdr *nlh, unsigned int attr_type, __s32 value) argument 387 ynl_attr_put_s64(struct nlmsghdr *nlh, unsigned int attr_type, __s64 value) argument 393 ynl_attr_put_u8(struct nlmsghdr *nlh, unsigned int attr_type, __u8 value) argument 399 ynl_attr_put_u16(struct nlmsghdr *nlh, unsigned int attr_type, __u16 value) argument 405 ynl_attr_put_u32(struct nlmsghdr *nlh, unsigned int attr_type, __u32 value) argument 411 ynl_attr_put_u64(struct nlmsghdr *nlh, unsigned int attr_type, __u64 value) argument [all...] |
H A D | ynl.py | 135 def get_format(cls, attr_type, byte_order=None): 136 format = cls.type_formats[attr_type] 142 def as_scalar(self, attr_type, byte_order=None): 143 format = self.get_format(attr_type, byte_order) 146 def as_auto_scalar(self, attr_type, byte_order=None): 149 real_type = attr_type[0] + str(len(self.raw) * 8) 577 attr_type = attr["type"][0] + ('32' if scalar.bit_length() <= 32 else '64') 579 attr_type = attr["type"] 580 format = NlAttr.get_format(attr_type, attr.byte_order)
|
/linux-master/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 77 int id, attr_type; local 85 attr_type = value_type(id); 86 FAIL_IF(attr_type == INVALID); 99 if (attr_type == STR_VAL) {
|
/linux-master/net/ethtool/ |
H A D | coalesce.c | 21 static u32 attr_to_mask(unsigned int attr_type) argument 23 return BIT(attr_type - __SUPPORTED_OFFSET); 114 static bool coalesce_put_u32(struct sk_buff *skb, u16 attr_type, u32 val, argument 117 if (!val && !(supported_params & attr_to_mask(attr_type))) 119 return nla_put_u32(skb, attr_type, val); 122 static bool coalesce_put_bool(struct sk_buff *skb, u16 attr_type, u32 val, argument 125 if (!val && !(supported_params & attr_to_mask(attr_type))) 127 return nla_put_u8(skb, attr_type, !!val);
|
/linux-master/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) argument 323 switch (attr_type) { 385 * @attr_type: The attribute type to initialize 391 static int init_bios_attributes(int attr_type, const char *guid) argument 406 retval = alloc_attributes_data(attr_type); 410 switch (attr_type) { 416 pr_err("Error: Unknown attr_type: %d\n", attr_type); 450 if (attr_type [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 51 struct device_attribute attr_type; member in struct:pvr2_sysfs_ctl_item 90 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); 313 sysfs_attr_init(&cip->attr_type.attr); 314 cip->attr_type.attr.name = "type"; 315 cip->attr_type.attr.mode = S_IRUGO; 316 cip->attr_type.show = show_type; 358 cip->attr_gen[acnt++] = &cip->attr_type.attr;
|
/linux-master/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ 72 .type = attr_type, \
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 314 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE;
|
H A D | core.h | 3363 u8 attr_type; member in struct:rtw89_noa_attr_head
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 1010 enum cti_conn_attr_type attr_type, 1019 name = devm_kstrdup(dev, con_attr_names[attr_type], 1027 eattr->attr.show = show_fns[attr_type]; 1008 cti_create_con_sysfs_attr(struct device *dev, struct cti_trig_con *con, enum cti_conn_attr_type attr_type, int attr_idx) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_hwmon.c | 491 enum mlxsw_hwmon_attr_type attr_type, 500 switch (attr_type) { 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) argument
|
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 81 u8 attr_type; member in struct:wilc_attr_entry 87 u8 attr_type; member in struct:wilc_attr_oper_ch 95 u8 attr_type; member in struct:wilc_attr_ch_list 966 if (e->attr_type == IEEE80211_P2P_ATTR_CHANNEL_LIST && 969 else if (e->attr_type == IEEE80211_P2P_ATTR_OPER_CHANNEL &&
|
/linux-master/drivers/platform/x86/ |
H A D | think-lmi.c | 1099 static struct kobj_attribute attr_type = __ATTR_RO(type); variable in typeref:struct:kobj_attribute 1117 &attr_type.attr,
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 6539 my $attr_type = $2;
|