Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 12 of 12) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c87 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local
90 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration()
91 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration()
92 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration()
93 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration()
111 long gravity[3]; in inv_get_sensor_type_gravity() local
116 inv_get_gravity(gravity); in inv_get_sensor_type_gravity()
117 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
118 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
119 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
Dresults_holder.c404 long gravity[3]; in inv_get_linear_accel() local
409 inv_get_gravity(gravity); in inv_get_linear_accel()
410 data[0] -= gravity[0] >> 14; in inv_get_linear_accel()
411 data[1] -= gravity[1] >> 14; in inv_get_linear_accel()
412 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c106 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local
110 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration()
111 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration()
112 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration()
113 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration()
135 long gravity[3]; in inv_get_sensor_type_gravity() local
140 inv_get_gravity(gravity); in inv_get_sensor_type_gravity()
141 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
142 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
143 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
Dresults_holder.c483 long gravity[3]; in inv_get_linear_accel() local
488 inv_get_gravity(gravity); in inv_get_linear_accel()
489 data[0] -= gravity[0] >> 14; in inv_get_linear_accel()
490 data[1] -= gravity[1] >> 14; in inv_get_linear_accel()
491 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c154 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local
158 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration()
159 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration()
160 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration()
161 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration()
179 long gravity[3]; in inv_get_sensor_type_gravity() local
182 inv_get_gravity(gravity); in inv_get_sensor_type_gravity()
183 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
184 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
185 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
Dresults_holder.c607 long gravity[3]; in inv_get_linear_accel() local
612 inv_get_gravity(gravity); in inv_get_linear_accel()
613 data[0] -= gravity[0] >> 14; in inv_get_linear_accel()
614 data[1] -= gravity[1] >> 14; in inv_get_linear_accel()
615 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c526 long gravity = axis_sign * (32768L / accel_scale.i) * 1000L; in main() local
527 accel_bias[axis].l -= gravity; in main()
529 gravity = axis_sign * (32768L / accel_scale.i) * 65536L; in main()
531 printf("Self-Test:Gravity = %ld\n", gravity); in main()
533 save_data.factory_accel_bias[axis] -= gravity; in main()
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/
Dmag_disturb.h18 const long *compass, const long *gravity);
/hardware/invensense/60xx/mlsdk/mlutils/
Dmputest.c845 short *bias, long gravity, in inv_test_accel() argument
907 x / gravity, y / gravity, z / gravity); in inv_test_accel()
912 zg = z - g_z_sign * gravity; in inv_test_accel()
920 1.f * bias[0] / gravity, in inv_test_accel()
921 1.f * bias[1] / gravity, in inv_test_accel()
922 1.f * bias[2] / gravity); in inv_test_accel()
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dmag_disturb.h20 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dmag_disturb.h21 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c494 float gravity[3]; in fifo_callback() local
495 inv_get_sensor_type_gravity_float(gravity, NULL, NULL); in fifo_callback()
496 PRINT_3ELM_ARRAY_FLOAT(10, 5, gravity); in fifo_callback()