Searched refs:attr_type (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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.1.9/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 322 static int alloc_attributes_data(int attr_type) in alloc_attributes_data() argument 326 switch (attr_type) { in alloc_attributes_data() 394 static int init_bios_attributes(int attr_type, const char *guid) in init_bios_attributes() argument 408 retval = alloc_attributes_data(attr_type); in init_bios_attributes() 412 switch (attr_type) { in init_bios_attributes() 418 pr_err("Error: Unknown attr_type: %d\n", attr_type); in init_bios_attributes() 452 if (attr_type == PO) in init_bios_attributes() 480 switch (attr_type) { in init_bios_attributes()
|
/linux-6.1.9/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() 111 static bool coalesce_put_u32(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_u32() argument 114 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_u32() 116 return nla_put_u32(skb, attr_type, val); in coalesce_put_u32() 119 static bool coalesce_put_bool(struct sk_buff *skb, u16 attr_type, u32 val, in coalesce_put_bool() argument 122 if (!val && !(supported_params & attr_to_mask(attr_type))) in coalesce_put_bool() 124 return nla_put_u8(skb, attr_type, !!val); in coalesce_put_bool()
|
/linux-6.1.9/drivers/media/usb/pvrusb2/ |
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()
|
/linux-6.1.9/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.1.9/drivers/hwtracing/coresight/ |
D | coresight-cti-sysfs.c | 1001 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() argument 1010 name = devm_kstrdup(dev, con_attr_names[attr_type], in cti_create_con_sysfs_attr() 1018 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr()
|
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 490 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument 499 switch (attr_type) { in mlxsw_hwmon_attr_add()
|
/linux-6.1.9/scripts/ |
D | checkpatch.pl | 6449 my $attr_type = $2;
|