Searched refs:attr_val (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c71 struct device_attribute attr_val; member in struct:pvr2_sysfs_ctl_item
176 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); show_val_norm()
279 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); store_val_norm()
352 sysfs_attr_init(&cip->attr_val.attr); pvr2_sysfs_add_control()
353 cip->attr_val.attr.name = "cur_val"; pvr2_sysfs_add_control()
354 cip->attr_val.attr.mode = S_IRUGO; pvr2_sysfs_add_control()
371 cip->attr_val.attr.mode |= S_IWUSR|S_IWGRP; pvr2_sysfs_add_control()
378 cip->attr_gen[acnt++] = &cip->attr_val.attr; pvr2_sysfs_add_control()
380 cip->attr_val.show = show_val_norm; pvr2_sysfs_add_control()
381 cip->attr_val.store = store_val_norm; pvr2_sysfs_add_control()
/linux-4.1.27/include/scsi/
H A Dosd_protocol.h334 __be16 attr_bytes; /* valid bytes at attr_val without padding */
335 u8 attr_val[0]; member in struct:osdv1_attributes_list_element
347 __be16 attr_bytes; /* valid bytes at attr_val without padding */
348 u8 attr_val[0]; member in struct:osdv2_attributes_list_element
/linux-4.1.27/drivers/scsi/osd/
H A Dosd_initiator.c239 memcpy(attr->attr_val, oa->val_ptr, oa->len); _osd_req_alist_elem_encode()
246 memcpy(attr->attr_val, oa->val_ptr, oa->len); _osd_req_alist_elem_encode()
272 oa->val_ptr = likely(oa->len) ? attr->attr_val : _osd_req_alist_elem_decode()
293 oa->val_ptr = likely(oa->len) ? attr->attr_val : attr->reserved; _osd_req_alist_elem_decode()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd.c1651 * attr_val: the attribute value after the query request completes
1656 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) ufshcd_query_attr()
1665 if (!attr_val) { ufshcd_query_attr()
1679 request->upiu_req.value = cpu_to_be32(*attr_val); ufshcd_query_attr()
1699 *attr_val = be32_to_cpu(response->upiu_res.value); ufshcd_query_attr()
1655 ufshcd_query_attr(struct ufs_hba *hba, enum query_opcode opcode, enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) ufshcd_query_attr() argument

Completed in 211 milliseconds