Home
last modified time | relevance | path

Searched refs:acc_gain (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.h45 uint32_t acc_gain; member
Dlsm9ds1.c291 data->acc_gain = lsm9ds1_accel_fs_val_to_gain(fs); in lsm9ds1_accel_range_set()
479 return lsm9ds1_accel_get_channel(chan, val, data, data->acc_gain); in lsm9ds1_accel_channel_get()
607 lsm9ds1->acc_gain = lsm9ds1_accel_fs_val_to_gain(fs); in lsm9ds1_init()
642 .acc_gain = 0, \
/Zephyr-latest/drivers/sensor/st/lis2de12/
Dlis2de12.h66 uint32_t acc_gain; member
Dlis2de12.c128 data->acc_gain = lis2de12_accel_fs_map[fs].gain; in lis2de12_accel_range_set()
263 return lis2de12_accel_get_channel(chan, val, data, data->acc_gain); in lis2de12_accel_channel_get()
347 lis2de12->acc_gain = lis2de12_accel_fs_map[fs].gain; in lis2de12_init_chip()
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.h69 uint32_t acc_gain; member
Dlis2du12.c162 data->acc_gain = lis2du12_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lis2du12_accel_range_set()
284 return lis2du12_accel_get_channel(chan, val, data, data->acc_gain); in lis2du12_accel_channel_get()
348 lis2du12->acc_gain = lis2du12_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lis2du12_init_chip()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.h59 uint32_t acc_gain; member
Diis2iclx.c142 data->acc_gain = (iis2iclx_accel_fs_sens[fs] * GAIN_UNIT_XL); in iis2iclx_accel_range_set()
317 return iis2iclx_accel_get_channel(chan, val, data, data->acc_gain); in iis2iclx_accel_channel_get()
563 iis2iclx->acc_gain = (iis2iclx_accel_fs_sens[fs] * GAIN_UNIT_XL); in iis2iclx_init_chip()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx.h62 uint32_t acc_gain; member
Dism330dhcx.c201 data->acc_gain = (ism330dhcx_accel_fs_sens[fs] * GAIN_UNIT_XL); in ism330dhcx_accel_range_set()
444 return ism330dhcx_accel_get_channel(dev, chan, val, data->acc_gain); in ism330dhcx_accel_channel_get()
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso.h74 uint32_t acc_gain; member
Dlsm6dso.c192 data->acc_gain = lsm6dso_accel_fs_val_to_gain(fs, range_double); in lsm6dso_accel_range_set()
439 return lsm6dso_accel_get_channel(chan, val, data, data->acc_gain); in lsm6dso_accel_channel_get()
781 lsm6dso->acc_gain = lsm6dso_accel_fs_val_to_gain(fs, cfg->accel_range & ACCEL_RANGE_DOUBLE); in lsm6dso_init_chip()
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.h74 uint32_t acc_gain; member
Dlsm6dso16is.c184 data->acc_gain = lsm6dso16is_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso16is_accel_range_set()
466 return lsm6dso16is_accel_get_channel(chan, val, data, data->acc_gain); in lsm6dso16is_accel_channel_get()
778 lsm6dso16is->acc_gain = lsm6dso16is_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso16is_init_chip()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.h125 uint32_t acc_gain; member
Dlsm6dsv16x.c220 data->acc_gain = lsm6dsv16x_calc_accel_gain(fs); in lsm6dsv16x_accel_range_set()
671 return lsm6dsv16x_accel_get_channel(chan, val, data, data->acc_gain); in lsm6dsv16x_accel_channel_get()
1017 lsm6dsv16x->acc_gain = lsm6dsv16x_calc_accel_gain(fs); in lsm6dsv16x_init_chip()