Home
last modified time | relevance | path

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

/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c108 if (!hw->iio_devs[i]) in st_lsm6dsx_get_max_min_odr()
111 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr()
142 if (!hw->iio_devs[i]) in st_lsm6dsx_update_decimators()
145 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_decimators()
243 if (!hw->iio_devs[i]) in st_lsm6dsx_update_watermark()
246 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_watermark()
292 if (!hw->iio_devs[i]) in st_lsm6dsx_reset_hw_ts()
295 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
300 sensor->ts_ref = iio_get_time_ns(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
376 acc_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_read_fifo()
[all …]
Dst_lsm6dsx_shub.c161 sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_wait_complete()
460 if (!hw->iio_devs[i]) in st_lsm6dsx_shub_config_channels()
463 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_shub_config_channels()
642 ref_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_write_raw()
832 sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_check_wai()
902 hw->iio_devs[id] = st_lsm6dsx_shub_alloc_iiodev(hw, id, in st_lsm6dsx_shub_probe()
905 if (!hw->iio_devs[id]) in st_lsm6dsx_shub_probe()
908 sensor = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_shub_probe()
Dst_lsm6dsx_core.c1445 struct st_lsm6dsx_sensor *ref = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_check_odr_dependency()
1483 ref_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_set_odr()
1485 if (!hw->iio_devs[i] || i == sensor->id) in st_lsm6dsx_set_odr()
2227 timestamp = iio_get_time_ns(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_report_motion_event()
2230 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2240 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2250 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2385 hw->iio_devs[i] = st_lsm6dsx_alloc_iiodev(hw, i, name); in st_lsm6dsx_probe()
2386 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
2416 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
[all …]
Dst_lsm6dsx.h410 struct iio_dev *iio_devs[ST_LSM6DSX_ID_MAX]; member