Searched refs:bus_attribute (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/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-v4.19/Documentation/translations/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-v4.19/drivers/base/ |
D | bus.c | 26 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr) 101 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_show() 113 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store() 127 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 139 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file()
|
/Linux-v4.19/include/linux/ |
D | device.h | 46 struct bus_attribute { struct 53 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) argument 55 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) 57 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 60 struct bus_attribute *); 61 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
/Linux-v4.19/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-v4.19/drivers/s390/crypto/ |
D | ap_bus.c | 1206 static struct bus_attribute *const ap_bus_attrs[] = {
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | vio.c | 1026 static struct bus_attribute bus_attr_cmo_bus_##name = \
|