Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-event.c482 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
523 attrn = attrcount_orig; in iio_device_register_eventset()
526 ev_int->group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_eventset()
Dindustrialio-core.c1421 int i, ret = 0, attrcount, attrn, attrcount_orig = 0; in iio_device_register_sysfs() local
1474 attrn = attrcount_orig; in iio_device_register_sysfs()
1477 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs()
1479 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs()
1481 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()
1483 iio_dev_opaque->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
Dindustrialio-buffer.c1272 int ret, i, attrn, attrcount; in __iio_buffer_alloc_sysfs_and_mask() local
1341 attrn = 0; in __iio_buffer_alloc_sysfs_and_mask()
1344 buffer->scan_el_group.attrs[attrn++] = &p->dev_attr.attr; in __iio_buffer_alloc_sysfs_and_mask()