Searched refs:attribute (Results 1 - 25 of 1458) sorted by relevance

1234567891011>>

/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_sysfs.h12 extern struct attribute *mgb4_pci_attrs[];
13 extern struct attribute *mgb4_fpdl3_in_attrs[];
14 extern struct attribute *mgb4_gmsl_in_attrs[];
15 extern struct attribute *mgb4_fpdl3_out_attrs[];
16 extern struct attribute *mgb4_gmsl_out_attrs[];
/linux-master/fs/bcachefs/
H A Dsysfs.h9 struct attribute;
12 extern struct attribute *bch2_fs_files[];
13 extern struct attribute *bch2_fs_counters_files[];
14 extern struct attribute *bch2_fs_internal_files[];
15 extern struct attribute *bch2_fs_opts_dir_files[];
16 extern struct attribute *bch2_fs_time_stats_files[];
17 extern struct attribute *bch2_dev_files[];
30 static struct attribute *bch2_fs_files[] = {};
31 static struct attribute *bch2_fs_counters_files[] = {};
32 static struct attribute *bch2_fs_internal_file
[all...]
/linux-master/samples/kobject/
H A Dkset-example.c37 /* a custom attribute that works just for a struct foo_obj. */
39 struct attribute attr;
53 struct attribute *attr,
56 struct foo_attribute *attribute; local
59 attribute = to_foo_attr(attr);
62 if (!attribute->show)
65 return attribute->show(foo, attribute, buf);
73 struct attribute *attr,
76 struct foo_attribute *attribute; local
[all...]
/linux-master/drivers/staging/greybus/
H A Daudio_manager_module.c22 struct attribute attr;
32 struct attribute *attr, char *buf)
34 struct gb_audio_manager_module_attribute *attribute; local
37 attribute = to_gb_audio_module_attr(attr);
40 if (!attribute->show)
43 return attribute->show(module, attribute, buf);
47 struct attribute *attr,
50 struct gb_audio_manager_module_attribute *attribute; local
53 attribute
[all...]
/linux-master/sound/pci/asihpi/
H A Dhpicmn.c325 if (phm->u.c.attribute == HPI_METER_PEAK) {
328 } else if (phm->u.c.attribute == HPI_METER_RMS) {
345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) {
348 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) {
365 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) {
373 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE)
379 if (phm->u.c.attribute == HPI_LEVEL_GAIN) {
386 if (phm->u.c.attribute == HPI_TUNER_FREQ)
388 else if (phm->u.c.attribute == HPI_TUNER_BAND)
390 else if (phm->u.c.attribute
[all...]
/linux-master/arch/arm/kernel/
H A Defi.c19 if (md->attribute & EFI_MEMORY_RO)
21 if (md->attribute & EFI_MEMORY_XP)
62 if (md->attribute & EFI_MEMORY_WB)
64 else if (md->attribute & EFI_MEMORY_WT)
66 else if (md->attribute & EFI_MEMORY_WC)
76 if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP))
/linux-master/drivers/dma-buf/
H A Ddma-buf-sysfs-stats.c54 struct attribute attr;
61 struct attribute *attr,
64 struct dma_buf_stats_attribute *attribute; local
68 attribute = to_dma_buf_stats_attr(attr);
72 if (!dmabuf || !attribute->show)
75 return attribute->show(dmabuf, attribute, buf);
100 static struct attribute *dma_buf_stats_default_attrs[] = {
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.h89 struct attribute attr;
107 struct attribute attr;
127 struct attribute attr;
154 struct attribute attr_gpuid;
155 struct attribute attr_name;
156 struct attribute attr_props;
170 struct attribute attr_genid;
171 struct attribute attr_props;
/linux-master/drivers/extcon/
H A Dextcon.h64 struct attribute **attrs_muex;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-dump.c31 struct attribute attr;
92 * Try to self remove this attribute. If we are successful,
103 * The binary attribute of the dump itself is dynamic
148 static struct attribute *initiate_attrs[] = {
160 struct attribute *attr,
163 struct dump_attribute *attribute; local
166 attribute = to_dump_attr(attr);
169 if (!attribute->show)
172 return attribute->show(dump, attribute, bu
179 struct dump_attribute *attribute; local
[all...]
H A Dopal-elog.c31 struct attribute attr;
76 * Try to self remove this attribute. If we are successful,
96 struct attribute *attr,
99 struct elog_attribute *attribute; local
102 attribute = to_elog_attr(attr);
105 if (!attribute->show)
108 return attribute->show(elog, attribute, buf);
112 struct attribute *attr,
115 struct elog_attribute *attribute; local
[all...]
/linux-master/drivers/hid/
H A Dhid-sensor-custom.c31 struct hid_sensor_hub_attribute_info attribute; member in struct:hid_sensor_custom_field
34 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
66 static struct attribute hid_custom_attrs[HID_CUSTOM_TOTAL_ATTRS] = {
189 sensor_inst->power_state->attribute.report_id,
190 sensor_inst->power_state->attribute.index,
194 sensor_inst->report_state->attribute.report_id,
195 sensor_inst->report_state->attribute.index,
200 sensor_inst->power_state->attribute.logical_minimum;
202 sensor_inst->power_state->attribute.report_id,
203 sensor_inst->power_state->attribute
281 struct hid_sensor_hub_attribute_info *attribute; local
[all...]
/linux-master/include/linux/
H A Dsysfs.h30 struct attribute { struct
41 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute
42 * @attr: struct attribute to initialize
44 * Initialize a dynamically allocated struct attribute so we can
47 * Lockdep gives a nice error when your attribute is added to
62 * struct attribute_group - data structure used to declare an attribute group.
64 * If specified, the attribute group will be created in a
70 * attribute of the group. Will be called repeatedly for
71 * each non-binary attribute in the group. Only read/write
73 * return 0 if an attribute i
[all...]
/linux-master/arch/x86/platform/efi/
H A Dfake_mem.c9 * By specifying this parameter, you can add arbitrary attribute to
86 u64 start = 0, mem_size = 0, attribute = 0; local
100 attribute = simple_strtoull(p+1, &p, 0);
109 efi_fake_mems[nr_fake_mem].attribute = attribute;
121 efi_fake_mems[i].attribute, efi_fake_mems[i].range.start,
157 if ((mem->attribute & EFI_MEMORY_SP) == 0)
H A Druntime-map.c24 struct attribute attr;
28 static inline struct map_attribute *to_map_attr(struct attribute *attr)
49 EFI_RUNTIME_U64_ATTR_SHOW(attribute); variable
56 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr,
69 static struct map_attribute map_attribute_attr = __ATTR_RO_MODE(attribute, 0400);
74 static struct attribute *def_attrs[] = {
/linux-master/block/
H A Dblk-crypto-sysfs.c19 struct attribute attr;
29 static struct blk_crypto_attr *attr_to_crypto_attr(struct attribute *attr)
52 static struct attribute *blk_crypto_attrs[] = {
67 static struct attribute *blk_crypto_mode_attrs[BLK_ENCRYPTION_MODE_MAX + 1];
70 struct attribute *attr, int n)
102 struct attribute *attr, char *page)
/linux-master/drivers/cpufreq/
H A Dcpufreq_governor_attr_set.c11 static inline struct governor_attr *to_gov_attr(struct attribute *attr)
16 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr,
24 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr,
/linux-master/arch/riscv/kernel/
H A Defi.c21 u64 attr = md->attribute;
66 if (md->attribute & EFI_MEMORY_RO) {
71 if (md->attribute & EFI_MEMORY_XP) {
/linux-master/arch/x86/events/
H A Dprobe.h18 static struct attribute *attrs_##_name[] = { \
/linux-master/fs/sysfs/
H A Dsysfs.h31 const struct attribute *attr, umode_t amode, kuid_t uid,
/linux-master/drivers/md/
H A Ddm-sysfs.c14 struct attribute attr;
23 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr,
48 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr,
108 static struct attribute *dm_attrs[] = {
/linux-master/arch/powerpc/include/asm/
H A Dsecvar.h23 const struct attribute **config_attrs;
/linux-master/drivers/usb/typec/
H A Dbus.h20 struct attribute *attrs[5];
/linux-master/drivers/edac/
H A Dedac_device.h89 struct attribute attr;
107 struct attribute attr;
108 ssize_t (*show)(struct kobject *, struct attribute *, char *);
109 ssize_t (*store)(struct kobject *, struct attribute *,
/linux-master/sound/soc/intel/avs/
H A Dsysfs.c22 static struct attribute *avs_fw_attrs[] = {

Completed in 477 milliseconds

1234567891011>>