Searched refs:gyro_sensor (Results 1 – 1 of 1) sorted by relevance
375 struct st_lsm6dsx_sensor *acc_sensor, *gyro_sensor, *ext_sensor = NULL; in st_lsm6dsx_read_fifo() local400 gyro_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_GYRO]); in st_lsm6dsx_read_fifo()431 gyro_sip = gyro_sensor->sip; in st_lsm6dsx_read_fifo()438 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()481 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()486 if (gyro_sensor->samples_to_discard > 0) in st_lsm6dsx_read_fifo()487 gyro_sensor->samples_to_discard--; in st_lsm6dsx_read_fifo()492 gyro_sensor->ts_ref + ts); in st_lsm6dsx_read_fifo()