Lines Matching refs:attrcount
360 unsigned int attrcount = 0; in iio_device_add_event() local
400 attrcount++; in iio_device_add_event()
403 return attrcount; in iio_device_add_event()
409 int ret = 0, i, attrcount = 0; in iio_device_add_event_sysfs() local
421 attrcount += ret; in iio_device_add_event_sysfs()
428 attrcount += ret; in iio_device_add_event_sysfs()
435 attrcount += ret; in iio_device_add_event_sysfs()
442 attrcount += ret; in iio_device_add_event_sysfs()
444 ret = attrcount; in iio_device_add_event_sysfs()
450 int j, ret, attrcount = 0; in __iio_add_event_config_attrs() local
458 attrcount += ret; in __iio_add_event_config_attrs()
460 return attrcount; in __iio_add_event_config_attrs()
505 int ret = 0, attrcount_orig = 0, attrcount, attrn; in iio_device_register_eventset() local
526 attrcount = attrcount_orig; in iio_device_register_eventset()
531 attrcount += ret; in iio_device_register_eventset()
535 ev_int->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset()