Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 200 of 1029) sorted by relevance

123456

/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-power13 The /sys/devices/.../power/wakeup attribute allows the user
39 The /sys/devices/.../power/control attribute allows the user
50 drivers. Changing this attribute to "on" prevents the driver
58 The /sys/devices/.../async attribute allows the user space to
70 The value of this attribute may be changed by writing either
76 devices this attribute is set to "enabled" by bus type code or
84 The /sys/devices/.../wakeup_count attribute contains the number
86 attribute is read-only. If the device is not capable to wake up
87 the system from sleep states, this attribute is not present.
89 states, this attribute is empty.
[all …]
Dsysfs-devices-lpss_ltr14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
18 This attribute is read-only. If the device's runtime PM status
19 is not "active", attempts to read from this attribute cause
26 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
30 This attribute is read-only. If the device's runtime PM status
31 is not "active", attempts to read from this attribute cause
38 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
42 This attribute is read-only. If the device's runtime PM status
43 is not "active", attempts to read from this attribute cause
Dsysfs-bus-acpi5 This attribute indicates the full path of ACPI namespace
16 This attribute indicates the PNP IDs of the device object.
24 This attribute indicates the hardware ID (_HID) of the
33 This attribute contains the output of the device object's
40 This attribute contains the output of the device object's
49 This attribute contains the output of the device object's
56 Writing 1 to this attribute will trigger hot removal of
Dsysfs-devices-edac15 Description: This attribute file displays how many seconds have elapsed
22 Description: This attribute file displays the type of memory controller
28 Description: This attribute file displays, in count of megabytes, of memory
34 Description: This attribute file displays the total count of uncorrectable
42 Description: This attribute file displays the number of UEs that have
49 Description: This attribute file displays the total count of correctable
59 Description: This attribute file displays the number of CEs that
69 Description: Read/Write attribute file that controls memory scrubbing.
71 writing a minimum bandwidth in bytes/sec to the attribute file.
76 the value of the attribute file will be -1.
[all …]
Dsysfs-driver-ppi17 This attribute shows the version of the PPI supported by the
25 This attribute shows the request for an operation to be
35 This attribute shows the response to the most recent operation
44 This attribute shows the platform-specific action that should
54 This attribute shows whether it is allowed to request an
58 This attribute is only supported by PPI version 1.2+.
65 This attribute shows whether it is allowed to request an
68 255. The format is same with tcg_operations. This attribute
Dsysfs-devices-mmc8 is enabled, this attribute will indicate the start address of
9 enhanced data area. If not, this attribute will be -EINVAL.
19 is enabled, this attribute will indicate the size of enhanced
20 data area. If not, this attribute will be -EINVAL.
Dsysfs-devices-real_power_state5 The /sys/devices/.../real_power_state attribute is only present
17 In some situations the value of this attribute may be different
18 from the value of the /sys/devices/.../power_state attribute for
23 This attribute is read-only.
Dsysfs-driver-hid-multitouch4 Description: The integer value of this attribute corresponds to the
6 When read, this attribute returns the current settings (see
8 When written this attribute change on the fly the quirks, then
Dsysfs-class-rtc-rtc0-device-rtc_calibration5 Description: The rtc_calibration attribute allows the userspace to
8 by adding to it the value of this attribute.
9 The range of the attribute is -127 to +127 in units of
Dsysfs-devices-firmware_node13 The /sys/devices/.../firmware/description attribute contains a string
15 namespace. This attribute is read-only. If the device does not have
17 attribute is not present.
Dsysfs-bus-css6 This attribute is present for all subchannel types.
23 Note: This is an I/O-subchannel specific attribute.
32 layer (this implies that this attribute is not necessarily
34 Note: This is an I/O-subchannel specific attribute.
Dsysfs-devices-soc19 Read-only attribute common to all SoCs. Contains the SoC machine
26 Read-only attribute common to all SoCs. Contains SoC family name
33 Read-only attribute supported by most SoCs. In the case of
40 Read-only attribute supported by most SoCs. Contains the SoC's
47 Read-only attribute supported ST-Ericsson's silicon. Contains the
Dsysfs-block-dm24 Otherwise it contains 0. Read-only attribute.
35 Setting this attribute to 0 (the default) will disable
37 accounting. This attribute is not applicable to
47 Otherwise it contains 0. Read-only attribute.
Dsysfs-bus-mdio6 This attribute contains the 32-bit PHY Identifier as reported
16 This attribute contains the PHY interface as configured by the
26 This attribute contains the boolean value whether a given PHY
Dsysfs-class-net62 allow this attribute to be written to force a link state for
85 This attribute can be used by supplicant software to signal that
87 authentication is performed (e.g: 802.1x). 'link_mode' attribute
100 Note: This attribute is only valid for interfaces that implement
126 decimal number. This attribute is used for mapping an interface
137 the interface is linked to. Format is decimal. This attribute is
147 attribute should be used in conjunction with 'dormant' attribute
160 a 'mtu' attribute value of 1500 unless changed.
207 Note: this attribute is only valid for interfaces that implement
Dsysfs-driver-hid-roccat-arvo4 Description: The integer value of this attribute ranges from 1-5.
5 When read, this attribute returns the number of the actual
7 When written this attribute activates the selected profile
37 The integer value of this attribute has bits 0-4 set depending
50 The integer value of this attribute ranges from 0 (OFF) to 1 (ON).
Dsysfs-devices-resource_in_use5 The /sys/devices/.../resource_in_use attribute is only present
12 This attribute is read-only.
Dsysfs-bus-event_source-devices-format8 Each attribute of this group defines the 'hardware' bitmask
19 Defines contents of attribute that occupies bits 1,6-10,44 of
Dsysfs-bus-pci64 Writing a non-zero value to this attribute will
72 Writing a zero value to this attribute disallows MSI and
90 This attribute indicates the mode that the irq vector named by
97 Writing a non-zero value to this attribute will
104 Writing a non-zero value to this attribute will
113 Writing a non-zero value to this attribute will
178 Reading this attribute will provide the firmware
180 the PCI device. The attribute will be created only
192 Reading this attribute will provide the firmware
194 PCI device. The attribute will be created only if the firmware
[all …]
Dsysfs-devices-power_state5 The /sys/devices/.../power_state attribute is only present for
20 This attribute is read-only.
Dsysfs-firmware-efi-runtime-map5 that all efi memory ranges which have the runtime attribute
27 attribute : The attributes of the memory range.
Dconfigfs-usb-gadget-phonet6 This item contains just one readonly attribute: ifname.
Dconfigfs-usb-gadget-acm6 This item contains just one readonly attribute: port_num.
Dconfigfs-usb-gadget-serial6 This item contains just one readonly attribute: port_num.
Dconfigfs-usb-gadget-obex6 This item contains just one readonly attribute: port_num.
Dsysfs-driver-pciback6 If the permissive attribute is set, then writing a string in
Dsysfs-driver-hid-roccat-kovaplus4 Description: The integer value of this attribute ranges from 0-4.
5 When read, this attribute returns the number of the active
Dsysfs-driver-hid-roccat-ryos97 This attribute is only valid for the glow and pro variant.
144 This attribute is only valid for the pro variant.
154 This attribute is only valid for the pro variant.
164 This attribute is only valid for the pro variant.
174 This attribute is only valid for the pro variant.
Dsysfs-bus-usb81 For serial USB drivers, this attribute appears under the
152 This attribute is to expose these information to user space.
161 L1 sleep state. The usb2_lpm_l1_timeout attribute allows
176 one instead. This usb2_lpm_besl attribute allows to tune the host selected besl
/linux-4.1.27/drivers/hid/
Dhid-sensor-custom.c36 struct hid_sensor_hub_attribute_info attribute; member
39 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
70 static struct attribute hid_custom_attrs[] = {
194 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
195 sensor_inst->power_state->attribute.index, in set_power_report_state()
199 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
200 sensor_inst->report_state->attribute.index, in set_power_report_state()
205 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state()
207 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
208 sensor_inst->power_state->attribute.index, in set_power_report_state()
[all …]
/linux-4.1.27/include/linux/
Dsysfs.h29 struct attribute { struct
78 struct attribute *, int);
79 struct attribute **attrs;
146 struct attribute attr;
200 ssize_t (*show)(struct kobject *, struct attribute *, char *);
201 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
219 const struct attribute *attr,
222 const struct attribute **attr);
224 const struct attribute *attr, umode_t mode);
225 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
[all …]
Dmbus.h68 unsigned int attribute,
71 int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute,
Dcpufreq.h147 int cpufreq_sysfs_create_file(const struct attribute *attr);
148 void cpufreq_sysfs_remove_file(const struct attribute *attr);
186 struct attribute attr;
204 struct attribute attr;
206 struct attribute *attr, char *buf);
207 ssize_t (*store)(struct kobject *a, struct attribute *b,
Dkobject.h118 struct attribute **default_attrs;
139 struct attribute attr;
Dextcon.h137 struct attribute **attrs_muex;
158 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */
Dcacheinfo.h9 struct attribute;
/linux-4.1.27/samples/kobject/
Dkset-example.c41 struct attribute attr;
55 struct attribute *attr, in foo_attr_show()
58 struct foo_attribute *attribute; in foo_attr_show() local
61 attribute = to_foo_attr(attr); in foo_attr_show()
64 if (!attribute->show) in foo_attr_show()
67 return attribute->show(foo, attribute, buf); in foo_attr_show()
75 struct attribute *attr, in foo_attr_store()
78 struct foo_attribute *attribute; in foo_attr_store() local
81 attribute = to_foo_attr(attr); in foo_attr_store()
84 if (!attribute->store) in foo_attr_store()
[all …]
/linux-4.1.27/sound/pci/asihpi/
Dhpicmn.c334 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single()
337 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single()
354 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single()
357 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single()
374 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { in hpi_check_control_cache_single()
382 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) in hpi_check_control_cache_single()
388 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single()
395 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single()
397 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single()
399 else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) in hpi_check_control_cache_single()
[all …]
Dhpifunc.c1317 hm.u.c.attribute = attrib; in hpi_control_param_set()
1334 hm.u.c.attribute = attrib; in hpi_control_log_set2()
1352 hm.u.c.attribute = attrib; in hpi_control_param_get()
1378 hm.u.c.attribute = attrib; in hpi_control_log_get2()
1399 hm.u.c.attribute = attrib; in hpi_control_query()
1409 static u16 hpi_control_get_string(const u32 h_control, const u16 attribute, in hpi_control_get_string() argument
1429 hm.u.c.attribute = attribute; in hpi_control_get_string()
1511 hm.u.c.attribute = HPI_AESEBURX_USERDATA; in hpi_aesebu_receiver_get_user_data()
1530 hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS; in hpi_aesebu_receiver_get_channel_status()
1627 hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY; in hpi_bitstream_get_activity()
[all …]
Dhpidebug.c53 phm->u.c.attribute); in hpi_debug_message()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-elog.c34 struct attribute attr;
94 struct attribute *attr, in elog_attr_show()
97 struct elog_attribute *attribute; in elog_attr_show() local
100 attribute = to_elog_attr(attr); in elog_attr_show()
103 if (!attribute->show) in elog_attr_show()
106 return attribute->show(elog, attribute, buf); in elog_attr_show()
110 struct attribute *attr, in elog_attr_store()
113 struct elog_attribute *attribute; in elog_attr_store() local
116 attribute = to_elog_attr(attr); in elog_attr_store()
119 if (!attribute->store) in elog_attr_store()
[all …]
Dopal-dump.c34 struct attribute attr;
146 static struct attribute *initiate_attrs[] = {
158 struct attribute *attr, in dump_attr_show()
161 struct dump_attribute *attribute; in dump_attr_show() local
164 attribute = to_dump_attr(attr); in dump_attr_show()
167 if (!attribute->show) in dump_attr_show()
170 return attribute->show(dump, attribute, buf); in dump_attr_show()
174 struct attribute *attr, in dump_attr_store()
177 struct dump_attribute *attribute; in dump_attr_store() local
180 attribute = to_dump_attr(attr); in dump_attr_store()
[all …]
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.h90 struct attribute attr;
113 struct attribute attr;
131 struct attribute attr;
149 struct attribute attr_gpuid;
150 struct attribute attr_name;
151 struct attribute attr_props;
162 struct attribute attr_genid;
163 struct attribute attr_props;
/linux-4.1.27/fs/xfs/
Dxfs_sysfs.c26 struct attribute attr;
32 to_attr(struct attribute *attr) in to_attr()
87 static struct attribute *xfs_dbg_attrs[] = {
95 struct attribute *attr, in xfs_dbg_show()
106 struct attribute *attr, in xfs_dbg_store()
190 static struct attribute *xfs_log_attrs[] = {
208 struct attribute *attr, in xfs_log_show()
220 struct attribute *attr, in xfs_log_store()
/linux-4.1.27/net/core/
Dnet-sysfs.c473 static struct attribute *net_class_attrs[] = {
560 static struct attribute *netstat_attrs[] = {
594 static struct attribute *wireless_attrs[] = {
614 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
617 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local
620 if (!attribute->show) in rx_queue_attr_show()
623 return attribute->show(queue, attribute, buf); in rx_queue_attr_show()
626 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
629 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local
632 if (!attribute->store) in rx_queue_attr_store()
[all …]
/linux-4.1.27/Documentation/zh_CN/filesystems/
Dsysfs.txt87 struct attribute {
94 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr);
95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
104 struct attribute attr;
142 ssize_t (*show)(struct kobject *, struct attribute *, char *);
143 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
151 将一般的kobject 和 attribute 结构体指针转换为适当的指针类型后
160 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
308 struct attribute attr;
330 struct attribute attr;
[all …]
/linux-4.1.27/drivers/edac/
Dedac_device_sysfs.c108 struct attribute attr;
118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show()
130 struct attribute *attr, in edac_dev_ctl_info_store()
220 .default_attrs = (struct attribute **)device_ctrl_attr,
348 struct attribute attr;
355 struct attribute *attr, char *buffer) in edac_dev_instance_show()
367 struct attribute *attr, in edac_dev_instance_store()
410 .default_attrs = (struct attribute **)device_instance_attr,
423 struct attribute *attr, char *data) in block_ue_count_show()
431 struct attribute *attr, char *data) in block_ce_count_show()
[all …]
Dedac_pci_sysfs.c91 struct attribute attr;
98 struct attribute *attr, char *buffer) in edac_pci_instance_show()
110 struct attribute *attr, in edac_pci_instance_store()
148 .default_attrs = (struct attribute **)pci_instance_attr,
231 struct attribute attr;
238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show()
250 struct attribute *attr, const char *buffer, in edac_pci_dev_store()
330 .default_attrs = (struct attribute **)edac_pci_attr,
Dedac_core.h151 struct attribute attr;
169 struct attribute attr;
170 ssize_t (*show)(struct kobject *, struct attribute *, char *);
171 ssize_t (*store)(struct kobject *, struct attribute *,
Damd64_edac_inj.c210 static struct attribute *amd64_edac_inj_attrs[] = {
220 struct attribute *attr, int idx) in amd64_edac_inj_is_visible()
Dedac_mc_sysfs.c273 static struct attribute *csrow_attrs[] = {
326 static struct attribute *dynamic_csrow_dimm_attr[] = {
351 static struct attribute *dynamic_csrow_ce_count_attr[] = {
362 struct attribute *attr, int idx) in csrow_dev_is_visible()
555 static struct attribute *dimm_attrs[] = {
851 static struct attribute *mci_attrs[] = {
866 struct attribute *attr, int idx) in mci_attr_is_visible()
Damd64_edac_dbg.c43 static struct attribute *amd64_edac_dbg_attrs[] = {
/linux-4.1.27/kernel/
Dparams.c537 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show() local
539 if (!attribute->param->ops->get) in param_attr_show()
543 count = attribute->param->ops->get(buf, attribute->param); in param_attr_show()
558 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store() local
560 if (!attribute->param->ops->set) in param_attr_store()
564 param_check_unsafe(attribute->param); in param_attr_store()
565 err = attribute->param->ops->set(buf, attribute->param); in param_attr_store()
607 struct attribute **new_attrs; in add_sysfs_param()
865 struct attribute *attr, in module_attr_show()
868 struct module_attribute *attribute; in module_attr_show() local
[all …]
Dpadata.c902 struct attribute attr;
903 ssize_t (*show)(struct padata_instance *, struct attribute *, char *);
904 ssize_t (*store)(struct padata_instance *, struct attribute *,
909 struct attribute *attr, char *buf) in show_cpumask()
927 struct attribute *attr, in store_cpumask()
968 static struct attribute *padata_default_attrs[] = {
975 struct attribute *attr, char *buf) in padata_sysfs_show()
989 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
/linux-4.1.27/drivers/pci/
Dslot.c19 struct attribute *attr, char *buf) in pci_slot_attr_show()
22 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_show() local
23 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show()
27 struct attribute *attr, const char *buf, size_t len) in pci_slot_attr_store()
30 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_store() local
31 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store()
125 static struct attribute *pci_slot_default_attrs[] = {
Dpci-label.c42 enum smbios_attr_enum attribute) in find_smbios_instance_string() argument
59 if (attribute == SMBIOS_ATTR_INSTANCE_SHOW) in find_smbios_instance_string()
63 else if (attribute == SMBIOS_ATTR_LABEL_SHOW) in find_smbios_instance_string()
75 struct attribute *attr, int n) in smbios_instance_string_exist()
117 static struct attribute *smbios_attributes[] = {
220 struct attribute *attr, int n) in acpi_index_string_exist()
254 static struct attribute *acpi_attributes[] = {
Dpci-sysfs.c321 static struct attribute *pci_bus_attrs[] = {
557 static struct attribute *pci_dev_attrs[] = {
595 static struct attribute *pcibus_attrs[] = {
1503 static struct attribute *pci_dev_dev_attrs[] = {
1509 struct attribute *a, int n) in pci_dev_attrs_are_visible()
1521 static struct attribute *pci_dev_hp_attrs[] = {
1528 struct attribute *a, int n) in pci_dev_hp_attrs_are_visible()
1545 static struct attribute *sriov_dev_attrs[] = {
1552 struct attribute *a, int n) in sriov_attrs_are_visible()
/linux-4.1.27/drivers/firmware/efi/
Druntime-map.c29 struct attribute attr;
33 static inline struct map_attribute *to_map_attr(struct attribute *attr) in to_map_attr()
54 EFI_RUNTIME_U64_ATTR_SHOW(attribute);
61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
74 static struct map_attribute map_attribute_attr = __ATTR_RO(attribute);
79 static struct attribute *def_attrs[] = {
Defi.c134 static struct attribute *efi_subsys_attrs[] = {
144 struct attribute *attr, int n) in efi_attr_is_visible()
257 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_lookup_mapped_addr()
504 attr = md->attribute; in efi_md_typeattr_format()
Defivars.c101 struct attribute attr;
350 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show()
366 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store()
399 static struct attribute *def_attrs[] = {
/linux-4.1.27/net/batman-adv/
Dsysfs.c124 struct attribute *attr, char *buff, \
136 struct attribute *attr, char *buff) \
156 struct attribute *attr, char *buff, \
169 struct attribute *attr, char *buff) \
187 struct attribute *attr, char *buff, \
203 struct attribute *attr, char *buff) \
262 struct attribute *attr, in __batadv_store_bool_attr()
317 const struct attribute *attr, in __batadv_store_uint_attr()
331 struct attribute *attr, char *buff) in batadv_show_bat_algo()
345 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
[all …]
Dsysfs.h31 struct attribute attr;
32 ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
34 ssize_t (*store)(struct kobject *kobj, struct attribute *attr,
/linux-4.1.27/Documentation/filesystems/
Dsysfs.txt68 An attribute definition is simply:
70 struct attribute {
77 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr);
78 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
81 A bare attribute contains no means to read or write the value of the
82 attribute. Subsystems are encouraged to define their own attribute
89 struct attribute attr;
123 When a subsystem defines a new attribute type, it must implement a
125 show and store methods of the attribute owners.
128 ssize_t (*show)(struct kobject *, struct attribute *, char *);
[all …]
/linux-4.1.27/arch/s390/kernel/
Dperf_cpum_cf_events.c118 static struct attribute *cpumcf_pmu_event_attr[] = {
150 static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = {
172 static struct attribute *cpumcf_z196_pmu_event_attr[] __initdata = {
200 static struct attribute *cpumcf_zec12_pmu_event_attr[] __initdata = {
248 static struct attribute *cpumsf_pmu_format_attr[] = {
265 static __init struct attribute **merge_attr(struct attribute **a, in merge_attr()
266 struct attribute **b) in merge_attr()
268 struct attribute **new; in merge_attr()
277 new = kmalloc(sizeof(struct attribute *) * j, GFP_KERNEL); in merge_attr()
292 struct attribute **combined, **model; in cpumf_cf_event_group()
Dipl.c230 static void make_attrs_ro(struct attribute **attrs) in make_attrs_ro()
459 static struct attribute *ipl_fcp_attrs[] = {
477 static struct attribute *ipl_ccw_attrs_vm[] = {
485 static struct attribute *ipl_ccw_attrs_lpar[] = {
504 static struct attribute *ipl_nss_attrs[] = {
518 static struct attribute *ipl_unknown_attrs[] = {
794 static struct attribute *reipl_fcp_attrs[] = {
846 static struct attribute *reipl_ccw_attrs_vm[] = {
853 static struct attribute *reipl_ccw_attrs_lpar[] = {
925 static struct attribute *reipl_nss_attrs[] = {
[all …]
/linux-4.1.27/fs/sysfs/
Dfile.c239 const struct attribute *attr, bool is_bin, in sysfs_add_file_mode_ns()
307 int sysfs_add_file(struct kernfs_node *parent, const struct attribute *attr, in sysfs_add_file()
319 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
329 int sysfs_create_files(struct kobject *kobj, const struct attribute **ptr) in sysfs_create_files()
350 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
379 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file()
408 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_remove_file_ns()
424 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file_self()
440 void sysfs_remove_files(struct kobject *kobj, const struct attribute **ptr) in sysfs_remove_files()
455 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
Dsysfs.h32 const struct attribute *attr, bool is_bin);
34 const struct attribute *attr, bool is_bin,
Dgroup.c24 struct attribute *const *attr; in remove_files()
38 struct attribute *const *attr; in create_files()
274 struct attribute *const *attr; in sysfs_merge_group()
302 struct attribute *const *attr; in sysfs_unmerge_group()
/linux-4.1.27/Documentation/
DDMA-attributes.txt10 DMA_ATTR_WRITE_BARRIER is a (write) barrier attribute for DMA. DMA
11 to a memory region with the DMA_ATTR_WRITE_BARRIER attribute forces
32 those that do not will simply ignore the attribute and exhibit default
42 those that do not will simply ignore the attribute and exhibit default
60 Buffers allocated with this attribute can be only passed to user space
64 dma_free_attrs(). Make sure that both of these also get this attribute
69 attribute and exhibit default behavior.
90 transferred to 'device' domain. This attribute can be also used for
92 device domain after releasing a mapping for it. Use this attribute with
101 specifying this attribute the allocated buffer is forced to be contiguous
Dedac.txt78 In the kernel there is a PCI device attribute located in sysfs that is
79 checked by the EDAC PCI scanning code. If that attribute is set,
80 PCI parity/error scanning is skipped for that device. The attribute
135 EDAC presents a 'sysfs' interface for control, reporting and attribute
228 EDAC control and attribute files.
234 In 'mcX' directories are EDAC control and attribute files for
249 In the 'csrowX' directories are EDAC control and attribute files for
253 Total Uncorrectable Errors count attribute file:
257 This attribute file displays the total count of uncorrectable
263 Total Correctable Errors count attribute file:
[all …]
DVGA-softcursor.txt23 The second parameter selects character attribute bits you want to change
30 The third parameter consists of character attribute bits you want to set.
/linux-4.1.27/Documentation/hwmon/
Dhwmon-kernel-api.txt45 the parent device prior to calling hwmon_device_register. A name attribute must
50 device name. The registration function wil create a name sysfs attribute
55 a pointer to a list of sysfs attribute groups. The list must be NULL terminated.
56 hwmon_device_register_with_groups creates the hwmon device with name attribute
77 attributes. This is feasible if an attribute has no additional context. However,
79 will need to be passed to the sysfs attribute handling function.
94 attribute read or write function. Its parameter is the device to which the
95 attribute is attached.
107 is the device to which the attribute is attached.
Dibmpowernv17 'hwmon' populates the 'sysfs' tree having attribute files, each for a given
18 sensor type and its attribute data.
21 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
Dlm7328 conversion time via the 'update_interval' sysfs attribute for the
29 device. This attribute will normalize ranges of input values to the
41 The following examples show how the 'update_interval' attribute can be
Dmax3444054 For MAX34446, the value of the currX_crit attribute determines if current or
57 attribute is set to a positive value. Power measurement is only enabled if
126 MAX34460 supports attribute groups in[1-12] and temp[1-5].
127 MAX34461 supports attribute groups in[1-16] and temp[1-5].
Ddme1737129 when crossed. Additionally, each temperature input has a fault attribute that
143 attribute that needs to be set to the maximum attainable RPM (fan at 100% duty-
153 the appropriate enable attribute accordingly. PWM outputs 5-6 can only operate
156 appropriate PWM attribute. In automatic mode, the PWM attribute returns the
158 support the setting of the output frequency via the freq attribute.
243 mapping. This attribute is a bitfield
295 This attribute is a bitfield and
Dina2xx55 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
59 Additionally ina226 supports update_interval attribute as described in
/linux-4.1.27/drivers/hwmon/
Dvexpress.c76 struct attribute *attr, int index) in vexpress_hwmon_attr_is_visible()
98 static struct attribute *vexpress_hwmon_attrs_volt[] = {
119 static struct attribute *vexpress_hwmon_attrs_amp[] = {
139 static struct attribute *vexpress_hwmon_attrs_temp[] = {
159 static struct attribute *vexpress_hwmon_attrs_power[] = {
179 static struct attribute *vexpress_hwmon_attrs_energy[] = {
Ddme1737.c1265 static struct attribute *dme1737_pwm_chmod_attr[];
1266 static void dme1737_chmod_file(struct device*, struct attribute*, umode_t);
1658 static struct attribute *dme1737_attr[] = {
1725 static struct attribute *dme1737_temp_offset_attr[] = {
1741 static struct attribute *dme1737_vid_attr[] = {
1756 static struct attribute *dme1737_zone3_attr[] = {
1774 static struct attribute *dme1737_zone_hyst_attr[] = {
1790 static struct attribute *dme1737_in7_attr[] = {
1807 static struct attribute *dme1737_pwm1_attr[] = {
1817 static struct attribute *dme1737_pwm2_attr[] = {
[all …]
Dnct7904.c177 struct attribute *a, int n) in nct7904_fanin_is_visible()
200 static struct attribute *nct7904_fanin_attrs[] = {
259 struct attribute *a, int n) in nct7904_vsen_is_visible()
296 static struct attribute *nct7904_vsen_attrs[] = {
345 struct attribute *a, int n) in nct7904_tcpu_is_visible()
365 static struct attribute *nct7904_tcpu_attrs[] = {
468 static struct attribute *nct7904_fanctl_attrs[] = {
Dad7418.c157 static struct attribute *ad7416_attrs[] = {
165 static struct attribute *ad7417_attrs[] = {
177 static struct attribute *ad7418_attrs[] = {
Dmc13783-adc.c128 static struct attribute *mc13783_attr_base[] = {
142 static struct attribute *mc13783_attr_16chans[] = {
155 static struct attribute *mc13783_attr_ts[] = {
Dsmsc47m1.c454 static struct attribute *smsc47m1_attributes_fan1[] = {
466 static struct attribute *smsc47m1_attributes_fan2[] = {
478 static struct attribute *smsc47m1_attributes_fan3[] = {
490 static struct attribute *smsc47m1_attributes_pwm1[] = {
500 static struct attribute *smsc47m1_attributes_pwm2[] = {
510 static struct attribute *smsc47m1_attributes_pwm3[] = {
520 static struct attribute *smsc47m1_attributes[] = {
Dmax16065.c415 static struct attribute *max16065_basic_attributes[] = {
479 static struct attribute *max16065_current_attributes[] = {
486 static struct attribute *max16065_min_attributes[] = {
502 static struct attribute *max16065_max_attributes[] = {
519 struct attribute *a, int n) in max16065_basic_is_visible()
531 struct attribute *a, int index) in max16065_secondary_is_visible()
Dk10temp.c120 struct attribute *attr, int index) in k10temp_is_visible()
138 static struct attribute *k10temp_attrs[] = {
Dfam15h_power.c97 struct attribute *attr, in fam15h_power_is_visible()
108 static struct attribute *fam15h_power_attrs[] = {
Dabx500.h30 int (*is_visible)(struct attribute *, int);
Dlm87.c682 static struct attribute *lm87_attributes[] = {
722 static struct attribute *lm87_attributes_in6[] = {
734 static struct attribute *lm87_attributes_fan1[] = {
746 static struct attribute *lm87_attributes_in7[] = {
758 static struct attribute *lm87_attributes_fan2[] = {
770 static struct attribute *lm87_attributes_temp3[] = {
784 static struct attribute *lm87_attributes_in0_5[] = {
800 static struct attribute *lm87_attributes_vid[] = {
Dhwmon.c43 static struct attribute *hwmon_dev_attrs[] = {
49 struct attribute *attr, int n) in hwmon_dev_name_is_visible()
Demc1403.c251 static struct attribute *emc1402_attrs[] = {
276 static struct attribute *emc1403_attrs[] = {
304 static struct attribute *emc1404_attrs[] = {
341 static struct attribute *emc1402_alarm_attrs[] = {
Dnct7802.c477 static struct attribute *nct7802_temp_attrs[] = {
533 struct attribute *attr, int index) in nct7802_temp_is_visible()
611 static struct attribute *nct7802_in_attrs[] = {
642 struct attribute *attr, int index) in nct7802_in_is_visible()
690 static struct attribute *nct7802_fan_attrs[] = {
708 struct attribute *attr, int index) in nct7802_fan_is_visible()
Dpcf8591.c171 static struct attribute *pcf8591_attributes[] = {
183 static struct attribute *pcf8591_attributes_opt[] = {
Dmax1111.c135 static struct attribute *max1111_attributes[] = {
148 static struct attribute *max1110_attributes[] = {
Dlineage-pem.c396 static struct attribute *pem_attributes[] = {
422 static struct attribute *pem_input_attributes[] = {
433 static struct attribute *pem_fan_attributes[] = {
/linux-4.1.27/drivers/cpuidle/
Dsysfs.c121 static struct attribute *cpuidle_default_attrs[] = {
131 static struct attribute *cpuidle_switch_attrs[] = {
163 struct attribute attr;
189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
238 struct attribute attr;
314 static struct attribute *cpuidle_state_default_attrs[] = {
338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show()
352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store()
458 struct attribute attr;
[all …]
/linux-4.1.27/arch/ia64/kernel/
Defi.c256 if (!(md->attribute & EFI_MEMORY_WB)) in is_memory_available()
271 u64 attribute; member
295 return (md->attribute & EFI_MEMORY_WB); in efi_wb()
301 return (md->attribute & EFI_MEMORY_UC); in efi_uc()
312 if (k->attribute != attr) in walk()
617 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_enter_virtual_mode()
622 if (md->attribute & EFI_MEMORY_WB) { in efi_enter_virtual_mode()
624 } else if (md->attribute & EFI_MEMORY_UC) { in efi_enter_virtual_mode()
626 } else if (md->attribute & EFI_MEMORY_WC) { in efi_enter_virtual_mode()
639 } else if (md->attribute & EFI_MEMORY_WT) { in efi_enter_virtual_mode()
[all …]
Dtopology.c240 struct attribute attr;
261 static struct attribute * cache_default_attrs[] = {
276 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
/linux-4.1.27/fs/nilfs2/
Dsysfs.h64 struct attribute attr; \
65 ssize_t (*show)(struct kobject *, struct attribute *, \
67 ssize_t (*store)(struct kobject *, struct attribute *, \
75 struct attribute attr; \
91 struct attribute attr; \
Dsysfs.c46 struct attribute *attr, char *buf) \
57 struct attribute *attr, \
150 static struct attribute *nilfs_snapshot_attrs[] = {
158 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
169 struct attribute *attr, in nilfs_snapshot_attr_store()
249 static struct attribute *nilfs_mounted_snapshots_attrs[] = {
358 static struct attribute *nilfs_checkpoints_attrs[] = {
447 static struct attribute *nilfs_segments_attrs[] = {
700 static struct attribute *nilfs_segctor_attrs[] = {
835 static struct attribute *nilfs_superblock_attrs[] = {
[all …]
/linux-4.1.27/Documentation/power/
Dpower_supply_class.txt13 Each attribute has well defined meaning, up to unit of measure used. While
19 The core attribute set is subject to the standard Linux evolution (i.e.
20 if it will be found that some attribute is applicable to many power supply
66 ~ CAPACITY attribute represents capacity in *percents*, from 0 to 100. ~
75 STATUS - this attribute represents operating status (charging, full,
97 Battery driver also can use this attribute just to inform userspace
179 Q: Where is POWER_SUPPLY_PROP_XYZ attribute?
180 A: If you cannot find attribute suitable for your driver needs, feel free
190 Q: I have some very specific attribute (e.g. battery color), should I add
191 this attribute to standard ones?
[all …]
/linux-4.1.27/fs/ocfs2/cluster/
Dmasklog.c68 struct attribute attr;
105 static struct attribute *mlog_attr_ptrs[MLOG_MAX_BITS] = {NULL, };
107 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show()
115 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
Dsys.c46 static struct attribute *o2cb_attrs[] = {
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-kovaplus4 Description: The integer value of this attribute ranges from 1-4.
5 When read, this attribute returns the number of the active
14 Description: The integer value of this attribute ranges from 1-10.
15 When read, this attribute returns the number of the actual
24 Description: The integer value of this attribute ranges from 1-10.
25 When read, this attribute returns the number of the actual
40 Obsoleted by binary sysfs attribute "info".
Dsysfs-driver-hid-roccat-pyra25 Please use binary attribute "settings" which provides this information.
37 Please use binary attribute "info" which provides this information.
68 Description: The integer value of this attribute ranges from 0-4.
69 When read, this attribute returns the number of the profile
72 Please use binary attribute "settings" which provides this information.
Dsysfs-driver-hid-roccat-koneplus4 Description: The integer value of this attribute ranges from 0-4.
5 When read, this attribute returns the number of the actual
22 Please read binary attribute info which contains firmware version.
/linux-4.1.27/drivers/video/console/
Dfbcon.h237 int attribute = 0; in get_attribute() local
241 attribute |= FBCON_ATTRIBUTE_UNDERLINE; in get_attribute()
243 attribute |= FBCON_ATTRIBUTE_REVERSE; in get_attribute()
245 attribute |= FBCON_ATTRIBUTE_BOLD; in get_attribute()
248 return attribute; in get_attribute()
Dbitblit.c25 static void update_attr(u8 *dst, u8 *src, int attribute, in update_attr() argument
36 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i >= offset) in update_attr()
38 if (attribute & FBCON_ATTRIBUTE_BOLD) in update_attr()
40 if (attribute & FBCON_ATTRIBUTE_REVERSE) in update_attr()
154 u32 attribute = get_attribute(info, scr_readw(s)); in bit_putcs() local
164 if (attribute) { in bit_putcs()
185 bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, in bit_putcs()
188 bit_putcs_unaligned(vc, info, s, attribute, cnt, in bit_putcs()
244 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in bit_cursor() local
260 attribute = get_attribute(info, c); in bit_cursor()
[all …]
Dfbcon_cw.c25 static void cw_update_attr(u8 *dst, u8 *src, int attribute, in cw_update_attr() argument
35 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && !j) in cw_update_attr()
37 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in cw_update_attr()
39 if (attribute & FBCON_ATTRIBUTE_REVERSE) in cw_update_attr()
126 u32 attribute = get_attribute(info, scr_readw(s)); in cw_putcs() local
140 if (attribute) { in cw_putcs()
159 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in cw_putcs()
212 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in cw_cursor() local
232 attribute = get_attribute(info, c); in cw_cursor()
241 if (attribute) { in cw_cursor()
[all …]
Dfbcon_ccw.c25 static void ccw_update_attr(u8 *dst, u8 *src, int attribute, in ccw_update_attr() argument
43 if (attribute & FBCON_ATTRIBUTE_UNDERLINE) { in ccw_update_attr()
51 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in ccw_update_attr()
54 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ccw_update_attr()
141 u32 attribute = get_attribute(info, scr_readw(s)); in ccw_putcs() local
155 if (attribute) { in ccw_putcs()
176 ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ccw_putcs()
229 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ccw_cursor() local
249 attribute = get_attribute(info, c); in ccw_cursor()
258 if (attribute) { in ccw_cursor()
[all …]
Dfbcon_ud.c25 static void ud_update_attr(u8 *dst, u8 *src, int attribute, in ud_update_attr() argument
37 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i < offset) in ud_update_attr()
39 if (attribute & FBCON_ATTRIBUTE_BOLD) in ud_update_attr()
41 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ud_update_attr()
163 u32 attribute = get_attribute(info, scr_readw(s)); in ud_putcs() local
178 if (attribute) { in ud_putcs()
201 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ud_putcs()
204 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, in ud_putcs()
259 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ud_cursor() local
280 attribute = get_attribute(info, c); in ud_cursor()
[all …]
/linux-4.1.27/drivers/md/
Ddm-sysfs.c12 struct attribute attr;
21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show()
46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, in dm_attr_store()
105 static struct attribute *dm_attrs[] = {
/linux-4.1.27/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-ad71925 This attribute, if available, is used to enable the AC
14 This attribute, if available, is used to close or open the
20 using the bridge_switch_en attribute.
/linux-4.1.27/Documentation/ia64/
Daliasing.txt11 The attribute is part of the virtual translation, i.e., it is
19 System memory typically uses the WB attribute. The UC attribute is
20 used for memory-mapped I/O devices. The WC attribute is uncacheable
47 memory Linux is actually using and the attribute for each region.
64 means that to avoid attribute aliasing, Linux can create a cacheable
93 attribute as the kernel mapping.
96 an attribute reported as being supported in the EFI memory map.
118 may not be requested as using the WC attribute.
124 Otherwise, the user mapping must use the same attribute as the
136 mapping. This would not cause attribute aliasing. But
[all …]
/linux-4.1.27/block/
Dblk-mq-sysfs.c21 struct attribute attr;
27 struct attribute attr;
32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show()
55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store()
79 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show()
102 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store()
266 static struct attribute *default_ctx_attrs[] = {
303 static struct attribute *default_hw_ctx_attrs[] = {
Dblk-integrity.c240 struct attribute attr;
245 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, in integrity_attr_show()
257 struct attribute *attr, const char *page, in integrity_attr_store()
359 static struct attribute *integrity_attrs[] = {
Dblk-sysfs.c17 struct attribute attr;
407 static struct attribute *default_attrs[] = {
436 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in queue_attr_show()
456 queue_attr_store(struct kobject *kobj, struct attribute *attr, in queue_attr_store()
/linux-4.1.27/scripts/genksyms/
Dkeywords.gperf36 # attribute commented out in modutils 2.4.2. People are using 'attribute' as a
39 # attribute, ATTRIBUTE_KEYW
/linux-4.1.27/drivers/firmware/
Dmemmap.c51 struct attribute *attr, char *buf);
64 struct attribute attr;
75 static struct attribute *def_attrs[] = {
392 static inline struct memmap_attribute *to_memmap_attr(struct attribute *attr) in to_memmap_attr()
398 struct attribute *attr, char *buf) in memmap_attr_show()
Ddmi-sysfs.c51 struct attribute attr;
66 struct attribute attr;
91 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr()
97 struct attribute *_attr, char *buf) in dmi_sysfs_attr_show()
197 struct attribute *attr;
214 struct attribute *attr, in dmi_entry_attr_show()
290 static struct attribute *dmi_sysfs_sel_attrs[] = {
511 static struct attribute *dmi_sysfs_entry_attrs[] = {
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_sysfs.c183 struct attribute attr;
195 static struct attribute *port_default_attributes[] = {
297 struct attribute *attr, char *buf) in qib_portattr_show()
308 struct attribute *attr, const char *buf, size_t len) in qib_portattr_store()
339 struct attribute attr;
360 static struct attribute *sl2vl_default_attributes[] = {
380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show()
413 struct attribute attr;
433 static struct attribute *diagc_default_attributes[] = {
452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show()
[all …]
/linux-4.1.27/arch/powerpc/perf/
Dhv-24x7.c114 static struct attribute *format_attrs[] = {
316 static struct attribute *device_str_attr_create_(char *name, char *str) in device_str_attr_create_()
331 static struct attribute *device_str_attr_create(char *name, int name_max, in device_str_attr_create()
337 struct attribute *a; in device_str_attr_create()
362 static void device_str_attr_destroy(struct attribute *attr) in device_str_attr_destroy()
372 static struct attribute *event_to_attr(unsigned ix, in event_to_attr()
380 struct attribute *attr; in event_to_attr()
416 static struct attribute *event_to_desc_attr(struct hv_24x7_event_data *event, in event_to_desc_attr()
430 static struct attribute *
444 static ssize_t event_data_to_attrs(unsigned ix, struct attribute **attrs, in event_data_to_attrs()
[all …]
Dhv-gpci.c55 static struct attribute *format_attrs[] = {
108 static struct attribute *interface_attrs[] = {
/linux-4.1.27/fs/exofs/
Dsys.c28 struct attribute attr;
33 static ssize_t odev_attr_show(struct kobject *kobj, struct attribute *attr, in odev_attr_show()
42 static ssize_t odev_attr_store(struct kobject *kobj, struct attribute *attr, in odev_attr_store()
102 static struct attribute *odev_attrs[] = {
/linux-4.1.27/drivers/scsi/
Discsi_boot_sysfs.c32 struct attribute attr;
41 struct attribute *attr, char *buf) in iscsi_boot_show_attribute()
99 static struct attribute *target_attrs[] = {
116 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible()
180 static struct attribute *ethernet_attrs[] = {
197 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible()
257 static struct attribute *initiator_attrs[] = {
269 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible()
/linux-4.1.27/Documentation/scsi/
Dhpsa.txt51 the host "rescan" attribute is a write only attribute. Writing to this
52 attribute will cause the driver to scan for new, changed, or removed devices
60 The "firmware_revision" attribute contains the firmware version of the Smart Array.
70 The "resettable" read-only attribute indicates whether a particular
77 remaining on the controller from the previous kernel. This attribute enables
113 hpsa specific host "rescan" attribute.
/linux-4.1.27/drivers/xen/
Dsys-hypervisor.c32 struct attribute attr;
94 static struct attribute *version_attrs[] = {
218 static struct attribute *xen_compile_attrs[] = {
347 static struct attribute *xen_properties_attrs[] = {
421 struct attribute *attr, in hyp_sysfs_show()
432 struct attribute *attr, in hyp_sysfs_store()
Dxen-balloon.c196 static struct attribute *balloon_attrs[] = {
210 static struct attribute *balloon_info_attrs[] = {
/linux-4.1.27/drivers/md/bcache/
Dsysfs.h15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\
19 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
43 static struct attribute sysfs_##_name = \
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_memory.c53 static struct attribute ttm_mem_sys = {
57 static struct attribute ttm_mem_emer = {
61 static struct attribute ttm_mem_max = {
65 static struct attribute ttm_mem_swap = {
69 static struct attribute ttm_mem_used = {
85 struct attribute *attr, in ttm_mem_zone_show()
112 struct attribute *attr, in ttm_mem_zone_store()
149 static struct attribute *ttm_mem_zone_attrs[] = {
Dttm_page_alloc.c126 static struct attribute ttm_page_pool_max = {
130 static struct attribute ttm_page_pool_small = {
134 static struct attribute ttm_page_pool_alloc_size = {
139 static struct attribute *ttm_pool_attrs[] = {
154 struct attribute *attr, const char *buffer, size_t size) in ttm_pool_store()
188 struct attribute *attr, char *buffer) in ttm_pool_show()
Dttm_page_alloc_dma.c180 static struct attribute ttm_page_pool_max = {
184 static struct attribute ttm_page_pool_small = {
188 static struct attribute ttm_page_pool_alloc_size = {
193 static struct attribute *ttm_pool_attrs[] = {
207 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store()
241 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show()
/linux-4.1.27/Documentation/rapidio/
Dsysfs.txt42 that that owns this attribute
45 In addition to the files listed above, each device has a binary attribute file
51 This attribute is similar in behavior to the "config" attribute of PCI devices
75 attribute reports only valid routing table entries, one line for
98 attribute:
101 is a write-only attribute. To initiate an enumeration or discovery
108 a user must write '-1' (or RIO_MPORT_ANY) into this attribute file.
/linux-4.1.27/sound/hda/
Dhdac_sysfs.c48 static struct attribute *hdac_dev_attrs[] = {
79 struct attribute attr;
100 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show()
116 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store()
271 static struct attribute *widget_node_attrs[] = {
284 static struct attribute *widget_afg_attrs[] = {
/linux-4.1.27/arch/x86/platform/efi/
Defi.c142 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap()
566 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region()
570 md->type, md->attribute); in old_map_region()
594 prev_md->attribute != md->attribute) { in efi_merge_regions()
604 md->attribute = 0; in efi_merge_regions()
638 if (!(md->attribute & EFI_MEMORY_RUNTIME) || in save_runtime_map()
758 if (!(md->attribute & EFI_MEMORY_RUNTIME)) { in efi_map_regions()
1007 return md->attribute; in efi_mem_attributes()
Defi_64.c209 if (!(md->attribute & EFI_MEMORY_WB)) in __map_region()
279 u32 type, u64 attribute) in efi_ioremap() argument
289 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap()
292 if (!(attribute & EFI_MEMORY_WB)) in efi_ioremap()
/linux-4.1.27/drivers/platform/mips/
Dcpu_hwmon.c37 static struct attribute *cpu_hwmon_attributes[] = {
68 static const struct attribute *hwmon_cputemp1[] = {
74 static const struct attribute *hwmon_cputemp2[] = {
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dgeneric.txt11 "peripheral" and "otg". In case this attribute isn't
15 This is an attribute to a USB controller such as:
/linux-4.1.27/drivers/media/dvb-frontends/
Ddib9000.c203 static int dib9000_risc_apb_access_read(struct dib9000_state *state, u32 address, u16 attribute, co…
204 static int dib9000_risc_apb_access_write(struct dib9000_state *state, u32 address, u16 attribute, c…
228 static u16 dib9000_read16_attr(struct dib9000_state *state, u16 reg, u8 * b, u32 len, u16 attribute) in dib9000_read16_attr() argument
235 return dib9000_risc_apb_access_read(state, reg, attribute, NULL, 0, b, len); in dib9000_read16_attr()
250 if (attribute & DATA_BUS_ACCESS_MODE_8BIT) in dib9000_read16_attr()
252 if (attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT) in dib9000_read16_attr()
268 if (!(attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT)) in dib9000_read16_attr()
302 static inline u16 dib9000_read_word_attr(struct dib9000_state *state, u16 reg, u16 attribute) in dib9000_read_word_attr() argument
305 attribute) != 0) in dib9000_read_word_attr()
310 …dib9000_read16_noinc_attr(state, reg, b, len, attribute) dib9000_read16_attr(state, reg, b, len, ( argument
[all …]
/linux-4.1.27/fs/btrfs/
Dsysfs.c174 struct attribute *attr, int unused) in btrfs_feature_visible()
205 static struct attribute *btrfs_supported_feature_attrs[] = {
281 static struct attribute *raid_attributes[] = {
327 static struct attribute *space_info_attrs[] = {
353 static const struct attribute *allocation_attrs[] = {
431 static struct attribute *btrfs_attrs[] = {
474 struct attribute *attrs[2]; in addrm_unknown_feature_attrs()
577 struct attribute *a = btrfs_supported_feature_attrs[i]; in init_feature_attrs()
Dsysfs.h70 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr()
76 attr_to_btrfs_feature_attr(struct attribute *attr) in attr_to_btrfs_feature_attr()
/linux-4.1.27/Documentation/accounting/
Dtaskstats.txt78 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID,
79 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes
83 consist of one attribute, of type
85 attribute payload. The cpumask is specified as an ascii string of
95 a) TASKSTATS_TYPE_AGGR_PID/TGID : attribute containing no payload but indicates
98 b) TASKSTATS_TYPE_PID/TGID: attribute whose payload is the pid/tgid whose stats
101 c) TASKSTATS_TYPE_STATS: attribute with a struct taskstats as payload. The
146 interface to return them. Since userspace processes each netlink attribute
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dsq.c262 struct attribute attr;
269 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show()
280 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store()
325 static struct attribute *sq_sysfs_attrs[] = {
/linux-4.1.27/drivers/cpufreq/
Dcpufreq_governor.h77 (struct kobject *kobj, struct attribute *attr, char *buf) \
93 (struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) \
254 (struct kobject *kobj, struct attribute *attr, char *buf) \
Dintel_pstate.c341 (struct kobject *kobj, struct attribute *attr, char *buf) \
347 struct attribute *attr, char *buf) in show_turbo_pct()
363 struct attribute *attr, char *buf) in show_num_pstates()
374 struct attribute *attr, char *buf) in show_no_turbo()
387 static ssize_t store_no_turbo(struct kobject *a, struct attribute *b, in store_no_turbo()
411 static ssize_t store_max_perf_pct(struct kobject *a, struct attribute *b, in store_max_perf_pct()
430 static ssize_t store_min_perf_pct(struct kobject *a, struct attribute *b, in store_min_perf_pct()
458 static struct attribute *intel_pstate_attributes[] = {
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-transport-srp14 Zero means immediate removal. Setting this attribute to "off"
23 failing I/O immediately. Setting this attribute to "off" will
38 attempt failed before retrying. Setting this attribute to
Dsysfs-bus-firewire12 Binary attribute; an array of host-endian u32.
25 IEEE 1394 node device attribute.
47 IEEE 1394 node device attribute.
125 Read-only attribute, immutable during the target's lifetime.
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c244 struct attribute attr;
268 static struct attribute *display_sysfs_attrs[] = {
280 static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr, in display_attr_show()
295 static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr, in display_attr_store()
Doverlay-sysfs.c363 struct attribute attr;
391 static struct attribute *overlay_sysfs_attrs[] = {
405 static ssize_t overlay_attr_show(struct kobject *kobj, struct attribute *attr, in overlay_attr_show()
420 static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr, in overlay_attr_store()
Dmanager-sysfs.c433 struct attribute attr;
465 static struct attribute *manager_sysfs_attrs[] = {
478 static ssize_t manager_attr_show(struct kobject *kobj, struct attribute *attr, in manager_attr_show()
493 static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr, in manager_attr_store()
/linux-4.1.27/drivers/acpi/acpica/
Dexfield.c179 ACPI_READ | (obj_desc->field.attribute << 16); in acpi_ex_read_data_from_field()
182 accessor_type = obj_desc->field.attribute; in acpi_ex_read_data_from_field()
391 ACPI_WRITE | (obj_desc->field.attribute << 16); in acpi_ex_write_data_to_field()
394 accessor_type = obj_desc->field.attribute; in acpi_ex_write_data_to_field()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_amd_iommu.c63 static struct attribute *iommu_format_attrs[] = {
137 static struct attribute *iommu_cpumask_attrs[] = {
404 struct attribute **attrs; in _init_events_attrs()
411 attr_group = kzalloc(sizeof(struct attribute *) in _init_events_attrs()
416 attrs = (struct attribute **)(attr_group + 1); in _init_events_attrs()
Dperf_event_intel_rapl.c402 static struct attribute *rapl_pmu_attrs[] = {
442 static struct attribute *rapl_events_srv_attr[] = {
457 static struct attribute *rapl_events_cln_attr[] = {
472 static struct attribute *rapl_events_hsw_attr[] = {
496 static struct attribute *rapl_formats_attr[] = {
Dperf_event_intel_uncore_snbep.c375 static struct attribute *snbep_uncore_formats_attr[] = {
384 static struct attribute *snbep_uncore_ubox_formats_attr[] = {
393 static struct attribute *snbep_uncore_cbox_formats_attr[] = {
407 static struct attribute *snbep_uncore_pcu_formats_attr[] = {
422 static struct attribute *snbep_uncore_qpi_formats_attr[] = {
1195 static struct attribute *ivbep_uncore_formats_attr[] = {
1204 static struct attribute *ivbep_uncore_ubox_formats_attr[] = {
1213 static struct attribute *ivbep_uncore_cbox_formats_attr[] = {
1230 static struct attribute *ivbep_uncore_pcu_formats_attr[] = {
1244 static struct attribute *ivbep_uncore_qpi_formats_attr[] = {
[all …]
/linux-4.1.27/arch/s390/pci/
Dpci_sysfs.c78 static struct attribute *zpci_dev_attrs[] = {
94 static struct attribute *pfip_attrs[] = {
/linux-4.1.27/drivers/misc/genwqe/
Dcard_sysfs.c246 static struct attribute *genwqe_attributes[] = {
261 static struct attribute *genwqe_normal_attributes[] = {
278 struct attribute *attr, int n) in genwqe_is_visible()
/linux-4.1.27/drivers/infiniband/core/
Dsysfs.c52 struct attribute attr;
71 struct attribute *attr, char *buf) in port_attr_show()
271 static struct attribute *port_default_attrs[] = {
401 static struct attribute *pma_attrs[] = {
429 struct attribute *a; in ib_port_release()
477 static struct attribute **
482 struct attribute **tab_attr; in alloc_group_attrs()
486 tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); in alloc_group_attrs()
772 static struct attribute *iw_proto_stats_attrs[] = {
/linux-4.1.27/drivers/net/bonding/
Dbond_sysfs_slave.c18 struct attribute attr;
97 struct attribute *attr, char *buf) in slave_show()
/linux-4.1.27/drivers/leds/
Dled-class-flash.c219 static struct attribute *led_flash_strobe_attrs[] = {
224 static struct attribute *led_flash_timeout_attrs[] = {
230 static struct attribute *led_flash_brightness_attrs[] = {
236 static struct attribute *led_flash_fault_attrs[] = {
/linux-4.1.27/Documentation/networking/
Dopenvswitch.txt107 Support for the mask Netlink attribute is optional for both the kernel and user
108 space program. The kernel can ignore the mask attribute, installing an exact
172 key attribute to contain the VLAN tag, then continue to decode the
180 has not been updated to understand the new "vlan" flow key attribute.
182 ignore the "vlan" attribute that it does not understand and therefore
196 nested inside the "encap" attribute. Thus, an application that does
208 Instead, in such a case, include an attribute with "empty" content.
217 packet would include a tcp attribute with all-zero src and dst, like
225 an all-zero-bits vlan and an empty encap attribute, like this:
232 attribute expressly to allow this situation to be distinguished.
/linux-4.1.27/net/netfilter/
Dxt_IDLETIMER.c45 struct attribute attr;
47 struct attribute *attr, char *buf);
81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
/linux-4.1.27/Documentation/s390/
Ddriver-model.txt142 activated via the 'online' attribute. The driver should finally
152 de-activated via the 'online' attribute. The driver should shut
211 The ccw driver provides a 'group' attribute. Piping bus ids of ccw devices to
216 Each ccwgroup device also provides an 'ungroup' attribute to destroy the device
265 attribute 'online' which can be 0 or 1.
274 The netiucv driver creates an attribute 'connection' under
275 bus/iucv/drivers/netiucv. Piping to this attribute creates a new netiucv
280 attribute.
/linux-4.1.27/drivers/base/power/
Dsysfs.c594 static struct attribute *power_attrs[] = {
611 static struct attribute *wakeup_attrs[] = {
633 static struct attribute *runtime_attrs[] = {
648 static struct attribute *pm_qos_resume_latency_attrs[] = {
657 static struct attribute *pm_qos_latency_tolerance_attrs[] = {
666 static struct attribute *pm_qos_flags_attrs[] = {
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsysfs.c201 struct attribute *attr) in add_sysfs_port_mcg_attr()
214 struct attribute *attr) in del_sysfs_port_mcg_attr()
382 struct attribute *a; in mlx4_port_release()
395 struct attribute attr;
402 struct attribute *attr, char *buf) in port_attr_show()
414 struct attribute *attr, in port_attr_store()
497 static struct attribute **
504 struct attribute **tab_attr; in alloc_group_attrs()
508 tab_attr = kcalloc(1 + len, sizeof (struct attribute *), GFP_KERNEL); in alloc_group_attrs()
/linux-4.1.27/arch/arm64/kernel/
Defi.c65 if (md->attribute & EFI_MEMORY_WB) in is_normal_ram()
80 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_to_phys()
240 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_virtmap_init()
/linux-4.1.27/Documentation/driver-model/
Ddevice.txt41 struct attribute attr;
55 that is by defining an attribute group.
70 static struct attribute *dev_attrs[] = {
/linux-4.1.27/drivers/uio/
Duio.c73 struct attribute attr;
87 static struct attribute *attrs[] = {
101 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show()
161 struct attribute attr;
175 static struct attribute *portio_attrs[] = {
189 static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr, in portio_type_show()
238 static struct attribute *uio_attrs[] = {
/linux-4.1.27/Documentation/filesystems/configfs/
Dconfigfs.txt56 apply. Don't mix more than one attribute in one attribute file.
90 The target attribute contains the IP address of the server FakeNBD will
91 connect to. The device attribute is the device on the server.
92 Predictably, the rw attribute determines whether the connection is
186 reaches zero. Items that wish to display an attribute need to provide
188 attribute value uses the store_attribute() method.
198 When a config_item wants an attribute to appear as a file in the item's
200 It then adds the attribute to the NULL-terminated array
202 attribute file will appear with the configfs_attribute->ca_name
205 If an attribute is readable and the config_item provides a
[all …]
/linux-4.1.27/drivers/usb/core/
Dsysfs.c534 static struct attribute *usb2_hardware_lpm_attr[] = {
545 static struct attribute *power_attrs[] = {
680 static struct attribute *dev_attrs[] = {
718 static struct attribute *dev_string_attrs[] = {
726 struct attribute *a, int n) in dev_string_attrs_are_visible()
929 static struct attribute *intf_attrs[] = {
944 static struct attribute *intf_assoc_attrs[] = {
954 struct attribute *a, int n) in intf_assoc_attrs_are_visible()
Dendpoint.c27 struct attribute attr;
144 static struct attribute *ep_dev_attrs[] = {
/linux-4.1.27/Documentation/powerpc/
Dhvcs.txt181 The output from reading the "dev" attribute is the char device major and
249 attribute has been added to each vty-server sysfs entry. This entry is
252 index attribute of vty-server adapter 30000004 shows the following.
292 connected vty is a manual procedure using a write to a sysfs attribute
298 "vterm_state" sysfs attribute within each vty-server's sysfs entry is used.
299 Reading this attribute reveals the current connection state of the
303 Writing a '0' (zero) to the vterm_state attribute will disconnect the VTERM
307 attribute. The following example will show the method used for verifying
334 driver sysfs directory with the "rescan" update attribute which will query
336 driver manages. Writing a '1' to the attribute triggers the update. An
[all …]
/linux-4.1.27/fs/gfs2/
Dsys.c33 struct attribute attr;
38 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show()
46 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store()
274 static struct attribute *gfs2_attrs[] = {
508 static struct attribute *lock_module_attrs[] = {
597 static struct attribute *tune_attrs[] = {
/linux-4.1.27/drivers/misc/
Dad525x_dpot.c560 static const struct attribute *dpot_attrib_wipers[] = {
570 static const struct attribute *dpot_attrib_eeprom[] = {
580 static const struct attribute *dpot_attrib_otp[] = {
590 static const struct attribute *dpot_attrib_otp_en[] = {
600 static const struct attribute *dpot_attrib_tolerance[] = {
626 static struct attribute *ad525x_attributes_commands[] = {
Dti_dac7512.c47 static struct attribute *dac7512_attributes[] = {
/linux-4.1.27/drivers/base/
Dsoc.c46 struct attribute *attr, in soc_attribute_mode()
88 static struct attribute *soc_attr[] = {
/linux-4.1.27/drivers/firmware/efi/libstub/
Darm-stub.c344 return ((left->attribute ^ right->attribute) & mem_type_mask) == 0; in regions_have_compatible_memory_type_attrs()
377 if (!(in->attribute & EFI_MEMORY_RUNTIME)) in efi_get_virtmap()
/linux-4.1.27/net/irda/
Daf_irda.c1971 ias_opt->attribute.irda_attrib_int, in irda_setsockopt()
1976 if(ias_opt->attribute.irda_attrib_octet_seq.len > in irda_setsockopt()
1991 ias_opt->attribute.irda_attrib_octet_seq.octet_seq, in irda_setsockopt()
1992 ias_opt->attribute.irda_attrib_octet_seq.len, in irda_setsockopt()
2003 ias_opt->attribute.irda_attrib_string.string[ias_opt->attribute.irda_attrib_string.len] = '\0'; in irda_setsockopt()
2008 ias_opt->attribute.irda_attrib_string.string, in irda_setsockopt()
2190 ias_opt->attribute.irda_attrib_int = ias_value->t.integer; in irda_extract_ias_value()
2194 ias_opt->attribute.irda_attrib_octet_seq.len = ias_value->len; in irda_extract_ias_value()
2196 memcpy(ias_opt->attribute.irda_attrib_octet_seq.octet_seq, in irda_extract_ias_value()
2201 ias_opt->attribute.irda_attrib_string.len = ias_value->len; in irda_extract_ias_value()
[all …]
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt43 NETFS_XATTR_SET, /* Set extended attribute */
44 NETFS_XATTR_GET, /* Get extended attribute */
224 @id - attribute generation number or xattr setting type
225 @start - size of the attribute (request or attached)
226 @size - name length, path len and data size for given attribute
/linux-4.1.27/drivers/iio/trigger/
Diio-trig-sysfs.c67 static struct attribute *iio_sysfs_trig_attrs[] = {
115 static struct attribute *iio_sysfs_trigger_attrs[] = {
/linux-4.1.27/net/bluetooth/
Dhci_sysfs.c46 static struct attribute *bt_link_attrs[] = {
171 static struct attribute *bt_host_attrs[] = {
/linux-4.1.27/net/bridge/
Dbr_sysfs_if.c24 struct attribute attr;
227 struct attribute *attr, char *buf) in brport_show()
236 struct attribute *attr, in brport_store()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c199 struct attribute attr;
207 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show()
269 static struct attribute *usnic_ib_qpn_default_attrs[] = {
/linux-4.1.27/Documentation/acpi/
Dnamespace.txt236 directory in sysfs will contain the 'path' attribute whose value is
242 attribute.
246 device's type in the second column). The 'path' attribute containing
266 The 'modalias' attribute is also present for struct acpi_device
384 sysfs attribute.
386 attribute (as described earlier in this document).
388 'modalias' attribute.
/linux-4.1.27/drivers/net/wimax/i2400m/
Dsysfs.c72 struct attribute *i2400m_dev_attrs[] = {
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt112 as a driver attribute (see below).
114 Sysfs driver attributes are on the driver's sysfs attribute space,
118 Sysfs device attributes are on the thinkpad_acpi device sysfs attribute
122 thinkpad_hwmon device's sysfs attribute space, but you should locate it
123 looking for a hwmon device with the name attribute of "thinkpad", or
131 sysfs driver attribute: version
139 sysfs driver attribute: interface_version
150 attribute.
163 expect that an attribute might not be there, and deal with it properly
164 (an attribute not being there *is* a valid way to make it clear that a
[all …]
/linux-4.1.27/drivers/rapidio/
Drio-sysfs.c101 static struct attribute *rio_dev_attrs[] = {
331 static struct attribute *rio_bus_attrs[] = {
370 static struct attribute *rio_mport_attrs[] = {
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dpower.c59 static struct attribute *g[] = {
/linux-4.1.27/Documentation/netlabel/
Dcipso_ipv4.txt42 different security attribute mapping table.
46 The NetLabel system provides a framework for caching security attribute
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/
Dibmpowernv.txt11 given sensor and its attribute data
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_sysfs.c144 static struct attribute *rc6_attrs[] = {
155 static struct attribute *rc6p_attrs[] = {
166 static struct attribute *media_rc6_attrs[] = {
525 static const struct attribute *gen6_attrs[] = {
536 static const struct attribute *vlv_attrs[] = {
/linux-4.1.27/drivers/parisc/
Dpdc_stable.c110 struct attribute attr;
448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
493 static struct attribute *paths_subsys_attrs[] = {
944 static struct attribute *pdcs_subsys_attrs[] = {
/linux-4.1.27/net/ieee802154/
Dsysfs.c58 static struct attribute *pmib_attrs[] = {
/linux-4.1.27/drivers/hwmon/pmbus/
Dpmbus_core.c61 struct device_attribute attribute; member
70 container_of(_attr, struct pmbus_sensor, attribute)
74 struct sensor_device_attribute attribute; member
79 container_of(_attr, struct pmbus_boolean, attribute)
83 struct device_attribute attribute; member
87 container_of(_attr, struct pmbus_label, attribute)
801 static int pmbus_add_attribute(struct pmbus_data *data, struct attribute *attr) in pmbus_add_attribute()
864 a = &boolean->attribute; in pmbus_add_boolean()
888 a = &sensor->attribute; in pmbus_add_sensor()
920 a = &label->attribute; in pmbus_add_label()
/linux-4.1.27/drivers/ptp/
Dptp_private.h55 struct attribute **pin_attr;
/linux-4.1.27/Documentation/virtual/kvm/devices/
Dxics.txt41 KVM_DEV_XICS_SOURCES attribute group, with the attribute number being
/linux-4.1.27/fs/f2fs/
DKconfig61 Linux. This option enables an extended attribute handler for file
63 the extended attribute support in advance.
/linux-4.1.27/Documentation/thermal/
Dnouveau_thermal24 Temperature is exposed under as a read-only HWMON attribute temp1_input.
59 You may also have the following attribute:
/linux-4.1.27/Documentation/leds/
Dleds-lp5562.txt17 Device attribute: engine_mux
23 This attribute is used for programming LED data with the firmware interface.
/linux-4.1.27/Documentation/x86/
Dpat.txt4 x86 Page Attribute Table (PAT) allows for setting the memory attribute at the
9 such attribute settings allowed. Added flexibility comes with guidelines for
24 their intended usage and their memory attribute relationships. Internally,
/linux-4.1.27/drivers/gpu/drm/
Ddrm_sysfs.c386 static struct attribute *connector_dev_attrs[] = {
398 static struct attribute *connector_opt_dev_attrs[] = {
405 struct attribute *attr, int idx) in connector_opt_dev_is_visible()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c340 struct attribute attr;
424 static struct attribute *default_attrs[] = {
434 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show()
445 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store()

123456