Home
last modified time | relevance | path

Searched refs:fs_avl (Results 1 – 8 of 8) sorted by relevance

/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c160 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
161 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
162 .fs_avl[2] = { IIO_G_TO_M_S_2(244000), 0x3 },
163 .fs_avl[3] = { IIO_G_TO_M_S_2(732000), 0x1 },
172 .fs_avl[0] = { IIO_DEGREE_TO_RAD(8750000), 0x0 },
173 .fs_avl[1] = { IIO_DEGREE_TO_RAD(17500000), 0x1 },
174 .fs_avl[2] = { IIO_DEGREE_TO_RAD(70000000), 0x3 },
262 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
263 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
264 .fs_avl[2] = { IIO_G_TO_M_S_2(244000), 0x3 },
[all …]
Dst_lsm6dsx_shub.c60 .fs_avl[0] = {
119 .fs_avl[0] = {
123 .fs_avl[1] = {
127 .fs_avl[2] = {
131 .fs_avl[3] = {
600 if (fs_table->fs_avl[i].gain == gain) in st_lsm6dsx_shub_set_full_scale()
609 fs_table->fs_avl[i].val); in st_lsm6dsx_shub_set_full_scale()
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()
Dst_lsm6dsx.h131 struct st_lsm6dsx_fs fs_avl[ST_LSM6DSX_FS_LIST_SIZE]; member
/drivers/iio/accel/
Dst_accel_core.c133 .fs_avl = {
212 .fs_avl = {
296 .fs_avl = {
381 .fs_avl = {
455 .fs_avl = {
525 .fs_avl = {
593 .fs_avl = {
656 .fs_avl = {
725 .fs_avl = {
799 .fs_avl = {
[all …]
/drivers/iio/common/st_sensors/
Dst_sensors_core.c120 if (sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_match_fs()
123 if (sensor_settings->fs.fs_avl[i].num == fs) { in st_sensors_match_fs()
148 sdata->sensor_settings->fs.fs_avl[i].value); in st_sensors_set_fullscale()
152 sdata->current_fullscale = &sdata->sensor_settings->fs.fs_avl[i]; in st_sensors_set_fullscale()
506 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
507 (sdata->sensor_settings->fs.fs_avl[i].gain != 0)) { in st_sensors_set_fullscale_by_gain()
516 sdata->sensor_settings->fs.fs_avl[i].num); in st_sensors_set_fullscale_by_gain()
683 if (sdata->sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_sysfs_scale_avail()
686 q = sdata->sensor_settings->fs.fs_avl[i].gain / 1000000; in st_sensors_sysfs_scale_avail()
687 r = sdata->sensor_settings->fs.fs_avl[i].gain % 1000000; in st_sensors_sysfs_scale_avail()
/drivers/iio/pressure/
Dst_pressure_core.c263 .fs_avl = {
333 .fs_avl = {
386 .fs_avl = {
455 .fs_avl = {
524 .fs_avl = {
706 press_data->current_fullscale = &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
/drivers/iio/gyro/
Dst_gyro_core.c88 .fs_avl = {
166 .fs_avl = {
240 .fs_avl = {
314 .fs_avl = {
477 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
/drivers/iio/magnetometer/
Dst_magn_core.c135 .fs_avl = {
214 .fs_avl = {
293 .fs_avl = {
359 .fs_avl = {
505 mdata->current_fullscale = &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()