Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_buffer.c353 struct st_lsm6dsx_sensor *acc_sensor, *gyro_sensor, *ext_sensor = NULL; in st_lsm6dsx_read_fifo() local
377 acc_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_read_fifo()
410 acc_sip = acc_sensor->sip; in st_lsm6dsx_read_fifo()
422 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
473 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
478 if (acc_sensor->samples_to_discard > 0) in st_lsm6dsx_read_fifo()
479 acc_sensor->samples_to_discard--; in st_lsm6dsx_read_fifo()
484 acc_sensor->ts_ref + ts); in st_lsm6dsx_read_fifo()