Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/Documentation/translations/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-v4.19/drivers/base/
Dbus.c26 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
101 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
113 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
127 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
139 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
/Linux-v4.19/include/linux/
Ddevice.h46 struct bus_attribute { struct
53 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) argument
55 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)
57 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
60 struct bus_attribute *);
61 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v4.19/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-v4.19/drivers/s390/crypto/
Dap_bus.c1206 static struct bus_attribute *const ap_bus_attrs[] = {
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dvio.c1026 static struct bus_attribute bus_attr_cmo_bus_##name = \