Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H 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()
482 hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_read_fifo()
489 hw->iio_devs[ST_LSM6DSX_ID_EXT0], in st_lsm6dsx_read_fifo()
[all …]
H 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()
H A Dst_lsm6dsx_core.c1679 if (!hw->iio_devs[i] || i == sensor->id) in st_lsm6dsx_set_odr()
2423 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2433 iio_push_event(hw->iio_devs[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_report_motion_event()
2598 if (!hw->iio_devs[i]) in st_lsm6dsx_sw_buffers_setup()
2602 hw->iio_devs[i], NULL, in st_lsm6dsx_sw_buffers_setup()
2732 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
2777 if (!hw->iio_devs[i]) in st_lsm6dsx_probe()
2800 if (!hw->iio_devs[i]) in st_lsm6dsx_suspend()
2803 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_suspend()
2834 if (!hw->iio_devs[i]) in st_lsm6dsx_resume()
[all …]
H A Dst_lsm6dsx.h440 struct iio_dev *iio_devs[ST_LSM6DSX_ID_MAX]; member