Searched refs:micro_g (Results 1 – 2 of 2) sorted by relevance
54 int64_t micro_g = micro_ms2 * 1000000LL / SENSOR_G; in accel_sensor_value_to_q31() local56 return scaled_int64_to_shifted_q31(micro_g, 1000000LL, in accel_sensor_value_to_q31()62 int64_t micro_g = shifted_q31_to_scaled_int64(q, in accel_q31_to_sensor_value() local64 int64_t micro_ms2 = micro_g * SENSOR_G / 1000000LL; in accel_q31_to_sensor_value()
352 int32_t micro_g; in fxos8700_magn_convert() local357 micro_g = raw * 1000; in fxos8700_magn_convert()359 val->val1 = micro_g / 1000000; in fxos8700_magn_convert()360 val->val2 = micro_g % 1000000; in fxos8700_magn_convert()