Searched refs:attr_max (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 53 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()
|
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 53 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()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
H A D | hv-24x7.c | 771 attr_max, event_idx_last, desc_ct, long_desc_ct; in create_events_from_catalog() local 875 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog() 905 attr_max++; in create_events_from_catalog() 913 events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); in create_events_from_catalog()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | hv-24x7.c | 772 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()
|
Completed in 7 milliseconds