Searched refs:sf (Results 1 - 4 of 4) sorted by relevance

/hardware/invensense/60xx/mlsdk/mllite/
H A DmlSetGyroBias.c56 int sf; local
60 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim;
62 sf = 2000;
75 biasTmp[i] = (long)(biasTmp[i] * 1.39882274201861f / sf);
110 int sf, i; local
116 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim;
118 sf = 2000;
122 biasTmp = -bias[i] / sf;
H A Dml.c777 unsigned long sf; local
871 sf = (1073741824L / inv_obj.accel_sens);
873 sf = 0;
875 regs[0] = (unsigned char)((sf >> 8) & 0xff);
876 regs[1] = (unsigned char)(sf & 0xff);
931 int sf = 0; local
1008 //sf = (gyroSens) * (0.5 * (pi/180) / 200.0) * 16384
1020 sf = (long)((long long)23832619764371LL / inv_obj.gyro_sens);
1022 sf = 0;
1025 result = inv_set_mpu_memory(KEY_D_0_24, 4, inv_int32_to_big8(sf, reg
[all...]
H A Dmlarray.c2133 long sf = 0; local
2139 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim;
2141 sf = 2000;
2145 biasTmp = -inv_obj.gyro_bias[i] / sf;
2284 long sf; local
2292 sf = -inv_obj.temp_slope[i] / 1118;
2293 if (sf > 127) {
2294 sf -= 256;
2296 regs[i] = (unsigned char)sf;
H A Dmldl.c687 long sf; local
689 sf = (2000L * 131) / mldlCfg.gyro_sens_trim;
694 inv_obj.gyro_bias[ii] = -offset[ii] * sf;

Completed in 160 milliseconds