Searched refs:bus_attribute (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/include/linux/device/ |
D | bus.h | 126 struct bus_attribute { struct 133 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) argument 135 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 137 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name) 140 struct bus_attribute *); 141 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
/linux-5.19.10/Documentation/driver-api/driver-model/ |
D | bus.rst | 126 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-5.19.10/Documentation/translations/zh_CN/filesystems/ |
D | sysfs.txt | 330 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-5.19.10/Documentation/translations/zh_TW/filesystems/ |
D | sysfs.txt | 333 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-5.19.10/drivers/base/ |
D | bus.c | 27 #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() 772 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, 0200, NULL,
|
/linux-5.19.10/Documentation/filesystems/ |
D | sysfs.rst | 367 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-5.19.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 1013 static struct bus_attribute bus_attr_cmo_bus_##name = \
|