Searched refs:bus_attribute (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/Documentation/driver-model/ |
D | bus.txt | 121 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-4.4.14/Documentation/zh_CN/filesystems/ |
D | sysfs.txt | 329 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-4.4.14/include/linux/ |
D | device.h | 45 struct bus_attribute { struct 52 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) argument 54 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) 56 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 59 struct bus_attribute *); 60 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
/linux-4.4.14/drivers/base/ |
D | bus.c | 28 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr) 103 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show() 115 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store() 129 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 141 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs.txt | 339 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-4.4.14/drivers/s390/crypto/ |
D | ap_bus.c | 1542 static struct bus_attribute *const ap_bus_attrs[] = {
|