/Zephyr-Core-3.7.0/tests/drivers/sensor/generic/src/ |
D | main.c | 284 zassert_equal(sensor_ms2_to_g(&data), 1, in ZTEST() 289 zassert_equal(sensor_ms2_to_g(&data), -1, in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dh/ |
D | iis2dh.c | 172 return iis2dh_set_range(dev, sensor_ms2_to_g(val)); in iis2dh_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2ds12/ |
D | lis2ds12.c | 137 return lis2ds12_set_range(dev, sensor_ms2_to_g(val)); in lis2ds12_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688.c | 140 new_config.accel_fs = icm42688_accel_fs_to_reg(sensor_ms2_to_g(val)); in icm42688_attr_set()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2de12/ |
D | lis2de12.c | 139 return lis2de12_accel_range_set(dev, sensor_ms2_to_g(val)); in lis2de12_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2du12/ |
D | lis2du12.c | 173 return lis2du12_accel_range_set(dev, sensor_ms2_to_g(val)); in lis2du12_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_itds/ |
D | itds.c | 138 return itds_accl_range_set(dev, sensor_ms2_to_g(val)); in itds_attr_set()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dux12/ |
D | lis2dux12.c | 153 return lis2dux12_set_fs(dev, sensor_ms2_to_g(val)); in lis2dux12_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 235 return iis328dq_set_range(dev, sensor_ms2_to_g(val)); in iis328dq_dev_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc.c | 189 IIS2DLPC_FS_TO_REG(sensor_ms2_to_g(val))); in iis2dlpc_dev_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi160/ |
D | bmi160.c | 377 int32_t range_g = sensor_ms2_to_g(val); in bmi160_acc_range_set() 479 accel_g = sensor_ms2_to_g(xyz_calib_value); in bmi160_acc_calibrate()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dh/ |
D | lis2dh.c | 282 return lis2dh_acc_range_set(dev, sensor_ms2_to_g(val)); in lis2dh_acc_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dw12/ |
D | lis2dw12.c | 151 LIS2DW12_FS_TO_REG(sensor_ms2_to_g(val))); in lis2dw12_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2iclx/ |
D | iis2iclx.c | 154 return iis2iclx_accel_range_set(dev, sensor_ms2_to_g(val)); in iis2iclx_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds1/ |
D | lsm9ds1.c | 323 return lsm9ds1_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm9ds1_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl362/ |
D | adxl362.c | 252 range_reg = adxl362_range_to_reg_val(sensor_ms2_to_g(val)); in axl362_acc_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.c | 575 return lsm9ds0_mfd_accel_set_fs(dev, sensor_ms2_to_g(val)); in lsm9ds0_mfd_attr_set_accel()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx.c | 213 return ism330dhcx_accel_range_set(dev, sensor_ms2_to_g(val)); in ism330dhcx_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl.c | 228 return lsm6dsl_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dsl_accel_config()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | sensor.h | 1152 static inline int32_t sensor_ms2_to_g(const struct sensor_value *ms2) in sensor_ms2_to_g() function
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso/ |
D | lsm6dso.c | 206 return lsm6dso_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dso_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x.c | 222 return lsm6dsv16x_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dsv16x_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is.c | 200 return lsm6dso16is_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dso16is_accel_config()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_accel.c | 332 return bmi08x_acc_range_set(dev, sensor_ms2_to_g(val)); in bmi08x_acc_config()
|