Searched refs:attr_val (Results 1 – 1 of 1) sorted by relevance
57 struct device_attribute attr_val; member157 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in show_val_norm()260 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in store_val_norm()333 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control()334 cip->attr_val.attr.name = "cur_val"; in pvr2_sysfs_add_control()335 cip->attr_val.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()352 cip->attr_val.attr.mode |= S_IWUSR|S_IWGRP; in pvr2_sysfs_add_control()359 cip->attr_gen[acnt++] = &cip->attr_val.attr; in pvr2_sysfs_add_control()361 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control()362 cip->attr_val.store = store_val_norm; in pvr2_sysfs_add_control()