Searched refs:attrn (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/iio/ |
A D | industrialio-event.c | 504 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local 545 attrn = attrcount_orig; in iio_device_register_eventset() 548 ev_int->group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_eventset()
|
A D | industrialio-core.c | 1515 int i, ret = 0, attrcount, attrn, attrcount_orig = 0; in iio_device_register_sysfs() local 1571 attrn = attrcount_orig; in iio_device_register_sysfs() 1574 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_sysfs() 1576 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr; in iio_device_register_sysfs() 1578 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs() 1580 iio_dev_opaque->chan_attr_group.attrs[attrn++] = clk; in iio_device_register_sysfs()
|
A D | industrialio-buffer.c | 1606 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local 1643 attrn = buffer_attrcount + scan_el_attrcount + ARRAY_SIZE(iio_buffer_attrs); in __iio_buffer_alloc_sysfs_and_mask() 1644 attr = kcalloc(attrn + 1, sizeof(* attr), GFP_KERNEL); in __iio_buffer_alloc_sysfs_and_mask() 1675 attrn = 0; in __iio_buffer_alloc_sysfs_and_mask() 1677 attr[attrn++] = &p->dev_attr.attr; in __iio_buffer_alloc_sysfs_and_mask()
|
Completed in 12 milliseconds