Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c53 struct device_attribute attr_max; member
127 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max); in show_max()
327 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
328 cip->attr_max.attr.name = "max_val"; in pvr2_sysfs_add_control()
329 cip->attr_max.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
330 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
380 cip->attr_gen[acnt++] = &cip->attr_max.attr; in pvr2_sysfs_add_control()
/linux-6.1.9/arch/powerpc/perf/
Dhv-24x7.c785 attr_max, event_idx_last, desc_ct, long_desc_ct; in create_events_from_catalog() local
889 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
923 attr_max++; in create_events_from_catalog()
931 events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); in create_events_from_catalog()