Lines Matching refs:iio_devs
93 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr()
116 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_decimators()
200 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_watermark()
242 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
247 sensor->ts_ref = iio_get_time_ns(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
313 acc_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_read_fifo()
314 gyro_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_GYRO]); in st_lsm6dsx_read_fifo()
383 hw->iio_devs[ST_LSM6DSX_ID_GYRO], in st_lsm6dsx_read_fifo()
387 hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_read_fifo()
579 iio_device_attach_buffer(hw->iio_devs[i], buffer); in st_lsm6dsx_fifo_setup()
580 hw->iio_devs[i]->modes |= INDIO_BUFFER_SOFTWARE; in st_lsm6dsx_fifo_setup()
581 hw->iio_devs[i]->setup_ops = &st_lsm6dsx_buffer_ops; in st_lsm6dsx_fifo_setup()