Searched refs:class_attrs (Results 1 – 8 of 8) sorted by relevance
137 if (cls->class_attrs) { in add_class_attrs()138 for (i = 0; attr_name(cls->class_attrs[i]); i++) { in add_class_attrs()139 error = class_create_file(cls, &cls->class_attrs[i]); in add_class_attrs()148 class_remove_file(cls, &cls->class_attrs[i]); in add_class_attrs()156 if (cls->class_attrs) { in remove_class_attrs()157 for (i = 0; attr_name(cls->class_attrs[i]); i++) in remove_class_attrs()158 class_remove_file(cls, &cls->class_attrs[i]); in remove_class_attrs()
185 .class_attrs = firmware_class_attrs,
50 .class_attrs = merisc_class_attrs,
107 .class_attrs = uwb_class_attrs,
662 class_osdblk->class_attrs = class_osdblk_attrs; in osdblk_sysfs_init()
421 class_pktcdvd->class_attrs = class_pktcdvd_attrs; in pkt_sysfs_init()
334 struct class_attribute *class_attrs; member
684 .class_attrs = gpio_class_attrs,