/linux-6.6.21/drivers/platform/x86/hp/hp-bioscfg/ |
D | bioscfg.c | 410 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 …]
|
/linux-6.6.21/tools/testing/selftests/powerpc/papr_attributes/ |
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()
|
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 319 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()
|
/linux-6.6.21/net/ethtool/ |
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()
|
/linux-6.6.21/drivers/media/usb/pvrusb2/ |
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()
|
/linux-6.6.21/tools/net/ynl/lib/ |
D | ynl.py | 108 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)
|
/linux-6.6.21/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument 72 .type = attr_type, \
|
/linux-6.6.21/tools/net/ynl/generated/ |
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() [all …]
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
D | coresight-cti-sysfs.c | 1010 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()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | ps.c | 311 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE; in rtw89_p2p_noa_renew()
|
D | core.h | 2905 u8 attr_type; member
|
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 491 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument 500 switch (attr_type) { in mlxsw_hwmon_attr_add()
|
/linux-6.6.21/drivers/platform/x86/ |
D | think-lmi.c | 1095 static struct kobj_attribute attr_type = __ATTR_RO(type); variable 1113 &attr_type.attr,
|
/linux-6.6.21/scripts/ |
D | checkpatch.pl | 6541 my $attr_type = $2;
|