Searched refs:attrcount (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-event.c | 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 [all …]
|
D | industrialio-core.c | 1146 int i, ret, attrcount = 0; in iio_device_add_info_mask_type() local 1163 attrcount++; in iio_device_add_info_mask_type() 1166 return attrcount; in iio_device_add_info_mask_type() 1175 int i, ret, attrcount = 0; in iio_device_add_info_mask_type_avail() local 1200 attrcount++; in iio_device_add_info_mask_type_avail() 1203 return attrcount; in iio_device_add_info_mask_type_avail() 1210 int ret, attrcount = 0; in iio_device_add_channel_sysfs() local 1220 attrcount += ret; in iio_device_add_channel_sysfs() 1228 attrcount += ret; in iio_device_add_channel_sysfs() 1235 attrcount += ret; in iio_device_add_channel_sysfs() [all …]
|
D | industrialio-buffer.c | 453 int ret, attrcount = 0; in iio_buffer_add_channel_sysfs() local 465 attrcount++; in iio_buffer_add_channel_sysfs() 476 attrcount++; in iio_buffer_add_channel_sysfs() 497 attrcount++; in iio_buffer_add_channel_sysfs() 498 ret = attrcount; in iio_buffer_add_channel_sysfs() 1272 int ret, i, attrn, attrcount; in __iio_buffer_alloc_sysfs_and_mask() local 1275 attrcount = 0; in __iio_buffer_alloc_sysfs_and_mask() 1277 while (buffer->attrs[attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask() 1278 attrcount++; in __iio_buffer_alloc_sysfs_and_mask() 1281 attr = kcalloc(attrcount + ARRAY_SIZE(iio_buffer_attrs) + 1, in __iio_buffer_alloc_sysfs_and_mask() [all …]
|