Searched refs:acc_gain (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/drivers/sensor/st/lsm9ds1/ |
D | lsm9ds1.h | 45 uint32_t acc_gain; member
|
D | lsm9ds1.c | 291 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/ |
D | lis2de12.h | 66 uint32_t acc_gain; member
|
D | lis2de12.c | 128 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/ |
D | lis2du12.h | 69 uint32_t acc_gain; member
|
D | lis2du12.c | 162 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/ |
D | iis2iclx.h | 59 uint32_t acc_gain; member
|
D | iis2iclx.c | 142 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/ |
D | ism330dhcx.h | 62 uint32_t acc_gain; member
|
D | ism330dhcx.c | 201 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/ |
D | lsm6dso.h | 74 uint32_t acc_gain; member
|
D | lsm6dso.c | 192 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/ |
D | lsm6dso16is.h | 74 uint32_t acc_gain; member
|
D | lsm6dso16is.c | 184 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/ |
D | lsm6dsv16x.h | 125 uint32_t acc_gain; member
|
D | lsm6dsv16x.c | 220 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()
|