Searched refs:attrn (Results 1 – 2 of 2) sorted by relevance
577 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local618 attrn = attrcount_orig; in iio_device_register_eventset()621 ev_int->group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_eventset()
2106 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local2175 attrn = buffer_attrcount + scan_el_attrcount; in __iio_buffer_alloc_sysfs_and_mask()2176 attr = kcalloc(attrn + 1, sizeof(*attr), GFP_KERNEL); in __iio_buffer_alloc_sysfs_and_mask()2208 attrn = 0; in __iio_buffer_alloc_sysfs_and_mask()2210 attr[attrn++] = &p->dev_attr.attr; in __iio_buffer_alloc_sysfs_and_mask()