Searched refs:class_attribute (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/drivers/uwb/ |
D | driver.c | 78 struct class_attribute *attr, in beacon_timeout_ms_show() 86 struct class_attribute *attr, in beacon_timeout_ms_store()
|
/linux-4.19.296/drivers/base/ |
D | class.c | 22 #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr) 27 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() 39 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_store() 87 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() 100 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() 474 struct class_attribute *attr, char *buf) in show_class_attr_string()
|
D | devcoredump.c | 123 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, in disabled_show() 129 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, in disabled_store()
|
/linux-4.19.296/include/linux/ |
D | device.h | 470 struct class_attribute { struct 472 ssize_t (*show)(struct class *class, struct class_attribute *attr, argument 474 ssize_t (*store)(struct class *class, struct class_attribute *attr, argument 479 struct class_attribute class_attr_##_name = __ATTR_RW(_name) 481 struct class_attribute class_attr_##_name = __ATTR_RO(_name) 483 struct class_attribute class_attr_##_name = __ATTR_WO(_name) 486 const struct class_attribute *attr, 489 const struct class_attribute *attr, 493 const struct class_attribute *attr) in class_create_file() 499 const struct class_attribute *attr) in class_remove_file() [all …]
|
D | netdevice.h | 4406 int netdev_class_create_file_ns(const struct class_attribute *class_attr, 4408 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, 4411 static inline int netdev_class_create_file(const struct class_attribute *class_attr) in netdev_class_create_file() 4416 static inline void netdev_class_remove_file(const struct class_attribute *class_attr) in netdev_class_remove_file()
|
/linux-4.19.296/drivers/base/firmware_loader/ |
D | fallback.c | 120 static ssize_t timeout_show(struct class *class, struct class_attribute *attr, in timeout_show() 139 static ssize_t timeout_store(struct class *class, struct class_attribute *attr, in timeout_store()
|
/linux-4.19.296/drivers/gpio/ |
D | gpiolib-sysfs.c | 459 struct class_attribute *attr, in export_store() 514 struct class_attribute *attr, in unexport_store()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | sysfs.c | 568 static struct kobj_attribute class_attribute = variable 574 &class_attribute.attr,
|
/linux-4.19.296/include/net/ |
D | bonding.h | 604 struct class_attribute class_attr_bonding_masters;
|