Searched refs:class_attribute (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/arch/avr32/boards/merisc/
H A Dmerisc_sysfs.c41 static struct class_attribute merisc_class_attrs[] = {
/linux-4.1.27/drivers/uwb/
H A Ddriver.c78 struct class_attribute *attr, beacon_timeout_ms_show()
86 struct class_attribute *attr, beacon_timeout_ms_store()
98 static struct class_attribute uwb_class_attrs[] = {
/linux-4.1.27/drivers/base/
H A Dclass.c24 #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr)
29 struct class_attribute *class_attr = to_class_attr(attr); class_attr_show()
41 struct class_attribute *class_attr = to_class_attr(attr); class_attr_store()
89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, class_create_file_ns()
102 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, class_remove_file_ns()
489 struct class_attribute *attr, char *buf) show_class_attr_string()
H A Ddevcoredump.c137 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, disabled_show()
143 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, disabled_store()
163 static struct class_attribute devcd_class_attrs[] = {
H A Dfirmware_class.c506 static ssize_t timeout_show(struct class *class, struct class_attribute *attr, timeout_show()
525 static ssize_t timeout_store(struct class *class, struct class_attribute *attr, timeout_store()
535 static struct class_attribute firmware_class_attrs[] = {
/linux-4.1.27/include/linux/
H A Ddevice.h357 struct class_attribute *class_attrs;
419 struct class_attribute { struct
421 ssize_t (*show)(struct class *class, struct class_attribute *attr,
423 ssize_t (*store)(struct class *class, struct class_attribute *attr,
428 struct class_attribute class_attr_##_name = __ATTR(_name, _mode, _show, _store)
430 struct class_attribute class_attr_##_name = __ATTR_RW(_name)
432 struct class_attribute class_attr_##_name = __ATTR_RO(_name)
435 const struct class_attribute *attr,
438 const struct class_attribute *attr,
442 const struct class_attribute *attr) class_create_file()
448 const struct class_attribute *attr) class_remove_file()
455 struct class_attribute attr;
466 extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr,
H A Dnetdevice.h3626 int netdev_class_create_file_ns(struct class_attribute *class_attr,
3628 void netdev_class_remove_file_ns(struct class_attribute *class_attr,
3631 static inline int netdev_class_create_file(struct class_attribute *class_attr) netdev_class_create_file()
3636 static inline void netdev_class_remove_file(struct class_attribute *class_attr) netdev_class_remove_file()
/linux-4.1.27/drivers/block/
H A Dosdblk.c472 struct class_attribute *attr, class_osdblk_list()
498 struct class_attribute *attr, class_osdblk_add()
592 struct class_attribute *attr, class_osdblk_remove()
639 static struct class_attribute class_osdblk_attrs[] = {
H A Dpktcdvd.c351 struct class_attribute *attr, class_pktcdvd_show_map()
372 struct class_attribute *attr, class_pktcdvd_store_add()
394 struct class_attribute *attr, class_pktcdvd_store_remove()
406 static struct class_attribute class_pktcdvd_attrs[] = {
/linux-4.1.27/drivers/net/bonding/
H A Dbond_sysfs.c52 struct class_attribute *attr, bonding_show_bonds()
96 struct class_attribute *attr, bonding_store_bonds()
148 static const struct class_attribute class_attr_bonding_masters = {
/linux-4.1.27/drivers/gpio/
H A Dgpiolib-sysfs.c447 struct class_attribute *attr, export_store()
489 struct class_attribute *attr, unexport_store()
523 static struct class_attribute gpio_class_attrs[] = {
/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c456 static struct kobj_attribute class_attribute = variable in typeref:struct:kobj_attribute
462 &class_attribute.attr,
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dmobility.c318 static ssize_t migrate_store(struct class *class, struct class_attribute *attr, migrate_store()
H A Ddlpar.c568 static ssize_t dlpar_store(struct class *class, struct class_attribute *attr, dlpar_store()
/linux-4.1.27/include/net/
H A Dbonding.h524 struct class_attribute class_attr_bonding_masters;
/linux-4.1.27/net/core/
H A Dnet-sysfs.c1538 int netdev_class_create_file_ns(struct class_attribute *class_attr, netdev_class_create_file_ns()
1545 void netdev_class_remove_file_ns(struct class_attribute *class_attr, netdev_class_remove_file_ns()
/linux-4.1.27/drivers/mtd/ubi/
H A Dbuild.c110 struct class_attribute *attr, char *buf) ubi_version_show()
116 static struct class_attribute ubi_version =

Completed in 493 milliseconds