Searched refs:bus_attribute (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/linux/device/ |
H A D | bus.h | 123 struct bus_attribute { struct 130 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) 132 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 134 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name) 137 struct bus_attribute *); 138 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
/kernel/linux/linux-6.6/include/linux/device/ |
H A D | bus.h | 118 struct bus_attribute { struct 125 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) 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);
|
/kernel/linux/linux-5.10/drivers/base/ |
H A 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() 793 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, S_IWUSR, NULL,
|
/kernel/linux/linux-6.6/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() 165 struct bus_attribute *bus_attr = to_bus_attr(attr); in bus_attr_store() 179 int bus_create_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_create_file() 194 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr) in bus_remove_file() 833 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, 0200, NULL,
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 1010 static struct bus_attribute bus_attr_cmo_bus_##name = \
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 1013 static struct bus_attribute bus_attr_cmo_bus_##name = \
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | ap_bus.c | 1160 static struct bus_attribute *const ap_bus_attrs[] = {
|
Completed in 12 milliseconds