Lines Matching refs:fs_table
59 .fs_table = {
114 .fs_table = {
592 const struct st_lsm6dsx_fs_table_entry *fs_table; in st_lsm6dsx_shub_set_full_scale() local
595 fs_table = &sensor->ext_info.settings->fs_table; in st_lsm6dsx_shub_set_full_scale()
596 if (!fs_table->reg.addr) in st_lsm6dsx_shub_set_full_scale()
599 for (i = 0; i < fs_table->fs_len; i++) { in st_lsm6dsx_shub_set_full_scale()
600 if (fs_table->fs_avl[i].gain == gain) in st_lsm6dsx_shub_set_full_scale()
604 if (i == fs_table->fs_len) in st_lsm6dsx_shub_set_full_scale()
607 err = st_lsm6dsx_shub_write_with_mask(sensor, fs_table->reg.addr, in st_lsm6dsx_shub_set_full_scale()
608 fs_table->reg.mask, in st_lsm6dsx_shub_set_full_scale()
609 fs_table->fs_avl[i].val); in st_lsm6dsx_shub_set_full_scale()
698 for (i = 0; i < settings->fs_table.fs_len; i++) in st_lsm6dsx_shub_scale_avail()
700 settings->fs_table.fs_avl[i].gain); in st_lsm6dsx_shub_scale_avail()
749 sensor->gain = info->fs_table.fs_avl[0].gain; in st_lsm6dsx_shub_alloc_iiodev()