Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c63 struct device_attribute attr_max; member
137 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max); in show_max()
337 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
338 cip->attr_max.attr.name = "max_val"; in pvr2_sysfs_add_control()
339 cip->attr_max.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
340 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
390 cip->attr_gen[acnt++] = &cip->attr_max.attr; in pvr2_sysfs_add_control()
/Linux-v4.19/arch/powerpc/perf/
Dhv-24x7.c695 attr_max, event_idx_last, desc_ct, long_desc_ct; in create_events_from_catalog() local
799 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
829 attr_max++; in create_events_from_catalog()
837 events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); in create_events_from_catalog()