Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/ufs/core/
Dufshcd-priv.h58 u32 *attr_val);
60 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val);
Dufshcd.c3184 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) in ufshcd_query_attr() argument
3192 if (!attr_val) { in ufshcd_query_attr()
3207 request->upiu_req.value = cpu_to_be32(*attr_val); in ufshcd_query_attr()
3227 *attr_val = be32_to_cpu(response->upiu_res.value); in ufshcd_query_attr()
3250 u32 *attr_val) in ufshcd_query_attr_retry() argument
3257 selector, attr_val); in ufshcd_query_attr_retry()