Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c54 struct device_attribute attr_def; member
138 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_def); in show_def()
328 sysfs_attr_init(&cip->attr_def.attr); in pvr2_sysfs_add_control()
329 cip->attr_def.attr.name = "def_val"; in pvr2_sysfs_add_control()
330 cip->attr_def.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
331 cip->attr_def.show = show_def; in pvr2_sysfs_add_control()
360 cip->attr_gen[acnt++] = &cip->attr_def.attr; in pvr2_sysfs_add_control()