Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c172 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
173 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
174 .fs_avl[2] = { IIO_G_TO_M_S_2(244000), 0x3 },
175 .fs_avl[3] = { IIO_G_TO_M_S_2(732000), 0x1 },
184 .fs_avl[0] = { IIO_DEGREE_TO_RAD(8750000), 0x0 },
185 .fs_avl[1] = { IIO_DEGREE_TO_RAD(17500000), 0x1 },
186 .fs_avl[2] = { IIO_DEGREE_TO_RAD(70000000), 0x3 },
276 .fs_avl[0] = { IIO_G_TO_M_S_2(61000), 0x0 },
277 .fs_avl[1] = { IIO_G_TO_M_S_2(122000), 0x2 },
278 .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] = {
598 if (fs_table->fs_avl[i].gain == gain) 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()
747 sensor->gain = info->fs_table.fs_avl[0].gain; in st_lsm6dsx_shub_alloc_iiodev()
Dst_lsm6dsx.h158 struct st_lsm6dsx_fs fs_avl[ST_LSM6DSX_FS_LIST_SIZE]; member
/linux-6.6.21/drivers/iio/accel/
Dst_accel_core.c152 .fs_avl = {
231 .fs_avl = {
315 .fs_avl = {
400 .fs_avl = {
475 .fs_avl = {
546 .fs_avl = {
614 .fs_avl = {
677 .fs_avl = {
746 .fs_avl = {
820 .fs_avl = {
[all …]
/linux-6.6.21/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()
478 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
479 (sdata->sensor_settings->fs.fs_avl[i].gain != 0)) { in st_sensors_set_fullscale_by_gain()
488 sdata->sensor_settings->fs.fs_avl[i].num); in st_sensors_set_fullscale_by_gain()
648 if (sdata->sensor_settings->fs.fs_avl[i].num == 0) in st_sensors_sysfs_scale_avail()
651 q = sdata->sensor_settings->fs.fs_avl[i].gain / 1000000; in st_sensors_sysfs_scale_avail()
652 r = sdata->sensor_settings->fs.fs_avl[i].gain % 1000000; in st_sensors_sysfs_scale_avail()
/linux-6.6.21/drivers/iio/pressure/
Dst_pressure_core.c257 .fs_avl = {
327 .fs_avl = {
380 .fs_avl = {
449 .fs_avl = {
518 .fs_avl = {
588 .fs_avl = {
767 press_data->current_fullscale = &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
/linux-6.6.21/drivers/iio/magnetometer/
Dst_magn_core.c175 .fs_avl = {
254 .fs_avl = {
334 .fs_avl = {
401 .fs_avl = {
454 .fs_avl = {
628 mdata->current_fullscale = &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()
/linux-6.6.21/drivers/iio/gyro/
Dst_gyro_core.c100 .fs_avl = {
178 .fs_avl = {
252 .fs_avl = {
326 .fs_avl = {
492 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
/linux-6.6.21/include/linux/iio/common/
Dst_sensors.h119 struct st_sensor_fullscale_avl fs_avl[ST_SENSORS_FULLSCALE_AVL_MAX]; member