Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/
Dindustrialio-event.c476 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
517 attrn = attrcount_orig; in iio_device_register_eventset()
522 indio_dev->event_interface->group.attrs[attrn++] = in iio_device_register_eventset()
Dindustrialio-core.c1343 int i, ret = 0, attrcount, attrn, attrcount_orig = 0; in iio_device_register_sysfs() local
1393 attrn = attrcount_orig; in iio_device_register_sysfs()
1396 indio_dev->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1398 indio_dev->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1400 indio_dev->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
Dindustrialio-buffer.c1241 int ret, i, attrn, attrcount, attrcount_orig = 0; in iio_buffer_alloc_sysfs_and_mask() local
1331 attrn = attrcount_orig; in iio_buffer_alloc_sysfs_and_mask()
1334 buffer->scan_el_group.attrs[attrn++] = &p->dev_attr.attr; in iio_buffer_alloc_sysfs_and_mask()