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 | 757 u16 *fifo_entries) in adxl367_get_status() argument 770 *fifo_entries = get_unaligned_le16(&st->status_buf[1]); in adxl367_get_status() 795 u16 fifo_entries) in adxl367_push_fifo_data() argument 804 fifo_entries -= fifo_entries % st->fifo_set_size; in adxl367_push_fifo_data() 806 ret = st->ops->read_fifo(st->context, st->fifo_buf, fifo_entries); in adxl367_push_fifo_data() 812 for (i = 0; i < fifo_entries; i += st->fifo_set_size) in adxl367_push_fifo_data() 822 u16 fifo_entries; in adxl367_irq_handler() local 827 ret = adxl367_get_status(st, &status, &fifo_entries); in adxl367_irq_handler() 832 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 | adxl372.c | 576 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()
|
H A D | adxl367.h | 17 unsigned int fifo_entries);
|
H A D | adxl380.c | 915 static int adxl380_get_fifo_entries(struct adxl380_state *st, u16 *fifo_entries) in adxl380_get_fifo_entries() argument 924 *fifo_entries = st->transf_buf[0] | ((BIT(0) & st->transf_buf[1]) << 8); in adxl380_get_fifo_entries() 961 u16 fifo_entries; in adxl380_irq_handler() local 976 ret = adxl380_get_fifo_entries(st, &fifo_entries); in adxl380_irq_handler() 980 for (i = 0; i < fifo_entries; i += st->fifo_set_size) { in adxl380_irq_handler()
|