Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/base/
Dbus.c28 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
103 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
115 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
129 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
141 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
/linux-4.4.14/Documentation/filesystems/
Dsysfs.txt339 struct bus_attribute {
351 int bus_create_file(struct bus_type *, struct bus_attribute *);
352 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux-4.4.14/drivers/s390/crypto/
Dap_bus.c1542 static struct bus_attribute *const ap_bus_attrs[] = {