Home
last modified time | relevance | path

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

/drivers/iio/
Dindustrialio-event.c352 unsigned int attrcount = 0; in iio_device_add_event() local
391 attrcount++; in iio_device_add_event()
394 return attrcount; in iio_device_add_event()
400 int ret = 0, i, attrcount = 0; in iio_device_add_event_sysfs() local
412 attrcount += ret; in iio_device_add_event_sysfs()
419 attrcount += ret; in iio_device_add_event_sysfs()
426 attrcount += ret; in iio_device_add_event_sysfs()
433 attrcount += ret; in iio_device_add_event_sysfs()
435 ret = attrcount; in iio_device_add_event_sysfs()
441 int j, ret, attrcount = 0; in __iio_add_event_config_attrs() local
[all …]
Dindustrialio-core.c1087 int i, ret, attrcount = 0; in iio_device_add_info_mask_type() local
1104 attrcount++; in iio_device_add_info_mask_type()
1107 return attrcount; in iio_device_add_info_mask_type()
1115 int i, ret, attrcount = 0; in iio_device_add_info_mask_type_avail() local
1138 attrcount++; in iio_device_add_info_mask_type_avail()
1141 return attrcount; in iio_device_add_info_mask_type_avail()
1147 int ret, attrcount = 0; in iio_device_add_channel_sysfs() local
1157 attrcount += ret; in iio_device_add_channel_sysfs()
1165 attrcount += ret; in iio_device_add_channel_sysfs()
1172 attrcount += ret; in iio_device_add_channel_sysfs()
[all …]
Dindustrialio-buffer.c449 int ret, attrcount = 0; in iio_buffer_add_channel_sysfs() local
462 attrcount++; in iio_buffer_add_channel_sysfs()
473 attrcount++; in iio_buffer_add_channel_sysfs()
494 attrcount++; in iio_buffer_add_channel_sysfs()
495 ret = attrcount; in iio_buffer_add_channel_sysfs()
1226 int ret, i, attrn, attrcount, attrcount_orig = 0; in iio_buffer_alloc_sysfs_and_mask() local
1241 attrcount = 0; in iio_buffer_alloc_sysfs_and_mask()
1243 while (buffer->attrs[attrcount] != NULL) in iio_buffer_alloc_sysfs_and_mask()
1244 attrcount++; in iio_buffer_alloc_sysfs_and_mask()
1247 attr = kcalloc(attrcount + ARRAY_SIZE(iio_buffer_attrs) + 1, in iio_buffer_alloc_sysfs_and_mask()
[all …]