Searched refs:fullscale (Results 1 – 1 of 1) sorted by relevance
88 static int32_t bosch_bmi323_lsb_from_fullscale(int64_t fullscale) in bosch_bmi323_lsb_from_fullscale() argument90 return (fullscale * 1000) / INT16_MAX; in bosch_bmi323_lsb_from_fullscale()241 int64_t fullscale = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_acc_full_scale() local251 if (fullscale <= 2000) { in bosch_bmi323_driver_api_set_acc_full_scale()253 } else if (fullscale <= 4000) { in bosch_bmi323_driver_api_set_acc_full_scale()255 } else if (fullscale <= 8000) { in bosch_bmi323_driver_api_set_acc_full_scale()343 int32_t fullscale = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_gyro_full_scale() local353 if (fullscale <= 125000) { in bosch_bmi323_driver_api_set_gyro_full_scale()355 } else if (fullscale <= 250000) { in bosch_bmi323_driver_api_set_gyro_full_scale()357 } else if (fullscale <= 500000) { in bosch_bmi323_driver_api_set_gyro_full_scale()[all …]