Home
last modified time | relevance | path

Searched refs:bus_attribute (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/Documentation/driver-model/
Dbus.txt121 struct bus_attribute {
135 static bus_attribute bus_attr_debug;
140 int bus_create_file(struct bus_type *, struct bus_attribute *);
141 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux-4.1.27/Documentation/zh_CN/filesystems/
Dsysfs.txt329 struct bus_attribute {
341 int bus_create_file(struct bus_type *, struct bus_attribute *);
342 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux-4.1.27/include/linux/
Ddevice.h45 struct bus_attribute { struct
52 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) argument
54 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)
56 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
59 struct bus_attribute *);
60 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux-4.1.27/drivers/base/
Dbus.c27 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
102 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
114 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
128 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
140 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
/linux-4.1.27/Documentation/filesystems/
Dsysfs.txt335 struct bus_attribute {
347 int bus_create_file(struct bus_type *, struct bus_attribute *);
348 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux-4.1.27/drivers/s390/crypto/
Dap_bus.c1208 static struct bus_attribute *const ap_bus_attrs[] = {