Home
last modified time | relevance | path

Searched refs:fs_table (Results 1 – 3 of 3) sorted by relevance

/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c59 .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()
[all …]
Dst_lsm6dsx_core.c155 .fs_table = {
257 .fs_table = {
423 .fs_table = {
601 .fs_table = {
834 .fs_table = {
1043 .fs_table = {
1208 const struct st_lsm6dsx_fs_table_entry *fs_table; in st_lsm6dsx_set_full_scale() local
1212 fs_table = &sensor->hw->settings->fs_table[sensor->id]; in st_lsm6dsx_set_full_scale()
1213 for (i = 0; i < fs_table->fs_len; i++) { in st_lsm6dsx_set_full_scale()
1214 if (fs_table->fs_avl[i].gain == gain) in st_lsm6dsx_set_full_scale()
[all …]
Dst_lsm6dsx.h254 struct st_lsm6dsx_fs_table_entry fs_table; member
313 struct st_lsm6dsx_fs_table_entry fs_table[2]; member