Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_sysfs.h40 .data.attr_type = 0, \
57 uint attr_type; member
75 .data.attr_type = _attr_type \
Dgasket_interrupt.c283 gasket_attr->data.attr_type; in interrupt_sysfs_show()
Dapex_driver.c528 type = (enum sysfs_attribute_type)gasket_attr->data.attr_type; in sysfs_show()
Dgasket_core.c492 (enum gasket_sysfs_attribute_type)gasket_attr->data.attr_type; in gasket_sysfs_data_show()
/kernel/linux/linux-5.10/net/ethtool/
Dcoalesce.c20 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-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c51 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-5.10/drivers/iommu/
Dfsl_pamu_domain.c855 enum iommu_attr attr_type, void *data) in fsl_pamu_set_domain_attr() argument
860 switch (attr_type) { in fsl_pamu_set_domain_attr()
883 enum iommu_attr attr_type, void *data) in fsl_pamu_get_domain_attr() argument
888 switch (attr_type) { in fsl_pamu_get_domain_attr()
/kernel/linux/linux-5.10/drivers/scsi/
Discsi_boot_sysfs.c69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument
72 .type = attr_type, \
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c79 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-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c462 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument
470 switch (attr_type) { in mlxsw_hwmon_attr_add()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-cti-sysfs.c1042 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() argument
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()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-script.c346 static inline unsigned int attr_type(unsigned int type) in attr_type() function
537 evsel = perf_session__find_first_evtype(session, attr_type(j)); in perf_session__check_output_opt()
/kernel/linux/linux-5.10/scripts/
Dcheckpatch.pl5946 my $attr_type = $2;