Searched refs:attr_val (Results 1 – 3 of 3) sorted by relevance
71 struct device_attribute attr_val; member176 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in show_val_norm()279 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in store_val_norm()352 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control()353 cip->attr_val.attr.name = "cur_val"; in pvr2_sysfs_add_control()354 cip->attr_val.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()371 cip->attr_val.attr.mode |= S_IWUSR|S_IWGRP; in pvr2_sysfs_add_control()378 cip->attr_gen[acnt++] = &cip->attr_val.attr; in pvr2_sysfs_add_control()380 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control()381 cip->attr_val.store = store_val_norm; in pvr2_sysfs_add_control()
335 u8 attr_val[0]; member348 u8 attr_val[0]; member
234 memcpy(attr->attr_val, oa->val_ptr, oa->len); in _osd_req_alist_elem_encode()241 memcpy(attr->attr_val, oa->val_ptr, oa->len); in _osd_req_alist_elem_encode()267 oa->val_ptr = likely(oa->len) ? attr->attr_val : in _osd_req_alist_elem_decode()288 oa->val_ptr = likely(oa->len) ? attr->attr_val : attr->reserved; in _osd_req_alist_elem_decode()