Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c58 struct device_attribute attr_custom; member
180 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_custom); in show_val_custom()
278 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_custom); in store_val_custom()
341 sysfs_attr_init(&cip->attr_custom.attr); in pvr2_sysfs_add_control()
342 cip->attr_custom.attr.name = "custom_val"; in pvr2_sysfs_add_control()
343 cip->attr_custom.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
357 cip->attr_custom.attr.mode |= S_IWUSR|S_IWGRP; in pvr2_sysfs_add_control()
368 cip->attr_gen[acnt++] = &cip->attr_custom.attr; in pvr2_sysfs_add_control()
369 cip->attr_custom.show = show_val_custom; in pvr2_sysfs_add_control()
370 cip->attr_custom.store = store_val_custom; in pvr2_sysfs_add_control()