Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/
Dindustrialio-event.c473 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
514 attrn = attrcount_orig; in iio_device_register_eventset()
519 indio_dev->event_interface->group.attrs[attrn++] = in iio_device_register_eventset()
Dindustrialio-core.c1323 int i, ret = 0, attrcount, attrn, attrcount_orig = 0; in iio_device_register_sysfs() local
1373 attrn = attrcount_orig; in iio_device_register_sysfs()
1376 indio_dev->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1378 indio_dev->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1380 indio_dev->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
Dindustrialio-buffer.c1232 int ret, i, attrn, attrcount, attrcount_orig = 0; in iio_buffer_alloc_sysfs_and_mask() local
1321 attrn = attrcount_orig; in iio_buffer_alloc_sysfs_and_mask()
1324 buffer->scan_el_group.attrs[attrn++] = &p->dev_attr.attr; in iio_buffer_alloc_sysfs_and_mask()