Home
last modified time | relevance | path

Searched refs:current_fullscale (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/iio/magnetometer/
Dst_magn_core.c524 (mdata->current_fullscale->gain2 != 0)) in st_magn_read_raw()
525 *val2 = mdata->current_fullscale->gain2; in st_magn_read_raw()
527 *val2 = mdata->current_fullscale->gain; in st_magn_read_raw()
626 mdata->current_fullscale = &mdata->sensor_settings->fs.fs_avl[0]; in st_magn_common_probe()
/Linux-v6.1/drivers/iio/pressure/
Dst_pressure_core.c662 *val2 = press_data->current_fullscale->gain; in st_press_read_raw()
666 *val2 = press_data->current_fullscale->gain2; in st_press_read_raw()
677 press_data->current_fullscale->gain2; in st_press_read_raw()
767 press_data->current_fullscale = &press_data->sensor_settings->fs.fs_avl[0]; in st_press_common_probe()
/Linux-v6.1/drivers/iio/gyro/
Dst_gyro_core.c393 *val2 = gdata->current_fullscale->gain; in st_gyro_read_raw()
492 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
/Linux-v6.1/drivers/iio/common/st_sensors/
Dst_sensors_core.c153 sdata->current_fullscale = &sdata->sensor_settings->fs.fs_avl[i]; in st_sensors_set_fullscale()
392 if (sdata->current_fullscale) { in st_sensors_init_sensor()
394 sdata->current_fullscale->num); in st_sensors_init_sensor()
/Linux-v6.1/drivers/iio/accel/
Dst_accel_core.c1196 *val = adata->current_fullscale->gain / 1000000; in st_accel_read_raw()
1197 *val2 = adata->current_fullscale->gain % 1000000; in st_accel_read_raw()
1440 adata->current_fullscale = &adata->sensor_settings->fs.fs_avl[0]; in st_accel_common_probe()
/Linux-v6.1/include/linux/iio/common/
Dst_sensors.h246 struct st_sensor_fullscale_avl *current_fullscale; member