Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_buffer.c109 if (!hw->iio_devs[i]) in st_lsm6dsx_get_max_min_odr()
112 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr()
143 if (!hw->iio_devs[i]) in st_lsm6dsx_update_decimators()
146 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_decimators()
244 if (!hw->iio_devs[i]) in st_lsm6dsx_update_watermark()
293 if (!hw->iio_devs[i]) in st_lsm6dsx_reset_hw_ts()
296 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_reset_hw_ts()
379 if (hw->iio_devs[ST_LSM6DSX_ID_EXT0]) in st_lsm6dsx_read_fifo()
461 hw->iio_devs[ST_LSM6DSX_ID_GYRO], in st_lsm6dsx_read_fifo()
468 hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_read_fifo()
[all …]
A 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()
A Dst_lsm6dsx_core.c1656 if (!hw->iio_devs[i] || i == sensor->id) in st_lsm6dsx_set_odr()
2400 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2410 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2575 if (!hw->iio_devs[i]) in st_lsm6dsx_sw_buffers_setup()
2579 hw->iio_devs[i], NULL, in st_lsm6dsx_sw_buffers_setup()
2642 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
2684 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
2707 if (!hw->iio_devs[i]) in st_lsm6dsx_suspend()
2710 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_suspend()
2741 if (!hw->iio_devs[i]) in st_lsm6dsx_resume()
[all …]
A Dst_lsm6dsx.h427 struct iio_dev *iio_devs[ST_LSM6DSX_ID_MAX]; member

Completed in 12 milliseconds