Home
last modified time | relevance | path

Searched refs:fifo_entries (Results 1 – 5 of 5) sorted by relevance

/drivers/iio/accel/
Dadxl367_i2c.c26 unsigned int fifo_entries) in adxl367_i2c_read_fifo() argument
31 fifo_entries * sizeof(*fifo_buf)); in adxl367_i2c_read_fifo()
Dadxl367.c787 u16 *fifo_entries) in adxl367_get_status() argument
800 *fifo_entries = get_unaligned_le16(&st->status_buf[1]); in adxl367_get_status()
825 u16 fifo_entries) in adxl367_push_fifo_data() argument
834 fifo_entries -= fifo_entries % st->fifo_set_size; in adxl367_push_fifo_data()
836 ret = st->ops->read_fifo(st->context, st->fifo_buf, fifo_entries); in adxl367_push_fifo_data()
842 for (i = 0; i < fifo_entries; i += st->fifo_set_size) in adxl367_push_fifo_data()
852 u16 fifo_entries; in adxl367_irq_handler() local
857 ret = adxl367_get_status(st, &status, &fifo_entries); in adxl367_irq_handler()
862 handled |= adxl367_push_fifo_data(indio_dev, status, fifo_entries); in adxl367_irq_handler()
Dadxl367_spi.c42 unsigned int fifo_entries) in adxl367_read_fifo() argument
47 st->fifo_xfer[1].len = fifo_entries * sizeof(*fifo_buf); in adxl367_read_fifo()
Dadxl372.c576 u16 *fifo_entries) in adxl372_get_status() argument
596 *fifo_entries = val & 0x3FF; in adxl372_get_status()
640 u16 fifo_entries; in adxl372_trigger_handler() local
643 ret = adxl372_get_status(st, &status1, &status2, &fifo_entries); in adxl372_trigger_handler()
657 fifo_entries -= st->fifo_set_size; in adxl372_trigger_handler()
662 fifo_entries * sizeof(u16)); in adxl372_trigger_handler()
667 for (i = 0; i < fifo_entries; i += st->fifo_set_size) { in adxl372_trigger_handler()
Dadxl367.h17 unsigned int fifo_entries);