Home
last modified time | relevance | path

Searched refs:attr_val (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c57 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()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd.h1027 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val);
Dufshcd.c2958 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) in ufshcd_query_attr() argument
2967 if (!attr_val) { in ufshcd_query_attr()
2981 request->upiu_req.value = cpu_to_be32(*attr_val); in ufshcd_query_attr()
3001 *attr_val = be32_to_cpu(response->upiu_res.value); in ufshcd_query_attr()
3025 u32 *attr_val) in ufshcd_query_attr_retry() argument
3032 selector, attr_val); in ufshcd_query_attr_retry()