Home
last modified time | relevance | path

Searched refs:device_attribute (Results 1 – 17 of 17) sorted by relevance

/include/linux/
Dcpu.h44 extern int cpu_add_dev_attr(struct device_attribute *attr);
45 extern void cpu_remove_dev_attr(struct device_attribute *attr);
51 struct device_attribute *attr, char *buf);
53 struct device_attribute *attr, char *buf);
55 struct device_attribute *attr, char *buf);
57 struct device_attribute *attr, char *buf);
59 struct device_attribute *attr, char *buf);
61 struct device_attribute *attr, char *buf);
63 struct device_attribute *attr,
66 struct device_attribute *attr, char *buf);
Dattribute_container.h21 struct device_attribute **attrs;
69 struct device_attribute **attribute_container_classdev_to_attrs(const struct device *classdev);
Ddevice.h821 struct device_attribute { struct
823 ssize_t (*show)(struct device *dev, struct device_attribute *attr, argument
825 ssize_t (*store)(struct device *dev, struct device_attribute *attr, argument
830 struct device_attribute attr;
834 ssize_t device_show_ulong(struct device *dev, struct device_attribute *attr,
836 ssize_t device_store_ulong(struct device *dev, struct device_attribute *attr,
838 ssize_t device_show_int(struct device *dev, struct device_attribute *attr,
840 ssize_t device_store_int(struct device *dev, struct device_attribute *attr,
842 ssize_t device_show_bool(struct device *dev, struct device_attribute *attr,
844 ssize_t device_store_bool(struct device *dev, struct device_attribute *attr,
[all …]
Dhwmon-sysfs.h13 struct device_attribute dev_attr;
46 struct device_attribute dev_attr;
Dgenhd.h648 struct device_attribute *attr, char *buf);
650 struct device_attribute *attr, char *buf);
652 struct device_attribute *attr, char *buf);
655 struct device_attribute *attr, char *buf);
657 struct device_attribute *attr,
Dleds.h363 ssize_t led_trigger_store(struct device *dev, struct device_attribute *attr,
365 ssize_t led_trigger_show(struct device *dev, struct device_attribute *attr,
Dperf_event.h1460 struct device_attribute attr;
1466 struct device_attribute attr;
1472 ssize_t perf_event_sysfs_show(struct device *dev, struct device_attribute *attr,
1491 struct device_attribute *attr, \
1498 static struct device_attribute format_attr_##_name = __ATTR_RO(_name)
Dlibata.h533 extern struct device_attribute dev_attr_link_power_management_policy;
534 extern struct device_attribute dev_attr_unload_heads;
535 extern struct device_attribute dev_attr_ncq_prio_enable;
536 extern struct device_attribute dev_attr_em_message_type;
537 extern struct device_attribute dev_attr_em_message;
538 extern struct device_attribute dev_attr_sw_activity;
1331 extern struct device_attribute *ata_common_sdev_attrs[];
Dthermal.h145 struct device_attribute attr;
Dide.h1162 ssize_t ide_park_show(struct device *dev, struct device_attribute *attr,
1164 ssize_t ide_park_store(struct device *dev, struct device_attribute *attr,
/include/linux/power/
Dcharger-manager.h121 struct device_attribute attr_name;
122 struct device_attribute attr_state;
123 struct device_attribute attr_externally_control;
/include/linux/iio/
Dsysfs.h22 struct device_attribute dev_attr;
32 struct device_attribute *attr,
43 struct device_attribute dev_attr;
/include/linux/iio/common/
Dst_sensors.h313 struct device_attribute *attr, char *buf);
316 struct device_attribute *attr, char *buf);
/include/scsi/
Dscsi_host.h462 struct device_attribute **shost_attrs;
467 struct device_attribute **sdev_attrs;
Dscsi_transport_fc.h164 struct device_attribute dev_attr_vport_##_name = \
290 struct device_attribute dev_attr_rport_##_name = \
Dlibsas.h673 extern struct device_attribute dev_attr_phy_event_threshold;
/include/drm/
Ddrm_connector.h1089 struct device_attribute *attr;