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.c156 .fs_table = {
260 .fs_table = {
426 .fs_table = {
604 .fs_table = {
845 .fs_table = {
1054 .fs_table = {
1220 const struct st_lsm6dsx_fs_table_entry *fs_table; in st_lsm6dsx_set_full_scale() local
1224 fs_table = &sensor->hw->settings->fs_table[sensor->id]; in st_lsm6dsx_set_full_scale()
1225 for (i = 0; i < fs_table->fs_len; i++) { in st_lsm6dsx_set_full_scale()
1226 if (fs_table->fs_avl[i].gain == gain) in st_lsm6dsx_set_full_scale()
[all …]
Dst_lsm6dsx.h260 struct st_lsm6dsx_fs_table_entry fs_table; member
317 struct st_lsm6dsx_fs_table_entry fs_table[2]; member