Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c131 if (!hw->iio_devs[i]) in st_lsm6dsx_get_max_min_odr()
134 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr()
165 if (!hw->iio_devs[i]) in st_lsm6dsx_update_decimators()
168 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_decimators()
266 if (!hw->iio_devs[i]) in st_lsm6dsx_update_watermark()
269 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_watermark()
315 if (!hw->iio_devs[i]) in st_lsm6dsx_reset_hw_ts()
318 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
323 sensor->ts_ref = iio_get_time_ns(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
399 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()
458 if (!hw->iio_devs[i]) in st_lsm6dsx_shub_config_channels()
461 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_shub_config_channels()
640 ref_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_write_raw()
830 sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_check_wai()
900 hw->iio_devs[id] = st_lsm6dsx_shub_alloc_iiodev(hw, id, in st_lsm6dsx_shub_probe()
903 if (!hw->iio_devs[id]) in st_lsm6dsx_shub_probe()
906 sensor = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_shub_probe()
Dst_lsm6dsx_core.c1660 struct st_lsm6dsx_sensor *ref = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_check_odr_dependency()
1698 ref_sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_set_odr()
1700 if (!hw->iio_devs[i] || i == sensor->id) in st_lsm6dsx_set_odr()
2431 timestamp = iio_get_time_ns(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_report_motion_event()
2434 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2444 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2454 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2609 if (!hw->iio_devs[i]) in st_lsm6dsx_sw_buffers_setup()
2613 hw->iio_devs[i], NULL, in st_lsm6dsx_sw_buffers_setup()
2675 hw->iio_devs[i] = st_lsm6dsx_alloc_iiodev(hw, i, name); in st_lsm6dsx_probe()
[all …]
Dst_lsm6dsx.h442 struct iio_dev *iio_devs[ST_LSM6DSX_ID_MAX]; member