Home
last modified time | relevance | path

Searched refs:GAIN_UNIT_XL (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.h20 #define GAIN_UNIT_XL (61LL) macro
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.h33 #define GAIN_UNIT_XL (61LL) macro
Dlis2du12.c162 data->acc_gain = lis2du12_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lis2du12_accel_range_set()
348 lis2du12->acc_gain = lis2du12_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lis2du12_init_chip()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.h33 #define GAIN_UNIT_XL (15LL) macro
Diis2iclx.c142 data->acc_gain = (iis2iclx_accel_fs_sens[fs] * GAIN_UNIT_XL); in iis2iclx_accel_range_set()
563 iis2iclx->acc_gain = (iis2iclx_accel_fs_sens[fs] * GAIN_UNIT_XL); in iis2iclx_init_chip()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx.h28 #define GAIN_UNIT_XL (61LL) macro
Dism330dhcx.c201 data->acc_gain = (ism330dhcx_accel_fs_sens[fs] * GAIN_UNIT_XL); in ism330dhcx_accel_range_set()
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso.h36 #define GAIN_UNIT_XL (61LL) macro
Dlsm6dso.c69 lsm6dso_accel_fs_map[fs] * GAIN_UNIT_XL : in lsm6dso_accel_fs_val_to_gain()
70 lsm6dso_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso_accel_fs_val_to_gain()
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.h33 #define GAIN_UNIT_XL (61LL) macro
Dlsm6dso16is.c184 data->acc_gain = lsm6dso16is_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso16is_accel_range_set()
778 lsm6dso16is->acc_gain = lsm6dso16is_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso16is_init_chip()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_decoder.c115 [LSM6DSV16X_DT_FS_2G] = SENSOR_SCALE_UG_TO_UMS2(GAIN_UNIT_XL),
116 [LSM6DSV16X_DT_FS_4G] = SENSOR_SCALE_UG_TO_UMS2(2 * GAIN_UNIT_XL),
117 [LSM6DSV16X_DT_FS_8G] = SENSOR_SCALE_UG_TO_UMS2(4 * GAIN_UNIT_XL),
118 [LSM6DSV16X_DT_FS_16G] = SENSOR_SCALE_UG_TO_UMS2(8 * GAIN_UNIT_XL),
Dlsm6dsv16x.h45 #define GAIN_UNIT_XL (61LL) macro
Dlsm6dsv16x.c93 return lsm6dsv16x_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dsv16x_calc_accel_gain()