Searched refs:iio_buffer (Results 1 – 15 of 15) sorted by relevance
/external/libiio/src/ |
D | buffer.c | 42 struct iio_buffer * iio_device_create_buffer(const struct iio_device *dev, in iio_device_create_buffer() 46 struct iio_buffer *buf; in iio_device_create_buffer() 112 void iio_buffer_destroy(struct iio_buffer *buffer) in iio_buffer_destroy() 121 int iio_buffer_get_poll_fd(struct iio_buffer *buffer) in iio_buffer_get_poll_fd() 126 int iio_buffer_set_blocking_mode(struct iio_buffer *buffer, bool blocking) in iio_buffer_set_blocking_mode() 131 ssize_t iio_buffer_refill(struct iio_buffer *buffer) in iio_buffer_refill() 152 ssize_t iio_buffer_push(struct iio_buffer *buffer) in iio_buffer_push() 188 ssize_t iio_buffer_push_partial(struct iio_buffer *buffer, size_t samples_count) in iio_buffer_push_partial() 199 ssize_t iio_buffer_foreach_sample(struct iio_buffer *buffer, in iio_buffer_foreach_sample() 250 void * iio_buffer_start(const struct iio_buffer *buffer) in iio_buffer_start() [all …]
|
D | iio.h | 83 struct iio_buffer; 1219 struct iio_buffer *buffer, void *dst, size_t len); 1230 struct iio_buffer *buffer, void *dst, size_t len); 1241 struct iio_buffer *buffer, const void *src, size_t len); 1252 struct iio_buffer *buffer, const void *src, size_t len); 1293 const struct iio_buffer *buf); 1305 __api struct iio_buffer * iio_device_create_buffer(const struct iio_device *dev, 1313 __api void iio_buffer_destroy(struct iio_buffer *buf); 1323 __api int iio_buffer_get_poll_fd(struct iio_buffer *buf); 1336 __api int iio_buffer_set_blocking_mode(struct iio_buffer *buf, bool blocking); [all …]
|
D | mainpage.dox | 16 The basic bricks of the libiio API are the iio_context, iio_device, iio_channel and iio_buffer clas… 24 - A iio_device object may be associated with one iio_buffer object, and a iio_buffer object is asso… 120 … uploading samples to the hardware is done using the functions that apply to the iio_buffer object. 125 Note that the channels will really be enabled or disabled when the iio_buffer object is created. 129 Once the channels have been enabled, and triggers assigned (for triggered buffers) the iio_buffer o… 138 Libiio offers various ways to interact with the iio_buffer object. 142 it is possible to copy the samples directly into the iio_buffer object using `memcpy`: 150 Using `memcpy` to copy samples from the iio_buffer is <b>not recommended</b>. 151 When capturing samples from an input device, you cannot assume that the iio_buffer object contains … 194 functions to read samples from the iio_buffer to a second byte array. [all …]
|
D | channel.c | 595 struct iio_buffer *buf, void *dst, size_t len) in iio_channel_read_raw() 610 struct iio_buffer *buf, void *dst, size_t len) in iio_channel_read() 626 struct iio_buffer *buf, const void *src, size_t len) in iio_channel_write_raw() 641 struct iio_buffer *buf, const void *src, size_t len) in iio_channel_write()
|
D | iio-private.h | 214 struct iio_buffer { struct
|
/external/libiio/include/ |
D | iio.h | 83 struct iio_buffer; 1219 struct iio_buffer *buffer, void *dst, size_t len); 1230 struct iio_buffer *buffer, void *dst, size_t len); 1241 struct iio_buffer *buffer, const void *src, size_t len); 1252 struct iio_buffer *buffer, const void *src, size_t len); 1293 const struct iio_buffer *buf); 1305 __api struct iio_buffer * iio_device_create_buffer(const struct iio_device *dev, 1313 __api void iio_buffer_destroy(struct iio_buffer *buf); 1323 __api int iio_buffer_get_poll_fd(struct iio_buffer *buf); 1336 __api int iio_buffer_set_blocking_mode(struct iio_buffer *buf, bool blocking); [all …]
|
/external/libiio/src/bindings/matlab/ |
D | libiio_if_daq2.m | 50 iio_buffer = {}; variable 275 obj.iio_buffer = calllib(obj.libname, 'iio_device_create_buffer', obj.iio_dev,... 338 …obj.iio_buffer = calllib(obj.libname, 'iio_device_create_buffer', obj.iio_dev, obj.iio_buf_size, 0… 368 if(~isempty(obj.iio_buffer)) 369 calllib(obj.libname, 'iio_buffer_destroy', obj.iio_buffer); 374 obj.iio_buffer = {}; 485 calllib(obj.libname, 'iio_buffer_refill', obj.iio_buffer); 486 buffer = calllib(obj.libname, 'iio_buffer_first', obj.iio_buffer, obj.iio_channel{1}); 514 calllib(obj.libname, 'iio_buffer_destroy', obj.iio_buffer); 515 obj.iio_buffer = {}; [all …]
|
D | libiio_if.m | 50 iio_buffer = {}; variable 271 obj.iio_buffer = calllib(obj.libname, 'iio_device_create_buffer', obj.iio_dev,... 334 …obj.iio_buffer = calllib(obj.libname, 'iio_device_create_buffer', obj.iio_dev, obj.iio_buf_size, 0… 364 if(~isempty(obj.iio_buffer)) 365 calllib(obj.libname, 'iio_buffer_destroy', obj.iio_buffer); 370 obj.iio_buffer = {}; 485 calllib(obj.libname, 'iio_buffer_refill', obj.iio_buffer); 486 buffer = calllib(obj.libname, 'iio_buffer_first', obj.iio_buffer, obj.iio_channel{1}); 514 calllib(obj.libname, 'iio_buffer_destroy', obj.iio_buffer); 515 obj.iio_buffer = {}; [all …]
|
/external/libiio/src/examples/ |
D | ad9361-iiostream.c | 62 static struct iio_buffer *rxbuf = NULL; 63 static struct iio_buffer *txbuf = NULL;
|
D | ad9371-iiostream.c | 60 static struct iio_buffer *rxbuf = NULL; 61 static struct iio_buffer *txbuf = NULL;
|
D | dummy-iiostream.c | 108 static struct iio_buffer *rxbuf;
|
/external/libiio/src/tests/ |
D | iio_adi_xflow_check.c | 211 struct iio_buffer *buffer; in main()
|
D | iio_readdev.c | 69 static struct iio_buffer *buffer;
|
D | iio_writedev.c | 80 static struct iio_buffer *buffer;
|
/external/libiio/src/iiod/ |
D | ops.c | 106 struct iio_buffer *buf;
|