Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/device/
Dbus.h123 struct bus_attribute { struct
130 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) argument
132 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
134 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name)
137 struct bus_attribute *);
138 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.10/Documentation/driver-api/driver-model/
Dbus.rst126 struct bus_attribute {
140 static bus_attribute bus_attr_debug;
145 int bus_create_file(struct bus_type *, struct bus_attribute *);
146 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.10/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt330 struct bus_attribute {
342 int bus_create_file(struct bus_type *, struct bus_attribute *);
343 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.10/drivers/base/
Dbus.c27 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
105 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
117 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
131 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
143 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
791 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, S_IWUSR, NULL,
/Linux-v5.10/Documentation/filesystems/
Dsysfs.rst367 struct bus_attribute {
381 int bus_create_file(struct bus_type *, struct bus_attribute *);
382 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.10/drivers/s390/crypto/
Dap_bus.c1169 static struct bus_attribute *const ap_bus_attrs[] = {
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dvio.c1010 static struct bus_attribute bus_attr_cmo_bus_##name = \