Searched refs:inv_q30_mult (Results 1 – 6 of 6) sorted by relevance
/hardware/invensense/mlsdk/mllite/ |
D | mlBiasNoMotion.c | 188 inv_q30_mult(((1L << 30) - gain), inv_obj->accel_lpf[kk]); in MLAccelMotionDetection() 189 inv_obj->accel_lpf[kk] += inv_q30_mult(gain, accel[kk]); in MLAccelMotionDetection() 339 inv_q30_mult(biasTmp2[0], in MLPollMotionStatus() 341 inv_q30_mult(biasTmp2[1], in MLPollMotionStatus() 343 inv_q30_mult(biasTmp2[2], inv_obj->gyro_orient[i + 6]); in MLPollMotionStatus() 345 inv_obj->gyro_bias[0] = inv_q30_mult(biasTmp[0], 1501974482L); in MLPollMotionStatus() 346 inv_obj->gyro_bias[1] = inv_q30_mult(biasTmp[1], 1501974482L); in MLPollMotionStatus() 347 inv_obj->gyro_bias[2] = inv_q30_mult(biasTmp[2], 1501974482L); in MLPollMotionStatus()
|
D | mlSetGyroBias.c | 69 biasTmp[i] = inv_q30_mult(biasTmp2[0], inv_obj.gyro_orient[i]) + in inv_convert_bias() 70 inv_q30_mult(biasTmp2[1], inv_obj.gyro_orient[i + 3]) + in inv_convert_bias() 71 inv_q30_mult(biasTmp2[2], inv_obj.gyro_orient[i + 6]); in inv_convert_bias()
|
D | mlMathFunc.h | 44 long inv_q30_mult(long a, long b);
|
D | compass.c | 350 data[0] = inv_q30_mult(data[0], inv_obj.compass_asa[0]); in inv_get_compass_data() 351 data[1] = inv_q30_mult(data[1], inv_obj.compass_asa[1]); in inv_get_compass_data() 352 data[2] = inv_q30_mult(data[2], inv_obj.compass_asa[2]); in inv_get_compass_data()
|
D | mlFIFO.c | 643 inv_q30_mult((data[kk] << 16), in inv_read_and_process_fifo() 646 inv_q30_mult((data[kk] << 15), fifo_scale[REF_ACCEL + kk]); in inv_read_and_process_fifo() 751 inv_q30_mult(fifo_obj.decoded[kk], fifo_scale[kk]); in inv_process_fifo_packet() 770 return 2906830L + inv_q30_mult((long)tempReg << 16, 3294697L); in inv_decode_temperature() 774 return 2462307L + inv_q30_mult((long)tempReg << 16, 2977653L); in inv_decode_temperature() 778 return 5383314L + inv_q30_mult((long)tempReg << 16, 3834792L); in inv_decode_temperature() 910 inv_q30_mult(fifo_obj.decoded[REF_RAW + 1], in inv_get_gyro_sensor() 913 inv_q30_mult(fifo_obj.decoded[REF_RAW + 2], in inv_get_gyro_sensor() 916 inv_q30_mult(fifo_obj.decoded[REF_RAW + 3], in inv_get_gyro_sensor()
|
D | mlMathFunc.c | 88 long inv_q30_mult(long a, long b) in inv_q30_mult() function
|