Searched refs:attr_def (Results 1 – 1 of 1) sorted by relevance
54 struct device_attribute attr_def; member142 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_def); in show_def()332 sysfs_attr_init(&cip->attr_def.attr); in pvr2_sysfs_add_control()333 cip->attr_def.attr.name = "def_val"; in pvr2_sysfs_add_control()334 cip->attr_def.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()335 cip->attr_def.show = show_def; in pvr2_sysfs_add_control()364 cip->attr_gen[acnt++] = &cip->attr_def.attr; in pvr2_sysfs_add_control()