Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/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-v5.4/drivers/base/
Dbus.c26 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
104 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
116 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
130 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
142 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
790 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, S_IWUSR, NULL,
/Linux-v5.4/include/linux/
Ddevice.h47 struct bus_attribute { struct
54 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) argument
56 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
58 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name)
61 struct bus_attribute *);
62 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.4/Documentation/filesystems/
Dsysfs.txt360 struct bus_attribute {
374 int bus_create_file(struct bus_type *, struct bus_attribute *);
375 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/Linux-v5.4/drivers/s390/crypto/
Dap_bus.c1248 static struct bus_attribute *const ap_bus_attrs[] = {
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dvio.c1007 static struct bus_attribute bus_attr_cmo_bus_##name = \