Lines Matching refs:attrcount
356 unsigned int attrcount = 0; in iio_device_add_event() local
395 attrcount++; in iio_device_add_event()
398 return attrcount; in iio_device_add_event()
404 int ret = 0, i, attrcount = 0; in iio_device_add_event_sysfs() local
416 attrcount += ret; in iio_device_add_event_sysfs()
423 attrcount += ret; in iio_device_add_event_sysfs()
430 attrcount += ret; in iio_device_add_event_sysfs()
437 attrcount += ret; in iio_device_add_event_sysfs()
439 ret = attrcount; in iio_device_add_event_sysfs()
445 int j, ret, attrcount = 0; in __iio_add_event_config_attrs() local
453 attrcount += ret; in __iio_add_event_config_attrs()
455 return attrcount; in __iio_add_event_config_attrs()
482 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
503 attrcount = attrcount_orig; in iio_device_register_eventset()
508 attrcount += ret; in iio_device_register_eventset()
512 ev_int->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset()