Searched refs:bus_attribute (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/linux/device/ |
H A D | bus.h | 118 struct bus_attribute { struct 125 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) argument 127 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 129 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name) 131 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr); 132 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr);
|
/openbmc/linux/Documentation/driver-api/driver-model/ |
H A 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 *);
|
/openbmc/linux/Documentation/translations/zh_TW/filesystems/ |
H A 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 *);
|
/openbmc/linux/Documentation/translations/zh_CN/filesystems/ |
H A 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 *);
|
/openbmc/linux/drivers/base/ |
H A D | bus.c | 31 #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() 842 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, 0200, NULL,
|
/openbmc/linux/Documentation/filesystems/ |
H A D | sysfs.rst | 374 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 *);
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_path_callouts.pl | 878 {CONNECTION}->{BUS}->[$connIndex]->{bus_attribute}->
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 1013 static struct bus_attribute bus_attr_cmo_bus_##name = \
|