Home
last modified time | relevance | path

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

/drivers/iio/
Dindustrialio-buffer.c1329 int buffer_attrcount, in iio_buffer_register_legacy_sysfs_groups() argument
1337 attrs = kcalloc(buffer_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups()
1341 memcpy(attrs, buffer_attrs, buffer_attrcount * sizeof(*attrs)); in iio_buffer_register_legacy_sysfs_groups()
1357 memcpy(attrs, &buffer_attrs[buffer_attrcount], in iio_buffer_register_legacy_sysfs_groups()
1491 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local
1494 buffer_attrcount = 0; in __iio_buffer_alloc_sysfs_and_mask()
1496 while (buffer->attrs[buffer_attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask()
1497 buffer_attrcount++; in __iio_buffer_alloc_sysfs_and_mask()
1528 attrn = buffer_attrcount + scan_el_attrcount + ARRAY_SIZE(iio_buffer_attrs); in __iio_buffer_alloc_sysfs_and_mask()
1544 sizeof(struct attribute *) * buffer_attrcount); in __iio_buffer_alloc_sysfs_and_mask()
[all …]