Home
last modified time | relevance | path

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

/linux/Documentation/driver-api/driver-model/
H A 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/Documentation/translations/zh_CN/filesystems/
H A 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/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt333 struct bus_attribute {
345 int bus_create_file(struct bus_type *, struct bus_attribute *);
346 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux/drivers/base/
H A Dbus.c31 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
153 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show()
166 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store()
181 int bus_create_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_create_file()
196 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
845 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, 0200, NULL,
/linux/Documentation/filesystems/
H A Dsysfs.rst374 struct bus_attribute {
388 int bus_create_file(struct bus_type *, struct bus_attribute *);
389 void bus_remove_file(struct bus_type *, struct bus_attribute *);
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c1001 static struct bus_attribute bus_attr_cmo_bus_##name = \