Searched refs:attr_val (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 57 struct device_attribute attr_val; member 161 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in show_val_norm() 264 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_val); in store_val_norm() 337 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control() 338 cip->attr_val.attr.name = "cur_val"; in pvr2_sysfs_add_control() 339 cip->attr_val.attr.mode = S_IRUGO; in pvr2_sysfs_add_control() 356 cip->attr_val.attr.mode |= S_IWUSR|S_IWGRP; in pvr2_sysfs_add_control() 363 cip->attr_gen[acnt++] = &cip->attr_val.attr; in pvr2_sysfs_add_control() 365 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control() 366 cip->attr_val.store = store_val_norm; in pvr2_sysfs_add_control()
|
/Linux-v5.4/drivers/scsi/ufs/ |
D | ufshcd.h | 915 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val);
|
D | ufshcd.c | 2846 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) in ufshcd_query_attr() argument 2855 if (!attr_val) { in ufshcd_query_attr() 2869 request->upiu_req.value = cpu_to_be32(*attr_val); in ufshcd_query_attr() 2889 *attr_val = be32_to_cpu(response->upiu_res.value); in ufshcd_query_attr() 2913 u32 *attr_val) in ufshcd_query_attr_retry() argument 2920 selector, attr_val); in ufshcd_query_attr_retry()
|