Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c53 struct device_attribute attr_max; member
123 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max); in show_max()
323 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
324 cip->attr_max.attr.name = "max_val"; in pvr2_sysfs_add_control()
325 cip->attr_max.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
326 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
376 cip->attr_gen[acnt++] = &cip->attr_max.attr; in pvr2_sysfs_add_control()
/openbmc/linux/arch/powerpc/perf/
H A Dhv-24x7.c772 attr_max, event_idx_last, desc_ct, long_desc_ct; in create_events_from_catalog() local
876 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
910 attr_max++; in create_events_from_catalog()
918 events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); in create_events_from_catalog()