Lines Matching refs:attrcount
1245 int i, ret, attrcount = 0; in iio_device_add_info_mask_type() local
1263 attrcount++; in iio_device_add_info_mask_type()
1266 return attrcount; in iio_device_add_info_mask_type()
1275 int i, ret, attrcount = 0; in iio_device_add_info_mask_type_avail() local
1301 attrcount++; in iio_device_add_info_mask_type_avail()
1304 return attrcount; in iio_device_add_info_mask_type_avail()
1311 int ret, attrcount = 0; in iio_device_add_channel_sysfs() local
1321 attrcount += ret; in iio_device_add_channel_sysfs()
1329 attrcount += ret; in iio_device_add_channel_sysfs()
1336 attrcount += ret; in iio_device_add_channel_sysfs()
1344 attrcount += ret; in iio_device_add_channel_sysfs()
1351 attrcount += ret; in iio_device_add_channel_sysfs()
1358 attrcount += ret; in iio_device_add_channel_sysfs()
1365 attrcount += ret; in iio_device_add_channel_sysfs()
1372 attrcount += ret; in iio_device_add_channel_sysfs()
1377 attrcount += ret; in iio_device_add_channel_sysfs()
1400 attrcount++; in iio_device_add_channel_sysfs()
1404 return attrcount; in iio_device_add_channel_sysfs()
1547 int i, ret = 0, attrcount, attrn, attrcount_orig = 0; in iio_device_register_sysfs() local
1557 attrcount = attrcount_orig; in iio_device_register_sysfs()
1573 attrcount += ret; in iio_device_register_sysfs()
1580 attrcount++; in iio_device_register_sysfs()
1582 attrcount++; in iio_device_register_sysfs()
1584 attrcount++; in iio_device_register_sysfs()
1587 kcalloc(attrcount + 1, in iio_device_register_sysfs()