Searched refs:cur_sensor (Results 1 – 2 of 2) sorted by relevance
258 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_update_watermark() local269 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_watermark()271 if (!(hw->enable_mask & BIT(cur_sensor->id))) in st_lsm6dsx_update_watermark()274 cur_watermark = (cur_sensor == sensor) ? watermark in st_lsm6dsx_update_watermark()275 : cur_sensor->watermark; in st_lsm6dsx_update_watermark()
448 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_shub_config_channels() local461 cur_sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_shub_config_channels()462 if (!(enable_mask & BIT(cur_sensor->id))) in st_lsm6dsx_shub_config_channels()465 settings = cur_sensor->ext_info.settings; in st_lsm6dsx_shub_config_channels()