Searched refs:bus_attribute (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.4/Documentation/driver-api/driver-model/ | 
| 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 *);
  | 
| /Linux-v5.4/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-v5.4/drivers/base/ | 
| D | bus.c | 26 #define to_bus_attr(_attr) container_of(_attr, struct bus_attribute, attr) 104 	struct bus_attribute *bus_attr = to_bus_attr(attr);  in bus_attr_show() 116 	struct bus_attribute *bus_attr = to_bus_attr(attr);  in bus_attr_store() 130 int bus_create_file(struct bus_type *bus, struct bus_attribute *attr)  in bus_create_file() 142 void bus_remove_file(struct bus_type *bus, struct bus_attribute *attr)  in bus_remove_file() 790 static struct bus_attribute bus_attr_uevent = __ATTR(uevent, S_IWUSR, NULL,
  | 
| /Linux-v5.4/include/linux/ | 
| D | device.h | 47 struct bus_attribute {  struct 54 	struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)  argument 56 	struct bus_attribute bus_attr_##_name = __ATTR_RO(_name) 58 	struct bus_attribute bus_attr_##_name = __ATTR_WO(_name) 61 					struct bus_attribute *); 62 extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
  | 
| /Linux-v5.4/Documentation/filesystems/ | 
| D | sysfs.txt | 360 struct bus_attribute { 374 int bus_create_file(struct bus_type *, struct bus_attribute *); 375 void bus_remove_file(struct bus_type *, struct bus_attribute *);
  | 
| /Linux-v5.4/drivers/s390/crypto/ | 
| D | ap_bus.c | 1248 static struct bus_attribute *const ap_bus_attrs[] = {
  | 
| /Linux-v5.4/arch/powerpc/platforms/pseries/ | 
| D | vio.c | 1007 static struct bus_attribute bus_attr_cmo_bus_##name =			\
  |