Lines Matching defs:data
19 int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data);
21 int iio_pop_from_buffer(struct iio_buffer *buffer, void *data);
24 * iio_push_to_buffers_with_timestamp() - push data and timestamp to buffers
26 * @data: sample data
27 * @timestamp: timestamp for the sample data
29 * Pushes data to the IIO device's buffers. If timestamps are enabled for the
31 * the sample data buffer before pushing it to the device buffers. The sample
32 * data buffer needs to be large enough to hold the additional timestamp
38 void *data, int64_t timestamp)
42 ((int64_t *)data)[ts_offset] = timestamp;
45 return iio_push_to_buffers(indio_dev, data);
49 const void *data, size_t data_sz,