Home
last modified time | relevance | path

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

/linux-4.19.296/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.c1083 int i, ret, attrcount = 0; in iio_device_add_info_mask_type() local
1100 attrcount++; in iio_device_add_info_mask_type()
1103 return attrcount; in iio_device_add_info_mask_type()
1111 int i, ret, attrcount = 0; in iio_device_add_info_mask_type_avail() local
1134 attrcount++; in iio_device_add_info_mask_type_avail()
1137 return attrcount; in iio_device_add_info_mask_type_avail()
1143 int ret, attrcount = 0; in iio_device_add_channel_sysfs() local
1153 attrcount += ret; in iio_device_add_channel_sysfs()
1161 attrcount += ret; in iio_device_add_channel_sysfs()
1168 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()
1241 int ret, i, attrn, attrcount, attrcount_orig = 0; in iio_buffer_alloc_sysfs_and_mask() local
1256 attrcount = 0; in iio_buffer_alloc_sysfs_and_mask()
1258 while (buffer->attrs[attrcount] != NULL) in iio_buffer_alloc_sysfs_and_mask()
1259 attrcount++; in iio_buffer_alloc_sysfs_and_mask()
1262 attr = kcalloc(attrcount + ARRAY_SIZE(iio_buffer_attrs) + 1, in iio_buffer_alloc_sysfs_and_mask()
[all …]