Lines Matching refs:inv_obj
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()
143 inv_error_t MLSetGyroBiasCB(struct inv_obj_t * inv_obj) in MLSetGyroBiasCB() argument
154 if (inv_obj->motion_state == INV_NO_MOTION) { in MLSetGyroBiasCB()
156 inv_obj->motion_state = INV_MOTION; in MLSetGyroBiasCB()
157 inv_obj->flags[INV_MOTION_STATE_CHANGE] = INV_MOTION; in MLSetGyroBiasCB()
164 if (inv_obj->motion_state == INV_MOTION) { in MLSetGyroBiasCB()
166 inv_obj->motion_state = INV_NO_MOTION; in MLSetGyroBiasCB()
167 inv_obj->got_no_motion_bias = TRUE; in MLSetGyroBiasCB()
168 inv_obj->flags[INV_MOTION_STATE_CHANGE] = INV_NO_MOTION; in MLSetGyroBiasCB()
183 sgb.motion = inv_obj.motion_state; in inv_enable_set_bias()