Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_shub.c59 .fs_table = {
114 .fs_table = {
593 fs_table = &sensor->ext_info.settings->fs_table; in st_lsm6dsx_shub_set_full_scale()
594 if (!fs_table->reg.addr) in st_lsm6dsx_shub_set_full_scale()
597 for (i = 0; i < fs_table->fs_len; i++) { in st_lsm6dsx_shub_set_full_scale()
598 if (fs_table->fs_avl[i].gain == gain) in st_lsm6dsx_shub_set_full_scale()
602 if (i == fs_table->fs_len) in st_lsm6dsx_shub_set_full_scale()
606 fs_table->reg.mask, in st_lsm6dsx_shub_set_full_scale()
607 fs_table->fs_avl[i].val); in st_lsm6dsx_shub_set_full_scale()
698 settings->fs_table.fs_avl[i].gain); in st_lsm6dsx_shub_scale_avail()
[all …]
H A Dst_lsm6dsx_core.c166 .fs_table = {
270 .fs_table = {
436 .fs_table = {
614 .fs_table = {
873 .fs_table = {
1086 .fs_table = {
1265 .fs_table = {
1465 .fs_table = {
1592 fs_table = &sensor->hw->settings->fs_table[sensor->id]; in st_lsm6dsx_set_full_scale()
1598 if (i == fs_table->fs_len) in st_lsm6dsx_set_full_scale()
[all …]
H A Dst_lsm6dsx.h278 struct st_lsm6dsx_fs_table_entry fs_table; member
337 struct st_lsm6dsx_fs_table_entry fs_table[2]; member