Lines Matching defs:buffer
179 __le16 buffer[8] __aligned(IIO_DMA_MINALIGN);
393 * buffer. If this turns out to be an issue we can later change logic
473 ret = regmap_bulk_read(data->regmap, chan->address, &data->buffer[0],
478 *val = le16_to_cpu(data->buffer[0]);
590 * based on samples acquired when buffer was last enabled.
607 __le16 buffer[KX022A_FIFO_LENGTH * 3];
616 dev_err(dev, "Error reading buffer status\n");
677 * Here we leave some old samples to the buffer. We need to
678 * adjust the timestamp to match the first sample in the buffer
687 &buffer[0], fifo_bytes);
692 __le16 *sam = &buffer[i * 3];
818 /* Enable buffer */
844 * trigger enable and the hardware buffer is not used but we just update
865 ret = regmap_bulk_read(data->regmap, KX022A_REG_XOUT_L, data->buffer,
870 iio_push_to_buffers_with_timestamp(idev, data->buffer, data->timestamp);