Searched refs:bus_attribute (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/linux/device/
H A Dbus.h113 struct bus_attribute { struct
120 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)
122 struct bus_attribute bus_attr_##_name = __ATTR_RO(_name)
124 struct bus_attribute bus_attr_##_name = __ATTR_WO(_name)
126 int __must_check bus_create_file(const struct bus_type *bus, struct bus_attribute *attr);
127 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr);
/linux-master/drivers/base/
H A Dbus.c31 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr)
153 struct bus_attribute *bus_attr = to_bus_attr(attr);
165 struct bus_attribute *bus_attr = to_bus_attr(attr);
179 int bus_create_file(const struct bus_type *bus, struct bus_attribute *attr)
194 void bus_remove_file(const struct bus_type *bus, struct bus_attribute *attr)
833 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, 0200, NULL,
/linux-master/arch/powerpc/platforms/pseries/
H A Dvio.c1001 static struct bus_attribute bus_attr_cmo_bus_##name = \

Completed in 229 milliseconds