Searched refs:fs_avl (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 130 struct st_lsm6dsx_fs fs_avl[ST_LSM6DSX_FS_LIST_SIZE]; member 139 .fs_avl[0] = { ST_LSM6DSX_ACC_FS_2G_GAIN, 0x0 }, 140 .fs_avl[1] = { ST_LSM6DSX_ACC_FS_4G_GAIN, 0x2 }, 141 .fs_avl[2] = { ST_LSM6DSX_ACC_FS_8G_GAIN, 0x3 }, 142 .fs_avl[3] = { ST_LSM6DSX_ACC_FS_16G_GAIN, 0x1 }, 149 .fs_avl[0] = { ST_LSM6DSX_GYRO_FS_245_GAIN, 0x0 }, 150 .fs_avl[1] = { ST_LSM6DSX_GYRO_FS_500_GAIN, 0x1 }, 151 .fs_avl[2] = { ST_LSM6DSX_GYRO_FS_1000_GAIN, 0x2 }, 152 .fs_avl[3] = { ST_LSM6DSX_GYRO_FS_2000_GAIN, 0x3 }, 380 if (st_lsm6dsx_fs_table[sensor->id].fs_avl[i].gain == gain) in st_lsm6dsx_set_full_scale() [all …]
|
/linux-4.19.296/drivers/iio/accel/ |
D | st_accel_core.c | 134 .fs_avl = { 213 .fs_avl = { 297 .fs_avl = { 382 .fs_avl = { 456 .fs_avl = { 526 .fs_avl = { 594 .fs_avl = { 657 .fs_avl = { 726 .fs_avl = { 800 .fs_avl = { [all …]
|
/linux-4.19.296/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 135 if (sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_match_fs() 138 if (sensor_settings->fs.fs_avl[i].num == fs) { in st_sensors_match_fs() 164 sdata->sensor_settings->fs.fs_avl[i].value); in st_sensors_set_fullscale() 169 &sdata->sensor_settings->fs.fs_avl[i]; in st_sensors_set_fullscale() 532 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain() 533 (sdata->sensor_settings->fs.fs_avl[i].gain != 0)) { in st_sensors_set_fullscale_by_gain() 542 sdata->sensor_settings->fs.fs_avl[i].num); in st_sensors_set_fullscale_by_gain() 721 if (sdata->sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_sysfs_scale_avail() 724 q = sdata->sensor_settings->fs.fs_avl[i].gain / 1000000; in st_sensors_sysfs_scale_avail() 725 r = sdata->sensor_settings->fs.fs_avl[i].gain % 1000000; in st_sensors_sysfs_scale_avail()
|
/linux-4.19.296/drivers/iio/gyro/ |
D | st_gyro_core.c | 91 .fs_avl = { 169 .fs_avl = { 243 .fs_avl = { 317 .fs_avl = { 471 &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
|
/linux-4.19.296/drivers/iio/magnetometer/ |
D | st_magn_core.c | 138 .fs_avl = { 217 .fs_avl = { 295 .fs_avl = { 357 .fs_avl = { 495 &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()
|
/linux-4.19.296/drivers/iio/pressure/ |
D | st_pressure_core.c | 266 .fs_avl = { 336 .fs_avl = { 389 .fs_avl = { 458 .fs_avl = { 634 &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
|
/linux-4.19.296/include/linux/iio/common/ |
D | st_sensors.h | 105 struct st_sensor_fullscale_avl fs_avl[ST_SENSORS_FULLSCALE_AVL_MAX]; member
|