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.c161 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
162 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
163 .fs_avl[2] = { IIO_G_TO_M_S_2(244000), 0x3 },
164 .fs_avl[3] = { IIO_G_TO_M_S_2(732000), 0x1 },
173 .fs_avl[0] = { IIO_DEGREE_TO_RAD(8750000), 0x0 },
174 .fs_avl[1] = { IIO_DEGREE_TO_RAD(17500000), 0x1 },
175 .fs_avl[2] = { IIO_DEGREE_TO_RAD(70000000), 0x3 },
263 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
264 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
265 .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.h136 struct st_lsm6dsx_fs fs_avl[ST_LSM6DSX_FS_LIST_SIZE]; member
/drivers/iio/accel/
Dst_accel_core.c152 .fs_avl = {
231 .fs_avl = {
315 .fs_avl = {
400 .fs_avl = {
474 .fs_avl = {
544 .fs_avl = {
612 .fs_avl = {
675 .fs_avl = {
744 .fs_avl = {
818 .fs_avl = {
[all …]
/drivers/iio/common/st_sensors/
Dst_sensors_core.c121 if (sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_match_fs()
124 if (sensor_settings->fs.fs_avl[i].num == fs) { in st_sensors_match_fs()
149 sdata->sensor_settings->fs.fs_avl[i].value); in st_sensors_set_fullscale()
153 sdata->current_fullscale = &sdata->sensor_settings->fs.fs_avl[i]; in st_sensors_set_fullscale()
507 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
508 (sdata->sensor_settings->fs.fs_avl[i].gain != 0)) { in st_sensors_set_fullscale_by_gain()
517 sdata->sensor_settings->fs.fs_avl[i].num); in st_sensors_set_fullscale_by_gain()
684 if (sdata->sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_sysfs_scale_avail()
687 q = sdata->sensor_settings->fs.fs_avl[i].gain / 1000000; in st_sensors_sysfs_scale_avail()
688 r = sdata->sensor_settings->fs.fs_avl[i].gain % 1000000; in st_sensors_sysfs_scale_avail()
/drivers/iio/pressure/
Dst_pressure_core.c257 .fs_avl = {
327 .fs_avl = {
380 .fs_avl = {
449 .fs_avl = {
518 .fs_avl = {
700 press_data->current_fullscale = &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
/drivers/iio/gyro/
Dst_gyro_core.c100 .fs_avl = {
178 .fs_avl = {
252 .fs_avl = {
326 .fs_avl = {
498 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
/drivers/iio/magnetometer/
Dst_magn_core.c175 .fs_avl = {
254 .fs_avl = {
333 .fs_avl = {
400 .fs_avl = {
452 .fs_avl = {
632 mdata->current_fullscale = &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()