Lines Matching refs:attrcount
392 unsigned int attrcount = 0; in iio_device_add_event() local
432 attrcount++; in iio_device_add_event()
435 return attrcount; in iio_device_add_event()
476 int ret = 0, i, attrcount = 0; in iio_device_add_event_sysfs() local
488 attrcount += ret; in iio_device_add_event_sysfs()
495 attrcount += ret; in iio_device_add_event_sysfs()
502 attrcount += ret; in iio_device_add_event_sysfs()
509 attrcount += ret; in iio_device_add_event_sysfs()
514 attrcount += ret; in iio_device_add_event_sysfs()
516 ret = attrcount; in iio_device_add_event_sysfs()
522 int j, ret, attrcount = 0; in __iio_add_event_config_attrs() local
530 attrcount += ret; in __iio_add_event_config_attrs()
532 return attrcount; in __iio_add_event_config_attrs()
577 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
598 attrcount = attrcount_orig; in iio_device_register_eventset()
603 attrcount += ret; in iio_device_register_eventset()
607 ev_int->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset()