Lines Matching refs:lsb
94 static int64_t bosch_bmi323_value_to_micro(int16_t value, int32_t lsb) in bosch_bmi323_value_to_micro() argument
96 return ((int64_t)value) * lsb; in bosch_bmi323_value_to_micro()
101 int32_t lsb) in bosch_bmi323_value_to_sensor_value() argument
103 int64_t ll_value = (int64_t)value * lsb; in bosch_bmi323_value_to_sensor_value()
898 int32_t lsb; in bosch_bmi323_driver_api_fetch_acc_samples() local
922 lsb = bosch_bmi323_lsb_from_fullscale(data->acc_full_scale); in bosch_bmi323_driver_api_fetch_acc_samples()
925 bosch_bmi323_value_to_sensor_value(&data->acc_samples[2], buf[2], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
926 bosch_bmi323_value_to_sensor_value(&data->acc_samples[1], buf[1], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
927 bosch_bmi323_value_to_sensor_value(&data->acc_samples[0], buf[0], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
940 int32_t lsb; in bosch_bmi323_driver_api_fetch_gyro_samples() local
965 lsb = bosch_bmi323_lsb_from_fullscale(data->gyro_full_scale); in bosch_bmi323_driver_api_fetch_gyro_samples()
968 bosch_bmi323_value_to_sensor_value(&data->gyro_samples[2], buf[2], lsb); in bosch_bmi323_driver_api_fetch_gyro_samples()
969 bosch_bmi323_value_to_sensor_value(&data->gyro_samples[1], buf[1], lsb); in bosch_bmi323_driver_api_fetch_gyro_samples()
970 bosch_bmi323_value_to_sensor_value(&data->gyro_samples[0], buf[0], lsb); in bosch_bmi323_driver_api_fetch_gyro_samples()