Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_core.c1677 data = ST_LSM6DSX_SHIFT_VAL(val, reg->mask); in st_lsm6dsx_set_odr()
1888 data = ST_LSM6DSX_SHIFT_VAL(val, reg->mask); in st_lsm6dsx_write_event()
2260 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_reset_device()
2269 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_reset_device()
2290 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_init_device()
2300 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_init_device()
2308 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_init_device()
2317 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_init_device()
2327 ST_LSM6DSX_SHIFT_VAL(1, reg->mask)); in st_lsm6dsx_init_device()
2518 ST_LSM6DSX_SHIFT_VAL(irq_active_low, in st_lsm6dsx_irq_setup()
[all …]
A Dst_lsm6dsx_shub.c264 data = ST_LSM6DSX_SHIFT_VAL(enable, hub_settings->master_en.mask); in st_lsm6dsx_shub_master_enable()
297 slv_config = ST_LSM6DSX_SHIFT_VAL(3, aux_sens->mask); in st_lsm6dsx_shub_read()
347 data = ST_LSM6DSX_SHIFT_VAL(1, hub_settings->wr_once.mask); in st_lsm6dsx_shub_write()
836 slv_config = ST_LSM6DSX_SHIFT_VAL(3, aux_sens->mask); in st_lsm6dsx_shub_check_wai()
A Dst_lsm6dsx_buffer.c159 int val = ST_LSM6DSX_SHIFT_VAL(data, dec_reg->mask); in st_lsm6dsx_update_decimators()
181 val = ST_LSM6DSX_SHIFT_VAL(ts_dec, ts_dec_reg->mask); in st_lsm6dsx_update_decimators()
219 val = ST_LSM6DSX_SHIFT_VAL(data, batch_reg->mask); in st_lsm6dsx_set_fifo_odr()
A Dst_lsm6dsx.h77 #define ST_LSM6DSX_SHIFT_VAL(val, mask) (((val) << __ffs(mask)) & (mask)) macro

Completed in 12 milliseconds