Searched refs:fifo_entries (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/iio/accel/ |
| H A D | adxl367_i2c.c | 26 unsigned int fifo_entries) in adxl367_i2c_read_fifo() argument 31 fifo_entries * sizeof(*fifo_buf)); in adxl367_i2c_read_fifo()
|
| H A D | adxl367.c | 744 u16 *fifo_entries) in adxl367_get_status() argument 757 *fifo_entries = get_unaligned_le16(&st->status_buf[1]); in adxl367_get_status() 782 u16 fifo_entries) in adxl367_push_fifo_data() argument 791 fifo_entries -= fifo_entries % st->fifo_set_size; in adxl367_push_fifo_data() 793 ret = st->ops->read_fifo(st->context, st->fifo_buf, fifo_entries); in adxl367_push_fifo_data() 799 for (i = 0; i < fifo_entries; i += st->fifo_set_size) in adxl367_push_fifo_data() 809 u16 fifo_entries; in adxl367_irq_handler() local 814 ret = adxl367_get_status(st, &status, &fifo_entries); in adxl367_irq_handler() 819 handled |= adxl367_push_fifo_data(indio_dev, status, fifo_entries); in adxl367_irq_handler()
|
| H A D | adxl367_spi.c | 42 unsigned int fifo_entries) in adxl367_read_fifo() argument 47 st->fifo_xfer[1].len = fifo_entries * sizeof(*fifo_buf); in adxl367_read_fifo()
|
| H A D | adxl367.h | 17 unsigned int fifo_entries);
|
| H A D | adxl372.c | 642 u16 *fifo_entries) in adxl372_get_status() argument 662 *fifo_entries = val & 0x3FF; in adxl372_get_status() 705 u16 fifo_entries; in adxl372_trigger_handler() local 708 ret = adxl372_get_status(st, &status1, &status2, &fifo_entries); in adxl372_trigger_handler() 722 fifo_entries -= st->fifo_set_size; in adxl372_trigger_handler() 727 fifo_entries * sizeof(u16)); in adxl372_trigger_handler() 732 for (i = 0; i < fifo_entries; i += st->fifo_set_size) { in adxl372_trigger_handler()
|
| H A D | adxl380.c | 904 static int adxl380_get_fifo_entries(struct adxl380_state *st, u16 *fifo_entries) in adxl380_get_fifo_entries() argument 913 *fifo_entries = st->transf_buf[0] | ((BIT(0) & st->transf_buf[1]) << 8); in adxl380_get_fifo_entries() 950 u16 fifo_entries; in adxl380_irq_handler() local 965 ret = adxl380_get_fifo_entries(st, &fifo_entries); in adxl380_irq_handler() 969 fifo_entries = rounddown(fifo_entries, st->fifo_set_size); in adxl380_irq_handler() 971 sizeof(*st->fifo_buf) * fifo_entries); in adxl380_irq_handler() 974 for (i = 0; i < fifo_entries; i += st->fifo_set_size) in adxl380_irq_handler()
|