Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/device/
H A Dbus.h128 struct bus_attribute { struct
135 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) argument
137 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
139 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name)
142 struct bus_attribute *);
143 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
/OK3568_Linux_fs/kernel/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 *);
/OK3568_Linux_fs/kernel/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 *);
/OK3568_Linux_fs/kernel/drivers/base/
H A Dbus.c27 #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()
793 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, S_IWUSR, NULL,
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dsysfs.rst367 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 *);
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dap_bus.c1160 static struct bus_attribute *const ap_bus_attrs[] = {
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dvio.c1010 static struct bus_attribute bus_attr_cmo_bus_##name = \