Home
last modified time | relevance | path

Searched refs:nb_buffer_attrs (Results 1 – 4 of 4) sorted by relevance

/external/libiio/src/
Ddevice.c107 buffer_attrs_len = malloc(dev->nb_buffer_attrs * in iio_device_get_xml()
112 buffer_attrs = malloc(dev->nb_buffer_attrs * sizeof(*buffer_attrs)); in iio_device_get_xml()
116 for (k = 0; k < dev->nb_buffer_attrs; k++) { in iio_device_get_xml()
176 for (i = 0; i < dev->nb_buffer_attrs; i++) { in iio_device_get_xml()
293 return dev->nb_buffer_attrs; in iio_device_get_buffer_attrs_count()
299 if (index >= dev->nb_buffer_attrs) in iio_device_get_buffer_attr()
309 for (i = 0; i < dev->nb_buffer_attrs; i++) { in iio_device_find_buffer_attr()
515 for (i = 0; i < dev->nb_buffer_attrs; i++) in free_device()
517 if (dev->nb_buffer_attrs) in free_device()
Dxml.c102 (1 + dev->nb_buffer_attrs) * sizeof(char *)); in add_attr_to_device()
121 attrs[dev->nb_buffer_attrs++] = name; in add_attr_to_device()
Diio-private.h202 unsigned int nb_buffer_attrs; member
Dlocal.c537 nb = dev->nb_buffer_attrs; in local_read_all_dev_attrs()
628 nb = dev->nb_buffer_attrs; in local_write_all_dev_attrs()
1596 attrs = realloc(dev->buffer_attrs, (1 + dev->nb_buffer_attrs) * sizeof(char *)); in add_buffer_attr()
1602 attrs[dev->nb_buffer_attrs++] = attr; in add_buffer_attr()
1715 qsort(dev->buffer_attrs, dev->nb_buffer_attrs, sizeof(char *), in add_buffer_attributes()