Home
last modified time | relevance | path

Searched refs:sensor_ms2_to_g (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-3.7.0/tests/drivers/sensor/generic/src/
Dmain.c284 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/
Diis2dh.c172 return iis2dh_set_range(dev, sensor_ms2_to_g(val)); in iis2dh_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2ds12/
Dlis2ds12.c137 return lis2ds12_set_range(dev, sensor_ms2_to_g(val)); in lis2ds12_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688.c140 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/
Dlis2de12.c139 return lis2de12_accel_range_set(dev, sensor_ms2_to_g(val)); in lis2de12_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2du12/
Dlis2du12.c173 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/
Ditds.c138 return itds_accl_range_set(dev, sensor_ms2_to_g(val)); in itds_attr_set()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dux12/
Dlis2dux12.c153 return lis2dux12_set_fs(dev, sensor_ms2_to_g(val)); in lis2dux12_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis328dq/
Diis328dq.c235 return iis328dq_set_range(dev, sensor_ms2_to_g(val)); in iis328dq_dev_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c189 IIS2DLPC_FS_TO_REG(sensor_ms2_to_g(val))); in iis2dlpc_dev_config()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi160/
Dbmi160.c377 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/
Dlis2dh.c282 return lis2dh_acc_range_set(dev, sensor_ms2_to_g(val)); in lis2dh_acc_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dw12/
Dlis2dw12.c151 LIS2DW12_FS_TO_REG(sensor_ms2_to_g(val))); in lis2dw12_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2iclx/
Diis2iclx.c154 return iis2iclx_accel_range_set(dev, sensor_ms2_to_g(val)); in iis2iclx_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.c323 return lsm9ds1_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm9ds1_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl362/
Dadxl362.c252 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/
Dlsm9ds0_mfd.c575 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/
Dism330dhcx.c213 return ism330dhcx_accel_range_set(dev, sensor_ms2_to_g(val)); in ism330dhcx_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsl/
Dlsm6dsl.c228 return lsm6dsl_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dsl_accel_config()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dsensor.h1152 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/
Dlsm6dso.c206 return lsm6dso_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dso_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.c222 return lsm6dsv16x_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dsv16x_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.c200 return lsm6dso16is_accel_range_set(dev, sensor_ms2_to_g(val)); in lsm6dso16is_accel_config()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi08x/
Dbmi08x_accel.c332 return bmi08x_acc_range_set(dev, sensor_ms2_to_g(val)); in bmi08x_acc_config()